Package org.apache.calcite.adapter.java
Class AbstractQueryableTable
java.lang.Object
org.apache.calcite.schema.impl.AbstractTable
org.apache.calcite.adapter.java.AbstractQueryableTable
- All Implemented Interfaces:
QueryableTable
,Table
,Wrapper
- Direct Known Subclasses:
CassandraTable
,ElasticsearchTable
,GeodeTable
,InnodbTable
,JdbcTable
,ListTransientTable
,MockCatalogReader.MockDynamicTable
,MongoTable
,Smalls.SimpleTable
,ViewTable
Abstract base class for implementing
Table
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the element type of the collection that will implement this table.getExpression
(SchemaPlus schema, String tableName, Class clazz) Generates an expression with which this table can be referenced in generated code.Methods inherited from class org.apache.calcite.schema.impl.AbstractTable
getJdbcTableType, getStatistic, 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.QueryableTable
asQueryable
Methods inherited from interface org.apache.calcite.schema.Table
getJdbcTableType, getRowType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg
Methods inherited from interface org.apache.calcite.schema.Wrapper
maybeUnwrap, unwrapOrThrow
-
Field Details
-
elementType
-
-
Constructor Details
-
AbstractQueryableTable
-
-
Method Details
-
getElementType
Description copied from interface:QueryableTable
Returns the element type of the collection that will implement this table.- Specified by:
getElementType
in interfaceQueryableTable
-
getExpression
Description copied from interface:QueryableTable
Generates an expression with which this table can be referenced in generated code.- Specified by:
getExpression
in interfaceQueryableTable
- Parameters:
schema
- SchematableName
- Table name (unique within schema)clazz
- The desired collection class; for exampleQueryable
.
-