public class SliceStreamReader extends org.apache.carbondata.core.scan.result.vector.impl.CarbonColumnVectorImpl implements PrestoVectorBlockBuilder
| Modifier and Type | Field and Description |
|---|---|
protected int |
batchSize |
protected com.facebook.presto.spi.block.BlockBuilder |
builder |
protected com.facebook.presto.spi.type.Type |
type |
| Constructor and Description |
|---|
SliceStreamReader(int batchSize,
org.apache.carbondata.core.metadata.datatype.DataType dataType,
org.apache.carbondata.core.cache.dictionary.Dictionary dictionary) |
| Modifier and Type | Method and Description |
|---|---|
com.facebook.presto.spi.block.Block |
buildBlock() |
void |
putByteArray(int rowId,
byte[] value) |
void |
putByteArray(int rowId,
int count,
byte[] value) |
void |
putByteArray(int rowId,
int offset,
int length,
byte[] value) |
void |
putInt(int rowId,
int value) |
void |
putNull(int rowId) |
void |
putNulls(int rowId,
int count) |
void |
putObject(int rowId,
Object value) |
void |
reset() |
void |
setBatchSize(int batchSize) |
void |
setDictionary(org.apache.carbondata.core.scan.result.vector.CarbonDictionary dictionary) |
anyNullsSet, getBlockDataType, getData, getDataArray, getDictionaryVector, getLengths, getOffsets, getType, hasDictionary, isNull, isNullAt, loadPage, putAllByteArray, putArray, putBoolean, putByte, putBytes, putDecimal, putDecimals, putDouble, putDoubles, putDoubles, putFloat, putFloats, putInts, putInts, putLong, putLongs, putLongs, putNotNull, putNotNull, putShort, putShorts, putShorts, setBlockDataType, setFilteredRowsExist, setLazyPageprotected int batchSize
protected com.facebook.presto.spi.type.Type type
protected com.facebook.presto.spi.block.BlockBuilder builder
public SliceStreamReader(int batchSize,
org.apache.carbondata.core.metadata.datatype.DataType dataType,
org.apache.carbondata.core.cache.dictionary.Dictionary dictionary)
public com.facebook.presto.spi.block.Block buildBlock()
buildBlock in interface PrestoVectorBlockBuilderpublic void setDictionary(org.apache.carbondata.core.scan.result.vector.CarbonDictionary dictionary)
setDictionary in interface org.apache.carbondata.core.scan.result.vector.CarbonColumnVectorsetDictionary in class org.apache.carbondata.core.scan.result.vector.impl.CarbonColumnVectorImplpublic void setBatchSize(int batchSize)
setBatchSize in interface PrestoVectorBlockBuilderpublic void putByteArray(int rowId,
byte[] value)
putByteArray in interface org.apache.carbondata.core.scan.result.vector.CarbonColumnVectorputByteArray in class org.apache.carbondata.core.scan.result.vector.impl.CarbonColumnVectorImplpublic void putByteArray(int rowId,
int offset,
int length,
byte[] value)
putByteArray in interface org.apache.carbondata.core.scan.result.vector.CarbonColumnVectorputByteArray in class org.apache.carbondata.core.scan.result.vector.impl.CarbonColumnVectorImplpublic void putByteArray(int rowId,
int count,
byte[] value)
putByteArray in interface org.apache.carbondata.core.scan.result.vector.CarbonColumnVectorputByteArray in class org.apache.carbondata.core.scan.result.vector.impl.CarbonColumnVectorImplpublic void putNull(int rowId)
putNull in interface org.apache.carbondata.core.scan.result.vector.CarbonColumnVectorputNull in class org.apache.carbondata.core.scan.result.vector.impl.CarbonColumnVectorImplpublic void putNulls(int rowId,
int count)
putNulls in interface org.apache.carbondata.core.scan.result.vector.CarbonColumnVectorputNulls in class org.apache.carbondata.core.scan.result.vector.impl.CarbonColumnVectorImplpublic void reset()
reset in interface org.apache.carbondata.core.scan.result.vector.CarbonColumnVectorreset in class org.apache.carbondata.core.scan.result.vector.impl.CarbonColumnVectorImplpublic void putInt(int rowId,
int value)
putInt in interface org.apache.carbondata.core.scan.result.vector.CarbonColumnVectorputInt in class org.apache.carbondata.core.scan.result.vector.impl.CarbonColumnVectorImplpublic void putObject(int rowId,
Object value)
putObject in interface org.apache.carbondata.core.scan.result.vector.CarbonColumnVectorputObject in class org.apache.carbondata.core.scan.result.vector.impl.CarbonColumnVectorImplCopyright © 2016–2019 The Apache Software Foundation. All rights reserved.