public class ShortStreamReader 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 |
|---|
ShortStreamReader(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 |
putInt(int rowId,
int value) |
void |
putNull(int rowId) |
void |
putNulls(int rowId,
int count) |
void |
putObject(int rowId,
Object value) |
void |
putShort(int rowId,
short value) |
void |
putShorts(int rowId,
int count,
short value) |
void |
reset() |
void |
setBatchSize(int batchSize) |
anyNullsSet, getBlockDataType, getData, getDataArray, getDictionaryVector, getLengths, getOffsets, getType, hasDictionary, isNull, isNullAt, loadPage, putAllByteArray, putArray, putBoolean, putByte, putByteArray, putByteArray, putByteArray, putBytes, putDecimal, putDecimals, putDouble, putDoubles, putDoubles, putFloat, putFloats, putInts, putInts, putLong, putLongs, putLongs, putNotNull, putNotNull, putShorts, setBlockDataType, setDictionary, setFilteredRowsExist, setLazyPageprotected int batchSize
protected com.facebook.presto.spi.type.Type type
protected com.facebook.presto.spi.block.BlockBuilder builder
public ShortStreamReader(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 setBatchSize(int batchSize)
setBatchSize in interface PrestoVectorBlockBuilderpublic 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 putShort(int rowId,
short value)
putShort in interface org.apache.carbondata.core.scan.result.vector.CarbonColumnVectorputShort in class org.apache.carbondata.core.scan.result.vector.impl.CarbonColumnVectorImplpublic void putShorts(int rowId,
int count,
short value)
putShorts in interface org.apache.carbondata.core.scan.result.vector.CarbonColumnVectorputShorts 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 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.