public class EncodedColumnBatch<BatchKey> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EncodedColumnBatch.ColumnStreamData
Slice of the data for a stream for some column, stored inside MemoryBuffer's.
|
Modifier and Type | Field and Description |
---|---|
protected BatchKey |
batchKey
The key that is used to map this batch to source location.
|
protected EncodedColumnBatch.ColumnStreamData[][] |
columnData
Stream data for each stream, for each included column.
|
protected int[] |
columnIxs
Column indexes included in the batch.
|
Constructor and Description |
---|
EncodedColumnBatch() |
Modifier and Type | Method and Description |
---|---|
BatchKey |
getBatchKey() |
EncodedColumnBatch.ColumnStreamData[][] |
getColumnData() |
int[] |
getColumnIxs() |
void |
initColumn(int colIxMod,
int colIx,
int streamCount) |
void |
reset() |
protected void |
resetColumnArrays(int columnCount) |
void |
setAllStreamsData(int colIxMod,
int colIx,
EncodedColumnBatch.ColumnStreamData[] sbs) |
void |
setStreamData(int colIxMod,
int streamKind,
EncodedColumnBatch.ColumnStreamData csd) |
protected BatchKey batchKey
protected EncodedColumnBatch.ColumnStreamData[][] columnData
protected int[] columnIxs
public void reset()
public void initColumn(int colIxMod, int colIx, int streamCount)
public void setStreamData(int colIxMod, int streamKind, EncodedColumnBatch.ColumnStreamData csd)
public void setAllStreamsData(int colIxMod, int colIx, EncodedColumnBatch.ColumnStreamData[] sbs)
public BatchKey getBatchKey()
public EncodedColumnBatch.ColumnStreamData[][] getColumnData()
public int[] getColumnIxs()
protected void resetColumnArrays(int columnCount)
Copyright © 2016 The Apache Software Foundation. All rights reserved.