public final class NullableVarBinaryVector.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,
NullableVarBinaryHolder holder) |
byte[] |
getObject(int index)
Get the Java Object representation of the element at the specified position.
|
long |
getStartEnd(int index) |
int |
getValueCount() |
int |
getValueLength(int index) |
boolean |
isNull(int index) |
int |
isSet(int index) |
void |
reset() |
getNullCount
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNullCount
public byte[] get(int index)
index
- position of the valuepublic boolean isNull(int index)
isNull
in interface ValueVector.Accessor
isNull
in class BaseValueVector.BaseAccessor
index
- the index to check for nullitypublic int isSet(int index)
public long getStartEnd(int index)
public int getValueLength(int index)
getValueLength
in interface VariableWidthVector.VariableWidthAccessor
public void get(int index, NullableVarBinaryHolder holder)
public byte[] getObject(int index)
ValueVector.Accessor
getObject
in interface ValueVector.Accessor
index
- Index of the value to getpublic int getValueCount()
getValueCount
in interface ValueVector.Accessor
public void reset()
Copyright © 2017 The Apache Software Foundation. All rights reserved.