Class IndexSchema.IndexField

  • Enclosing class:
    IndexSchema

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

      • IndexField

        public IndexField​(java.lang.String name,
                          Index.Type type,
                          com.yahoo.document.DataType sdFieldType)
    • Method Detail

      • setIndexSettings

        public void setIndexSettings​(Index index)
      • getName

        public java.lang.String getName()
      • getType

        public java.lang.String getType()
      • getCollectionType

        public java.lang.String getCollectionType()
      • hasPrefix

        public boolean hasPrefix()
      • hasPhrases

        public boolean hasPhrases()
      • hasPositions

        public boolean hasPositions()
      • useInterleavedFeatures

        public boolean useInterleavedFeatures()
      • getSdType

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