public class CsvTranslatableTable extends CsvTable implements org.apache.calcite.schema.QueryableTable, org.apache.calcite.schema.TranslatableTable
Copied from CsvTranslatableTable in demo CSV adapter,
with more advanced features.
CsvTable.FlavorprotoRowType, source| Modifier and Type | Method and Description |
|---|---|
<T> org.apache.calcite.linq4j.Queryable<T> |
asQueryable(org.apache.calcite.linq4j.QueryProvider queryProvider,
org.apache.calcite.schema.SchemaPlus schema,
String tableName) |
Type |
getElementType() |
org.apache.calcite.linq4j.tree.Expression |
getExpression(org.apache.calcite.schema.SchemaPlus schema,
String tableName,
Class clazz) |
org.apache.calcite.linq4j.Enumerable<Object> |
project(org.apache.calcite.DataContext root,
int[] fields)
Returns an enumerable over a given projection of the fields.
|
org.apache.calcite.rel.RelNode |
toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable) |
String |
toString() |
getFieldTypes, getRowType, isStreamgetJdbcTableType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic org.apache.calcite.linq4j.Enumerable<Object> project(org.apache.calcite.DataContext root, int[] fields)
public org.apache.calcite.linq4j.tree.Expression getExpression(org.apache.calcite.schema.SchemaPlus schema,
String tableName,
Class clazz)
getExpression in interface org.apache.calcite.schema.QueryableTablepublic Type getElementType()
getElementType in interface org.apache.calcite.schema.QueryableTablepublic <T> org.apache.calcite.linq4j.Queryable<T> asQueryable(org.apache.calcite.linq4j.QueryProvider queryProvider,
org.apache.calcite.schema.SchemaPlus schema,
String tableName)
asQueryable in interface org.apache.calcite.schema.QueryableTablepublic org.apache.calcite.rel.RelNode toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable)
toRel in interface org.apache.calcite.schema.TranslatableTableCopyright © 2012-2023 Apache Software Foundation. All Rights Reserved.