Class SingleValueSortedForwardIndexCreator
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.creator.impl.fwd.SingleValueSortedForwardIndexCreator
-
- All Implemented Interfaces:
Closeable,AutoCloseable,ForwardIndexCreator
public class SingleValueSortedForwardIndexCreator extends Object implements ForwardIndexCreator
Forward index creator for dictionary-encoded sorted single-value column.
-
-
Constructor Summary
Constructors Constructor Description SingleValueSortedForwardIndexCreator(File outputDir, String column, int cardinality)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()FieldSpec.DataTypegetValueType()booleanisDictionaryEncoded()booleanisSingleValue()voidputDictId(int dictId)-
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.creator.ForwardIndexCreator
putBigDecimal, putBytes, putBytesMV, putDictIdMV, putDouble, putDoubleMV, putFloat, putFloatMV, putInt, putIntMV, putLong, putLongMV, putString, putStringMV
-
-
-
-
Method Detail
-
isDictionaryEncoded
public boolean isDictionaryEncoded()
- Specified by:
isDictionaryEncodedin interfaceForwardIndexCreator
-
isSingleValue
public boolean isSingleValue()
- Specified by:
isSingleValuein interfaceForwardIndexCreator
-
getValueType
public FieldSpec.DataType getValueType()
- Specified by:
getValueTypein interfaceForwardIndexCreator
-
putDictId
public void putDictId(int dictId)
- Specified by:
putDictIdin interfaceForwardIndexCreator
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-