Class IndexCreationContext.Builder
- java.lang.Object
-
- org.apache.pinot.segment.spi.creator.IndexCreationContext.Builder
-
- Enclosing interface:
- IndexCreationContext
public static final class IndexCreationContext.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
withColumnIndexCreationInfo
public IndexCreationContext.Builder withColumnIndexCreationInfo(ColumnIndexCreationInfo columnIndexCreationInfo)
-
withIndexDir
public IndexCreationContext.Builder withIndexDir(File indexDir)
-
onHeap
public IndexCreationContext.Builder onHeap(boolean onHeap)
-
withColumnMetadata
public IndexCreationContext.Builder withColumnMetadata(ColumnMetadata columnMetadata)
-
withLengthOfLongestEntry
public IndexCreationContext.Builder withLengthOfLongestEntry(int lengthOfLongestEntry)
-
withMaxNumberOfMultiValueElements
public IndexCreationContext.Builder withMaxNumberOfMultiValueElements(int maxNumberOfMultiValueElements)
-
withMaxRowLengthInBytes
public IndexCreationContext.Builder withMaxRowLengthInBytes(int maxRowLengthInBytes)
-
withFieldSpec
public IndexCreationContext.Builder withFieldSpec(FieldSpec fieldSpec)
-
sorted
public IndexCreationContext.Builder sorted(boolean sorted)
-
withCardinality
public IndexCreationContext.Builder withCardinality(int cardinality)
-
withTotalNumberOfEntries
public IndexCreationContext.Builder withTotalNumberOfEntries(int totalNumberOfEntries)
-
withTotalDocs
public IndexCreationContext.Builder withTotalDocs(int totalDocs)
-
withDictionary
public IndexCreationContext.Builder withDictionary(boolean hasDictionary)
-
withMinValue
public IndexCreationContext.Builder withMinValue(Comparable<?> minValue)
-
withMaxValue
public IndexCreationContext.Builder withMaxValue(Comparable<?> maxValue)
-
withforwardIndexDisabled
public IndexCreationContext.Builder withforwardIndexDisabled(boolean forwardIndexDisabled)
-
build
public IndexCreationContext.Common build()
-
-