Interface IndexCreationContext
-
- All Known Implementing Classes:
IndexCreationContext.BloomFilter,IndexCreationContext.Common,IndexCreationContext.Forward,IndexCreationContext.Geospatial,IndexCreationContext.Inverted,IndexCreationContext.Json,IndexCreationContext.Range,IndexCreationContext.Text,IndexCreationContext.Wrapper
public interface IndexCreationContextProvides parameters for constructing indexes via {@see IndexCreatorProvider}. The responsibility for ensuring that the correct parameters for a particular index type lies with the caller.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIndexCreationContext.BloomFilterstatic classIndexCreationContext.Builderstatic classIndexCreationContext.Commonstatic classIndexCreationContext.Forwardstatic classIndexCreationContext.Geospatialstatic classIndexCreationContext.Invertedstatic classIndexCreationContext.Jsonstatic classIndexCreationContext.Rangestatic classIndexCreationContext.Textstatic classIndexCreationContext.Wrapper
-
Method Summary
Modifier and Type Method Description static IndexCreationContext.Builderbuilder()booleanforwardIndexDisabled()intgetCardinality()FieldSpecgetFieldSpec()FilegetIndexDir()intgetLengthOfLongestEntry()intgetMaxNumberOfMultiValueElements()intgetMaxRowLengthInBytes()Comparable<?>getMaxValue()Comparable<?>getMinValue()intgetTotalDocs()intgetTotalNumberOfEntries()booleanhasDictionary()booleanisOnHeap()booleanisSorted()
-
-
-
Method Detail
-
getFieldSpec
FieldSpec getFieldSpec()
-
getIndexDir
File getIndexDir()
-
isOnHeap
boolean isOnHeap()
-
getLengthOfLongestEntry
int getLengthOfLongestEntry()
-
getMaxNumberOfMultiValueElements
int getMaxNumberOfMultiValueElements()
-
getMaxRowLengthInBytes
int getMaxRowLengthInBytes()
-
isSorted
boolean isSorted()
-
getCardinality
int getCardinality()
-
getTotalNumberOfEntries
int getTotalNumberOfEntries()
-
getTotalDocs
int getTotalDocs()
-
hasDictionary
boolean hasDictionary()
-
getMinValue
Comparable<?> getMinValue()
-
getMaxValue
Comparable<?> getMaxValue()
-
forwardIndexDisabled
boolean forwardIndexDisabled()
-
builder
static IndexCreationContext.Builder builder()
-
-