Class IndexSchema.IndexField

java.lang.Object
com.yahoo.schema.derived.IndexSchema.IndexField
Enclosing class:
IndexSchema

public static class IndexSchema.IndexField extends Object
Representation of an index field with name and data type.
  • Constructor Details

    • IndexField

      public IndexField(String name, Index.Type type, com.yahoo.document.DataType sdFieldType)
  • Method Details

    • setIndexSettings

      public void setIndexSettings(Index index)
    • getName

      public String getName()
    • getRawType

      public Index.Type getRawType()
    • getType

      public String getType()
    • getCollectionType

      public String getCollectionType()
    • hasPrefix

      public boolean hasPrefix()
    • hasPhrases

      public boolean hasPhrases()
    • hasPositions

      public boolean hasPositions()
    • useInterleavedFeatures

      public boolean useInterleavedFeatures()
    • getBooleanIndexDefinition

      public BooleanIndexDefinition getBooleanIndexDefinition()
    • getSdType

      public Index.Type getSdType()
      The user set index type
      Returns:
      the type