Package org.apache.calcite.model
Class JsonTable
- java.lang.Object
-
- org.apache.calcite.model.JsonTable
-
- Direct Known Subclasses:
JsonCustomTable
,JsonView
public abstract class JsonTable extends java.lang.Object
Table schema element.Occurs within
JsonMapSchema.tables
.- See Also:
Description of schema elements
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<JsonColumn>
columns
Definition of the columns of this table.java.lang.String
name
Name of this table.JsonStream
stream
Information about whether the table can be streamed, and if so, whether the history of the table is also available.
-
Constructor Summary
Constructors Constructor Description JsonTable()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
accept(ModelHandler handler)
-
-
-
Field Detail
-
name
public java.lang.String name
Name of this table.Required. Must be unique within the schema.
-
columns
public final java.util.List<JsonColumn> columns
Definition of the columns of this table.Required for some kinds of type, optional for others (such as
JsonView
).
-
stream
public JsonStream stream
Information about whether the table can be streamed, and if so, whether the history of the table is also available.
-
-
Method Detail
-
accept
public abstract void accept(ModelHandler handler)
-
-