public final class NullableSmallIntVector.Accessor extends BaseValueVector.BaseAccessor
Constructor and Description |
---|
Accessor() |
Modifier and Type | Method and Description |
---|---|
short |
get(int index)
Get the element at the specified position.
|
void |
get(int index,
NullableSmallIntHolder holder) |
Short |
getObject(int index)
Get the Java Object representation of the element at the specified position.
|
int |
getValueCount() |
boolean |
isNull(int index) |
int |
isSet(int index) |
void |
reset() |
getNullCount
public short 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 void get(int index, NullableSmallIntHolder holder)
public Short getObject(int index)
ValueVector.Accessor
index
- Index of the value to getpublic int getValueCount()
public void reset()
Copyright © 2017 The Apache Software Foundation. All rights reserved.