Class OutputSchemaBuilder

java.lang.Object
com.streambase.sb.OutputSchemaBuilder

class OutputSchemaBuilder extends Object
Output schema builder
  • Constructor Details

    • OutputSchemaBuilder

      public OutputSchemaBuilder(com.streambase.sb.util.LocatedItem loc, Set<SchemaUtil.CoercionOptions> options, com.streambase.sb.internal.CapturedSchemas captures, String errorPrefix)
      Constructor
      Parameters:
      loc - source location
      options - coercion options
      captures - captured schemas
      errorPrefix - error suffix
  • Method Details

    • buildResultSchema

      public Schema buildResultSchema()
      Build result schema
      Returns:
      schema
    • includeSchema

      public void includeSchema(int schemaIndex, Schema schema) throws SemanticValidationException
      Include schema
      Parameters:
      schemaIndex - schema index
      schema - schema to include
      Throws:
      SemanticValidationException - error including schema