public final class NullableVar16CharVector.Accessor extends BaseValueVector.BaseAccessor implements VariableWidthVector.VariableWidthAccessor
Constructor and Description |
---|
Accessor() |
Modifier and Type | Method and Description |
---|---|
byte[] |
get(int index)
Get the element at the specified position.
|
void |
get(int index,
NullableVar16CharHolder holder) |
String |
getObject(int index)
Get the Java Object representation of the element at the specified position.
|
long |
getStartEnd(int index) |
int |
getValueCount()
Returns the number of values that is stored in this vector.
|
int |
getValueLength(int index) |
boolean |
isNull(int index)
Returns true if the value at the given index is null, false otherwise.
|
int |
isSet(int index) |
void |
reset() |
public byte[] get(int index)
index
- position of the valueIllegalStateException
- if the value is nullpublic boolean isNull(int index)
ValueVector.Accessor
isNull
in interface ValueVector.Accessor
isNull
in class BaseValueVector.BaseAccessor
public int isSet(int index)
public long getStartEnd(int index)
public int getValueLength(int index)
getValueLength
in interface VariableWidthVector.VariableWidthAccessor
public void get(int index, NullableVar16CharHolder holder)
public String getObject(int index)
ValueVector.Accessor
getObject
in interface ValueVector.Accessor
index
- Index of the value to getpublic int getValueCount()
ValueVector.Accessor
getValueCount
in interface ValueVector.Accessor
public void reset()
Copyright © 1970 The Apache Software Foundation. All rights reserved.