Package org.apache.calcite.model
Class JsonCustomSchema
- java.lang.Object
-
- org.apache.calcite.model.JsonSchema
-
- org.apache.calcite.model.JsonMapSchema
-
- org.apache.calcite.model.JsonCustomSchema
-
public class JsonCustomSchema extends JsonMapSchema
JSON schema element that represents a custom schema.Like the base class
JsonSchema
, occurs withinJsonRoot.schemas
.- See Also:
Description of schema elements
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.calcite.model.JsonSchema
JsonSchema.Type
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
factory
Name of the factory class for this schema.java.util.Map<java.lang.String,java.lang.Object>
operand
Contains attributes to be passed to the factory.-
Fields inherited from class org.apache.calcite.model.JsonMapSchema
functions, tables, types
-
Fields inherited from class org.apache.calcite.model.JsonSchema
autoLattice, cache, lattices, materializations, name, path
-
-
Constructor Summary
Constructors Constructor Description JsonCustomSchema()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelHandler handler)
java.lang.String
toString()
-
Methods inherited from class org.apache.calcite.model.JsonMapSchema
visitChildren
-
-
-
-
Field Detail
-
factory
public java.lang.String factory
Name of the factory class for this schema.Required. Must implement interface
SchemaFactory
and have a public default constructor.
-
operand
public java.util.Map<java.lang.String,java.lang.Object> operand
Contains attributes to be passed to the factory.May be a JSON object (represented as Map) or null.
-
-
Method Detail
-
accept
public void accept(ModelHandler handler)
- Overrides:
accept
in classJsonMapSchema
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-