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() |
getNullCountclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNullCountpublic byte[] get(int index)
index - position of the valuepublic boolean isNull(int index)
isNull in interface ValueVector.AccessorisNull in class BaseValueVector.BaseAccessorindex - the index to check for nullitypublic int isSet(int index)
public long getStartEnd(int index)
public int getValueLength(int index)
getValueLength in interface VariableWidthVector.VariableWidthAccessorpublic 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()
getValueCount in interface ValueVector.Accessorpublic void reset()
Copyright © 2017 The Apache Software Foundation. All rights reserved.