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