Interface ImmutableSDField

All Known Implementing Classes:
ImmutableImportedComplexSDField, ImmutableImportedSDField, SDField, TemporarySDField

public interface ImmutableSDField
An interface containing the non-mutating methods of SDField. For description of the methods see SDField.
Author:
bjorncs
  • Method Details

    • containsExpression

      <T extends com.yahoo.vespa.indexinglanguage.expressions.Expression> boolean containsExpression(Class<T> searchFor)
    • doesAttributing

      boolean doesAttributing()
    • doesIndexing

      boolean doesIndexing()
    • doesLowerCasing

      boolean doesLowerCasing()
    • isExtraField

      boolean isExtraField()
    • isImportedField

      boolean isImportedField()
    • isIndexStructureField

      boolean isIndexStructureField()
    • usesStructOrMap

      boolean usesStructOrMap()
    • wasConfiguredToDoAttributing

      boolean wasConfiguredToDoAttributing()
      Whether this field at some time was configured to do attributing. This function can typically return a different value than doesAttributing(), which uses the final state of the underlying indexing script instead.
    • wasConfiguredToDoIndexing

      boolean wasConfiguredToDoIndexing()
      Whether this field at some time was configured to do indexing. This function can typically return a different value than doesIndexing(), which uses the final state of the underlying indexing script instead.
    • hasSingleAttribute

      boolean hasSingleAttribute()
      Returns whether this field has a single attribute with the same name as this field.
    • getDataType

      com.yahoo.document.DataType getDataType()
    • getIndex

      Index getIndex(String name)
    • getQueryCommands

      List<String> getQueryCommands()
    • getAttributes

      Map<String,Attribute> getAttributes()
    • getAttribute

      Attribute getAttribute()
    • getAliasToName

      Map<String,String> getAliasToName()
    • getIndexingScript

      com.yahoo.vespa.indexinglanguage.expressions.ScriptExpression getIndexingScript()
    • getMatching

      Matching getMatching()
    • getNormalizing

      NormalizeLevel getNormalizing()
    • getStructField

      ImmutableSDField getStructField(String name)
    • getStructFields

      Collection<? extends ImmutableSDField> getStructFields()
    • getStemming

      Stemming getStemming()
    • getStemming

      Stemming getStemming(Schema schema)
    • getRanking

      Ranking getRanking()
    • getName

      String getName()
    • getSummaryFields

      Map<String,SummaryField> getSummaryFields()
    • asField

      com.yahoo.document.Field asField()
      Returns a Field representation (which is sadly not immutable)
    • hasFullIndexingDocprocRights

      boolean hasFullIndexingDocprocRights()
    • getWeight

      int getWeight()
    • getLiteralBoost

      int getLiteralBoost()
    • getRankType

      RankType getRankType()
    • getIndices

      Map<String,Index> getIndices()
    • existsIndex

      boolean existsIndex(String name)
    • getSummaryField

      SummaryField getSummaryField(String name)
    • hasIndex

      boolean hasIndex()