public final class NullableIntervalYearVector.Accessor extends BaseValueVector.BaseAccessor
| Constructor and Description |
|---|
NullableIntervalYearVector.Accessor() |
| Modifier and Type | Method and Description |
|---|---|
int |
get(int index)
Get the element at the specified position.
|
void |
get(int index,
NullableIntervalYearHolder holder) |
StringBuilder |
getAsStringBuilder(int index) |
org.joda.time.Period |
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 valueNullValueException - if the value is nullpublic boolean isNull(int index)
ValueVector.AccessorisNull in interface ValueVector.AccessorisNull in class BaseValueVector.BaseAccessorpublic int isSet(int index)
public void get(int index,
NullableIntervalYearHolder holder)
public org.joda.time.Period getObject(int index)
ValueVector.Accessorindex - Index of the value to getpublic StringBuilder getAsStringBuilder(int index)
public int getValueCount()
ValueVector.Accessorpublic void reset()
Copyright © 2016 The Apache Software Foundation. All rights reserved.