Package com.yahoo.schema.derived
Class Derived
java.lang.Object
com.yahoo.schema.derived.Derived
- Direct Known Subclasses:
AttributeFields
,ImportedFields
,IndexInfo
,IndexingScript
,IndexSchema
,Juniperrc
,RankProfileList
,SchemaInfo
,Summaries
,SummaryClass
,VsmFields
,VsmSummary
Superclass of all derived configurations
- Author:
- bratseth
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
derive
(ImmutableSDField field, Schema schema) Derives the content of this configuration.protected void
derive
(SDDocumentType document, Schema schema) Derives the content of this configuration.protected void
Derives the content of this configuration.protected void
Derives the content of this configuration.protected void
protected abstract String
protected String
getIndex
(int number, boolean labels) Returns the value of getName if true, the given number as a string otherwisegetName()
protected final void
-
Constructor Details
-
Derived
public Derived() -
Derived
-
-
Method Details
-
getName
-
setName
-
derive
Derives the content of this configuration. This default calls derive(Document) for each document and derive(SDField) for each search definition level field AND sets the name of this to the name of the input search definition -
derive
Derives the content of this configuration. This default calls derive(SDField) for each document field -
derive
Derives the content of this configuration. This default does nothing. -
derive
Derives the content of this configuration. This default does nothing. -
getDerivedName
-
getIndex
Returns the value of getName if true, the given number as a string otherwise -
export
- Throws:
IOException
-