Class IntOnHeapMutableDictionary
- java.lang.Object
-
- org.apache.pinot.segment.local.realtime.impl.dictionary.BaseOnHeapMutableDictionary
-
- org.apache.pinot.segment.local.realtime.impl.dictionary.IntOnHeapMutableDictionary
-
- All Implemented Interfaces:
Closeable,AutoCloseable,IndexReader,MutableDictionary,Dictionary
public class IntOnHeapMutableDictionary extends BaseOnHeapMutableDictionary
-
-
Field Summary
-
Fields inherited from interface org.apache.pinot.segment.spi.index.reader.Dictionary
NULL_VALUE_INDEX
-
-
Constructor Summary
Constructors Constructor Description IntOnHeapMutableDictionary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(int dictId1, int dictId2)BigDecimalgetBigDecimalValue(int dictId)it.unimi.dsi.fastutil.ints.IntSetgetDictIdsInRange(String lower, String upper, boolean includeLower, boolean includeUpper)doublegetDoubleValue(int dictId)floatgetFloatValue(int dictId)intgetIntValue(int dictId)longgetLongValue(int dictId)IntegergetMaxVal()IntegergetMinVal()int[]getSortedValues()StringgetStringValue(int dictId)FieldSpec.DataTypegetValueType()intindex(Object value)int[]index(Object[] values)intindexOf(int intValue)intindexOf(String stringValue)-
Methods inherited from class org.apache.pinot.segment.local.realtime.impl.dictionary.BaseOnHeapMutableDictionary
close, get, getDictId, indexValue, length
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.pinot.segment.spi.index.reader.Dictionary
getByteArrayValue, getBytesValue, getDictIds, getInternal, indexOf, indexOf, indexOf, indexOf, indexOf, readBigDecimalValues, readBytesValues, readDoubleValues, readFloatValues, readIntValues, readLongValues, readStringValues
-
Methods inherited from interface org.apache.pinot.segment.spi.index.mutable.MutableDictionary
insertionIndexOf, isSorted
-
-
-
-
Method Detail
-
index
public int index(Object value)
-
index
public int[] index(Object[] values)
-
compare
public int compare(int dictId1, int dictId2)
-
getDictIdsInRange
public it.unimi.dsi.fastutil.ints.IntSet getDictIdsInRange(String lower, String upper, boolean includeLower, boolean includeUpper)
-
getMinVal
public Integer getMinVal()
-
getMaxVal
public Integer getMaxVal()
-
getSortedValues
public int[] getSortedValues()
-
getValueType
public FieldSpec.DataType getValueType()
-
indexOf
public int indexOf(String stringValue)
-
indexOf
public int indexOf(int intValue)
-
getIntValue
public int getIntValue(int dictId)
-
getLongValue
public long getLongValue(int dictId)
-
getFloatValue
public float getFloatValue(int dictId)
-
getDoubleValue
public double getDoubleValue(int dictId)
-
getBigDecimalValue
public BigDecimal getBigDecimalValue(int dictId)
-
getStringValue
public String getStringValue(int dictId)
-
-