public final class NullableIntVector.Accessor extends BaseValueVector.BaseAccessor
Constructor and Description |
---|
Accessor() |
Modifier and Type | Method and Description |
---|---|
int |
get(int index)
Get the element at the specified position.
|
void |
get(int index,
NullableIntHolder holder) |
Integer |
getObject(int index)
Get the Java Object representation of the element at the specified position.
|
int |
getValueCount()
Returns the number of values that is stored in this vector.
|
boolean |
isNull(int index)
Returns true if the value at the given index is null, false otherwise.
|
int |
isSet(int index) |
void |
reset() |
public int get(int index)
index
- position of the valueIllegalStateException
- if the value is nullpublic boolean isNull(int index)
ValueVector.Accessor
isNull
in interface ValueVector.Accessor
isNull
in class BaseValueVector.BaseAccessor
public int isSet(int index)
public void get(int index, NullableIntHolder holder)
public Integer getObject(int index)
ValueVector.Accessor
index
- Index of the value to getpublic int getValueCount()
ValueVector.Accessor
public void reset()
Copyright © 1970 The Apache Software Foundation. All rights reserved.