Package com.yahoo.schema.derived
Class AttributeFields
java.lang.Object
com.yahoo.schema.derived.Derived
com.yahoo.schema.derived.AttributeFields
The set of all attribute fields defined by a search definition
- Author:
- bratseth
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a read only attribute iteratorboolean
containsAttribute
(String attributeName) protected void
derive
(ImmutableSDField field, Schema schema) Derives everything from a fieldvoid
getAttribute
(String attributeName) Returns an attribute by name, or null if it doesn't existvoid
getConfig
(com.yahoo.vespa.config.search.AttributesConfig.Builder builder) void
getConfig
(com.yahoo.vespa.config.search.AttributesConfig.Builder builder, AttributeFields.FieldSet fs, long maxUnCommittedMemory) protected String
structFieldAttributes
(String baseFieldName) toString()
-
Field Details
-
empty
-
-
Constructor Details
-
AttributeFields
-
-
Method Details
-
derive
Derives everything from a field -
getAttribute
Returns an attribute by name, or null if it doesn't exist -
containsAttribute
-
attributeIterator
Returns a read only attribute iterator -
attributes
-
structFieldAttributes
-
toString
-
getDerivedName
- Specified by:
getDerivedName
in classDerived
-
getConfig
public void getConfig(com.yahoo.vespa.config.search.AttributesConfig.Builder builder) -
export
- Throws:
IOException
-
getConfig
public void getConfig(com.yahoo.vespa.config.search.AttributesConfig.Builder builder, AttributeFields.FieldSet fs, long maxUnCommittedMemory)
-