public class BitVector.Accessor extends BaseValueVector.BaseAccessor
| Constructor and Description |
|---|
Accessor() |
| Modifier and Type | Method and Description |
|---|---|
int |
get(int index)
Get the byte holding the desired bit, then mask all other bits.
|
void |
get(int index,
org.apache.drill.exec.expr.holders.BitHolder holder) |
void |
get(int index,
org.apache.drill.exec.expr.holders.NullableBitHolder holder) |
Boolean |
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.
|
public final int get(int index)
index - position of the bit in the vectorpublic boolean isNull(int index)
ValueVector.AccessorisNull in interface ValueVector.AccessorisNull in class BaseValueVector.BaseAccessorpublic final Boolean getObject(int index)
ValueVector.Accessorindex - Index of the value to getpublic final int getValueCount()
ValueVector.Accessorpublic final void get(int index,
org.apache.drill.exec.expr.holders.BitHolder holder)
public final void get(int index,
org.apache.drill.exec.expr.holders.NullableBitHolder holder)
Copyright © 2021 The Apache Software Foundation. All rights reserved.