Package org.apache.calcite.adapter.file
Class JsonTable
java.lang.Object
org.apache.calcite.schema.impl.AbstractTable
org.apache.calcite.adapter.file.JsonTable
- Direct Known Subclasses:
JsonScannableTable
Table based on a JSON file.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDataList
(RelDataTypeFactory typeFactory) Returns the data list of the table.getRowType
(RelDataTypeFactory typeFactory) Returns this table's row type.Returns a provider of statistics about this table.Methods inherited from class org.apache.calcite.schema.impl.AbstractTable
getJdbcTableType, isRolledUp, rolledUpColumnValidInsideAgg, unwrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.calcite.schema.Wrapper
maybeUnwrap, unwrapOrThrow
-
Field Details
-
dataList
-
-
Constructor Details
-
JsonTable
-
-
Method Details
-
getRowType
Description copied from interface:Table
Returns this table's row type.This is a struct type whose fields describe the names and types of the columns in this table.
The implementer must use the type factory provided. This ensures that the type is converted into a canonical form; other equal types in the same query will use the same object.
- Parameters:
typeFactory
- Type factory with which to create the type- Returns:
- Row type
-
getDataList
Returns the data list of the table. -
getStatistic
Description copied from interface:Table
Returns a provider of statistics about this table.- Specified by:
getStatistic
in interfaceTable
- Overrides:
getStatistic
in classAbstractTable
-