public final class Float4Vector.Accessor extends BaseValueVector.BaseAccessor
Constructor and Description |
---|
Accessor() |
Modifier and Type | Method and Description |
---|---|
float |
get(int index) |
void |
get(int index,
Float4Holder holder) |
void |
get(int index,
NullableFloat4Holder holder) |
Float |
getObject(int index)
Get the Java Object representation of the element at the specified position.
|
float |
getPrimitiveObject(int index) |
long |
getTwoAsLong(int index) |
int |
getValueCount() |
boolean |
isNull(int index) |
getNullCount
public int getValueCount()
public boolean isNull(int index)
isNull
in interface ValueVector.Accessor
isNull
in class BaseValueVector.BaseAccessor
index
- the index to check for nullitypublic float get(int index)
public long getTwoAsLong(int index)
public Float getObject(int index)
ValueVector.Accessor
index
- Index of the value to getpublic float getPrimitiveObject(int index)
public void get(int index, Float4Holder holder)
public void get(int index, NullableFloat4Holder holder)
Copyright © 2017 The Apache Software Foundation. All rights reserved.