public final class VarCharVector.Accessor extends BaseValueVector.BaseAccessor implements VariableWidthVector.VariableWidthAccessor
| Constructor and Description |
|---|
VarCharVector.Accessor() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
get(int index) |
void |
get(int index,
NullableVarCharHolder holder) |
void |
get(int index,
VarCharHolder holder) |
Text |
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,
VarCharHolder holder)
public void get(int index,
NullableVarCharHolder holder)
public Text 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.