Package com.streambase.sb
Class OutputSchemaBuilder
java.lang.Object
com.streambase.sb.OutputSchemaBuilder
Output schema builder
-
Constructor Summary
ConstructorDescriptionOutputSchemaBuilder
(com.streambase.sb.util.LocatedItem loc, Set<SchemaUtil.CoercionOptions> options, com.streambase.sb.internal.CapturedSchemas captures, String errorPrefix) Constructor -
Method Summary
Modifier and TypeMethodDescriptionBuild result schemavoid
includeSchema
(int schemaIndex, Schema schema) Include schema
-
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 locationoptions
- coercion optionscaptures
- captured schemaserrorPrefix
- error suffix
-
-
Method Details
-
buildResultSchema
Build result schema- Returns:
- schema
-
includeSchema
Include schema- Parameters:
schemaIndex
- schema indexschema
- schema to include- Throws:
SemanticValidationException
- error including schema
-