Class FilteredDataBlockValSet
- java.lang.Object
-
- org.apache.pinot.query.runtime.operator.block.DataBlockValSet
-
- org.apache.pinot.query.runtime.operator.block.FilteredDataBlockValSet
-
- All Implemented Interfaces:
BlockValSet
public class FilteredDataBlockValSet extends DataBlockValSet
In the multistage engine, the leaf stage servers process the data in columnar fashion. By the time the intermediate stage receives the projected column, they are converted to a row based format. This class provides the capability to convert the row based representation into columnar blocks so that they can be used to process aggregations using v1 aggregation functions. TODO: Support MV
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.query.runtime.operator.block.DataBlockValSet
_dataBlock, _dataType, _index, _nullBitMap
-
-
Constructor Summary
Constructors Constructor Description FilteredDataBlockValSet(DataSchema.ColumnDataType columnDataType, DataBlock dataBlock, int colIndex, int filterIdx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal[]getBigDecimalValuesSV()byte[][][]getBytesValuesMV()byte[][]getBytesValuesSV()org.apache.pinot.segment.spi.index.reader.DictionarygetDictionary()int[][]getDictionaryIdsMV()int[]getDictionaryIdsSV()double[][]getDoubleValuesMV()double[]getDoubleValuesSV()float[][]getFloatValuesMV()float[]getFloatValuesSV()int[][]getIntValuesMV()int[]getIntValuesSV()long[][]getLongValuesMV()long[]getLongValuesSV()org.roaringbitmap.RoaringBitmapgetNullBitmap()Returns a bitmap of indices where null values are found.int[]getNumMVEntries()String[][]getStringValuesMV()String[]getStringValuesSV()org.apache.pinot.spi.data.FieldSpec.DataTypegetValueType()booleanisSingleValue()
-
-
-
Constructor Detail
-
FilteredDataBlockValSet
public FilteredDataBlockValSet(DataSchema.ColumnDataType columnDataType, DataBlock dataBlock, int colIndex, int filterIdx)
-
-
Method Detail
-
getNullBitmap
@Nullable public org.roaringbitmap.RoaringBitmap getNullBitmap()
Returns a bitmap of indices where null values are found.- Specified by:
getNullBitmapin interfaceBlockValSet- Overrides:
getNullBitmapin classDataBlockValSet
-
getValueType
public org.apache.pinot.spi.data.FieldSpec.DataType getValueType()
- Specified by:
getValueTypein interfaceBlockValSet- Overrides:
getValueTypein classDataBlockValSet
-
isSingleValue
public boolean isSingleValue()
- Specified by:
isSingleValuein interfaceBlockValSet- Overrides:
isSingleValuein classDataBlockValSet
-
getDictionary
@Nullable public org.apache.pinot.segment.spi.index.reader.Dictionary getDictionary()
- Specified by:
getDictionaryin interfaceBlockValSet- Overrides:
getDictionaryin classDataBlockValSet
-
getDictionaryIdsSV
public int[] getDictionaryIdsSV()
- Specified by:
getDictionaryIdsSVin interfaceBlockValSet- Overrides:
getDictionaryIdsSVin classDataBlockValSet
-
getIntValuesSV
public int[] getIntValuesSV()
- Specified by:
getIntValuesSVin interfaceBlockValSet- Overrides:
getIntValuesSVin classDataBlockValSet
-
getLongValuesSV
public long[] getLongValuesSV()
- Specified by:
getLongValuesSVin interfaceBlockValSet- Overrides:
getLongValuesSVin classDataBlockValSet
-
getFloatValuesSV
public float[] getFloatValuesSV()
- Specified by:
getFloatValuesSVin interfaceBlockValSet- Overrides:
getFloatValuesSVin classDataBlockValSet
-
getDoubleValuesSV
public double[] getDoubleValuesSV()
- Specified by:
getDoubleValuesSVin interfaceBlockValSet- Overrides:
getDoubleValuesSVin classDataBlockValSet
-
getBigDecimalValuesSV
public BigDecimal[] getBigDecimalValuesSV()
- Specified by:
getBigDecimalValuesSVin interfaceBlockValSet- Overrides:
getBigDecimalValuesSVin classDataBlockValSet
-
getStringValuesSV
public String[] getStringValuesSV()
- Specified by:
getStringValuesSVin interfaceBlockValSet- Overrides:
getStringValuesSVin classDataBlockValSet
-
getBytesValuesSV
public byte[][] getBytesValuesSV()
- Specified by:
getBytesValuesSVin interfaceBlockValSet- Overrides:
getBytesValuesSVin classDataBlockValSet
-
getDictionaryIdsMV
public int[][] getDictionaryIdsMV()
- Specified by:
getDictionaryIdsMVin interfaceBlockValSet- Overrides:
getDictionaryIdsMVin classDataBlockValSet
-
getIntValuesMV
public int[][] getIntValuesMV()
- Specified by:
getIntValuesMVin interfaceBlockValSet- Overrides:
getIntValuesMVin classDataBlockValSet
-
getLongValuesMV
public long[][] getLongValuesMV()
- Specified by:
getLongValuesMVin interfaceBlockValSet- Overrides:
getLongValuesMVin classDataBlockValSet
-
getFloatValuesMV
public float[][] getFloatValuesMV()
- Specified by:
getFloatValuesMVin interfaceBlockValSet- Overrides:
getFloatValuesMVin classDataBlockValSet
-
getDoubleValuesMV
public double[][] getDoubleValuesMV()
- Specified by:
getDoubleValuesMVin interfaceBlockValSet- Overrides:
getDoubleValuesMVin classDataBlockValSet
-
getStringValuesMV
public String[][] getStringValuesMV()
- Specified by:
getStringValuesMVin interfaceBlockValSet- Overrides:
getStringValuesMVin classDataBlockValSet
-
getBytesValuesMV
public byte[][][] getBytesValuesMV()
- Specified by:
getBytesValuesMVin interfaceBlockValSet- Overrides:
getBytesValuesMVin classDataBlockValSet
-
getNumMVEntries
public int[] getNumMVEntries()
- Specified by:
getNumMVEntriesin interfaceBlockValSet- Overrides:
getNumMVEntriesin classDataBlockValSet
-
-