public class SelectionVector2 extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
static int |
RECORD_SIZE |
| Constructor and Description |
|---|
SelectionVector2(BufferAllocator allocator) |
SelectionVector2(BufferAllocator allocator,
DrillBuf buf,
int count) |
| Modifier and Type | Method and Description |
|---|---|
void |
allocateNew(int size) |
boolean |
allocateNewSafe(int size) |
void |
clear() |
SelectionVector2 |
clone() |
void |
close() |
DrillBuf |
getBuffer() |
DrillBuf |
getBuffer(boolean clear) |
int |
getCount() |
long |
getDataAddr() |
char |
getIndex(int index) |
void |
setBuffer(DrillBuf bufferHandle) |
void |
setIndex(int index,
char value) |
void |
setIndex(int index,
int value) |
void |
setRecordCount(int recordCount) |
String |
toString() |
public static final int RECORD_SIZE
public SelectionVector2(BufferAllocator allocator)
public SelectionVector2(BufferAllocator allocator, DrillBuf buf, int count)
public int getCount()
public DrillBuf getBuffer()
public DrillBuf getBuffer(boolean clear)
public void setBuffer(DrillBuf bufferHandle)
public char getIndex(int index)
public void setIndex(int index,
char value)
public long getDataAddr()
public void setIndex(int index,
int value)
public boolean allocateNewSafe(int size)
public void allocateNew(int size)
public SelectionVector2 clone()
public void clear()
public void setRecordCount(int recordCount)
public void close()
close in interface AutoCloseableCopyright © 2017 The Apache Software Foundation. All rights reserved.