Package com.yahoo.schema.document
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 Summary
Modifier and TypeMethodDescriptioncom.yahoo.document.FieldasField()Returns aFieldrepresentation (which is sadly not immutable)<T extends com.yahoo.vespa.indexinglanguage.expressions.Expression>
booleancontainsExpression(Class<T> searchFor) booleanbooleanbooleanbooleanbooleanexistsIndex(String name) com.yahoo.document.DataTypecom.yahoo.vespa.indexinglanguage.expressions.ScriptExpressionintgetName()getStemming(Schema schema) getStructField(String name) Collection<? extends ImmutableSDField>getSummaryField(String name) intbooleanReturns true if this is a document field (not a synthetic field), or a mutable attribute.booleanhasIndex()booleanReturns whether this field has a single attribute with the same name as this field.booleanbooleanbooleanbooleanbooleanWhether this field at some time was configured to do attributing.booleanWhether this field at some time was configured to do indexing.
-
Method Details
-
containsExpression
<T extends com.yahoo.vespa.indexinglanguage.expressions.Expression> boolean containsExpression(Class<T> searchFor) -
doesAttributing
boolean doesAttributing() -
doesIndexing
boolean doesIndexing() -
doesBitPacking
boolean doesBitPacking() -
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
-
getQueryCommands
-
getAttributes
-
getAttribute
Attribute getAttribute() -
getAliasToName
-
getIndexingScript
com.yahoo.vespa.indexinglanguage.expressions.ScriptExpression getIndexingScript() -
getMatching
Matching getMatching() -
getNormalizing
NormalizeLevel getNormalizing() -
getStructField
-
getStructFields
Collection<? extends ImmutableSDField> getStructFields() -
getStemming
Stemming getStemming() -
getStemming
-
getRanking
Ranking getRanking() -
getName
String getName() -
getSummaryFields
Map<String,SummaryField> getSummaryFields() -
asField
com.yahoo.document.Field asField()Returns aFieldrepresentation (which is sadly not immutable) -
hasFullIndexingDocprocRights
boolean hasFullIndexingDocprocRights()Returns true if this is a document field (not a synthetic field), or a mutable attribute. -
getWeight
int getWeight() -
getLiteralBoost
int getLiteralBoost() -
getRankType
RankType getRankType() -
getIndices
-
existsIndex
-
getSummaryField
-
hasIndex
boolean hasIndex()
-