Package com.yahoo.schema.derived
Class AttributeFields
java.lang.Object
com.yahoo.schema.derived.Derived
com.yahoo.schema.derived.AttributeFields
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,Exportable
,com.yahoo.vespa.config.search.AttributesConfig.Producer
public class AttributeFields
extends Derived
implements com.yahoo.vespa.config.search.AttributesConfig.Producer
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 fieldgetAttribute
(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) - Specified by:
getConfig
in interfacecom.yahoo.vespa.config.search.AttributesConfig.Producer
-
getConfig
public void getConfig(com.yahoo.vespa.config.search.AttributesConfig.Builder builder, AttributeFields.FieldSet fs, long maxUnCommittedMemory)
-