public final class VarBinaryVector.Accessor extends BaseValueVector.BaseAccessor implements VariableWidthVector.VariableWidthAccessor
| Constructor and Description |
|---|
VarBinaryVector.Accessor() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
get(int index) |
void |
get(int index,
NullableVarBinaryHolder holder) |
void |
get(int index,
VarBinaryHolder holder) |
byte[] |
getObject(int index)
Get the Java Object representation of the element at the specified position.
|
UInt4Vector |
getOffsetVector() |
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.
|
public long getStartEnd(int index)
public byte[] get(int index)
public int getValueLength(int index)
getValueLength in interface VariableWidthVector.VariableWidthAccessorpublic void get(int index,
VarBinaryHolder holder)
public void get(int index,
NullableVarBinaryHolder holder)
public byte[] getObject(int index)
ValueVector.AccessorgetObject in interface ValueVector.Accessorindex - Index of the value to getpublic int getValueCount()
ValueVector.AccessorgetValueCount in interface ValueVector.Accessorpublic boolean isNull(int index)
ValueVector.AccessorisNull in interface ValueVector.AccessorisNull in class BaseValueVector.BaseAccessorpublic UInt4Vector getOffsetVector()
Copyright © 2016 The Apache Software Foundation. All rights reserved.