public class SelectionVector4 extends Object implements AutoCloseable
Constructor and Description |
---|
SelectionVector4(BufferAllocator allocator,
int recordCount) |
SelectionVector4(io.netty.buffer.ByteBuf vector,
int recordCount,
int batchRecordCount) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
close() |
void |
copy(SelectionVector4 fromSV4) |
SelectionVector4 |
createNewWrapperCurrent()
Caution: This method shares the underlying buffer between this vector and
the newly created one.
|
SelectionVector4 |
createNewWrapperCurrent(int batchRecordCount)
Caution: This method shares the underlying buffer between this vector and
the newly created one.
|
int |
get(int index) |
static int |
getBatchIndex(int sv4Index) |
int |
getCount() |
static int |
getRecordIndex(int sv4Index) |
int |
getTotalCount() |
boolean |
hasNext() |
boolean |
next() |
void |
set(int index,
int compound) |
void |
set(int index,
int recordBatch,
int recordIndex) |
void |
setCount(int length) |
String |
toString() |
public SelectionVector4(io.netty.buffer.ByteBuf vector, int recordCount, int batchRecordCount)
public SelectionVector4(BufferAllocator allocator, int recordCount)
public int getTotalCount()
public int getCount()
public void setCount(int length)
public void set(int index, int compound)
public void set(int index, int recordBatch, int recordIndex)
public int get(int index)
public SelectionVector4 createNewWrapperCurrent(int batchRecordCount)
batchRecordCount
- this will be used when creating the new vectorpublic SelectionVector4 createNewWrapperCurrent()
public boolean next()
public boolean hasNext()
public void clear()
public void copy(SelectionVector4 fromSV4)
public static int getBatchIndex(int sv4Index)
public static int getRecordIndex(int sv4Index)
public void close()
close
in interface AutoCloseable
Copyright © 1970 The Apache Software Foundation. All rights reserved.