public final class FederationTranslatableTable
extends org.apache.calcite.schema.impl.AbstractTable
implements org.apache.calcite.schema.QueryableTable, org.apache.calcite.schema.TranslatableTable
| Constructor and Description |
|---|
FederationTranslatableTable() |
| 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.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
org.apache.calcite.schema.Statistic |
getStatistic() |
org.apache.calcite.linq4j.Enumerable<Object[]> |
project(org.apache.calcite.DataContext root,
int[] projects)
Execute filter and project when query the federation translatable table.
|
org.apache.calcite.linq4j.Enumerable<Object[]> |
projectAndFilter(org.apache.calcite.DataContext root,
String[] filterValues,
int[] projects)
Execute filter and project when query the federation translatable table.
|
org.apache.calcite.rel.RelNode |
toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable) |
String |
toString() |
getJdbcTableType, isRolledUp, rolledUpColumnValidInsideAgg, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getRowType in interface org.apache.calcite.schema.Tablepublic org.apache.calcite.linq4j.Enumerable<Object[]> projectAndFilter(org.apache.calcite.DataContext root, String[] filterValues, int[] projects)
root - data contextfilterValues - right value in filter conditionprojects - fields to be projectedpublic org.apache.calcite.linq4j.Enumerable<Object[]> project(org.apache.calcite.DataContext root, int[] projects)
root - data contextprojects - fields to be projectedpublic 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.TranslatableTablepublic org.apache.calcite.schema.Statistic getStatistic()
getStatistic in interface org.apache.calcite.schema.TablegetStatistic in class org.apache.calcite.schema.impl.AbstractTableCopyright © 2023 The Apache Software Foundation. All rights reserved.