Class ParsedSchema

java.lang.Object
com.yahoo.schema.parser.ParsedBlock
com.yahoo.schema.parser.ParsedSchema

public class ParsedSchema extends ParsedBlock
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
  • Constructor Details

    • ParsedSchema

      public ParsedSchema(String name)
  • Method Details

    • addAnnotation

      public void addAnnotation(ParsedAnnotation annotation)
    • addDocument

      public void addDocument(ParsedDocument document)
    • setDocumentWithoutSchema

      public void setDocumentWithoutSchema()
    • addDocumentSummary

      public void addDocumentSummary(ParsedDocumentSummary docsum)
    • addField

      public void addField(ParsedField field)
    • addFieldSet

      public void addFieldSet(ParsedFieldSet fieldSet)
    • addImportedField

      public void addImportedField(String asFieldName, String refFieldName, String foregnFieldName)
    • addIndex

      public void addIndex(ParsedIndex index)
    • add

      public void add(OnnxModel model)
    • addRankProfile

      public void addRankProfile(ParsedRankProfile profile)
    • add

      public void add(RankProfile.Constant constant)
    • addStruct

      public void addStruct(ParsedStruct struct)
    • enableRawAsBase64

      public void enableRawAsBase64(boolean value)
    • inherit

      public void inherit(String other)
    • setStemming

      public void setStemming(Stemming value)