public final class NullableDecimalVector.Accessor extends BaseValueVector.BaseAccessor
Constructor and Description |
---|
Accessor() |
Modifier and Type | Method and Description |
---|---|
ArrowBuf |
get(int index)
Get the element at the specified position.
|
void |
get(int index,
NullableDecimalHolder holder) |
BigDecimal |
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 ArrowBuf 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, NullableDecimalHolder holder)
public BigDecimal 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.