public final class NullableVarCharVector.Accessor extends BaseValueVector.BaseAccessor implements VariableWidthVector.VariableWidthAccessor
| Constructor and Description |
|---|
NullableVarCharVector.Accessor() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
get(int index)
Get the element at the specified position.
|
void |
get(int index,
NullableVarCharHolder holder) |
Text |
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 valueNullValueException - if the value is nullpublic boolean isNull(int index)
ValueVector.AccessorisNull in interface ValueVector.AccessorisNull in class BaseValueVector.BaseAccessorpublic int isSet(int index)
public long getStartEnd(int index)
public int getValueLength(int index)
getValueLength in interface VariableWidthVector.VariableWidthAccessorpublic 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 void reset()
Copyright © 2016 The Apache Software Foundation. All rights reserved.