Package com.yahoo.schema.parser
Class ParsedSchema
java.lang.Object
com.yahoo.schema.parser.ParsedBlock
com.yahoo.schema.parser.ParsedSchema
This class holds the extracted information after parsing
one schema (.sd) file, using simple data structures
as far as possible.
Do not put complicated logic here!
- Author:
- arnej27959
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidadd(RankProfile.Constant constant) voidaddAnnotation(ParsedAnnotation annotation) voidaddDocument(ParsedDocument document) voidvoidaddField(ParsedField field) voidaddFieldSet(ParsedFieldSet fieldSet) voidaddImportedField(String asFieldName, String refFieldName, String foregnFieldName) voidaddIndex(ParsedIndex index) voidaddRankProfile(ParsedRankProfile profile) voidaddStruct(ParsedStruct struct) voidenableRawAsBase64(boolean value) voidvoidvoidsetStemming(Stemming value) Methods inherited from class com.yahoo.schema.parser.ParsedBlock
blockType, name, toString, verifyThat
-
Constructor Details
-
ParsedSchema
-
-
Method Details
-
addAnnotation
-
addDocument
-
setDocumentWithoutSchema
public void setDocumentWithoutSchema() -
addDocumentSummary
-
addField
-
addFieldSet
-
addImportedField
-
addIndex
-
add
-
addRankProfile
-
add
-
addStruct
-
enableRawAsBase64
public void enableRawAsBase64(boolean value) -
inherit
-
setStemming
-