public final class FederationTranslatableTable
extends org.apache.calcite.schema.impl.AbstractTable
implements org.apache.calcite.schema.QueryableTable, org.apache.calcite.schema.TranslatableTable
| 构造器和说明 |
|---|
FederationTranslatableTable() |
| 限定符和类型 | 方法和说明 |
|---|---|
<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, unwrappublic org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getRowType 在接口中 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 在接口中 org.apache.calcite.schema.QueryableTablepublic Type getElementType()
getElementType 在接口中 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 在接口中 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 在接口中 org.apache.calcite.schema.TranslatableTablepublic org.apache.calcite.schema.Statistic getStatistic()
getStatistic 在接口中 org.apache.calcite.schema.TablegetStatistic 在类中 org.apache.calcite.schema.impl.AbstractTableCopyright © 2022 The Apache Software Foundation. All rights reserved.