public class InnodbTable
extends org.apache.calcite.adapter.java.AbstractQueryableTable
implements org.apache.calcite.schema.TranslatableTable
| Modifier and Type | Class and Description |
|---|---|
static class |
InnodbTable.InnodbQueryable<T>
Implementation of
Queryable based on
a InnodbTable. |
| Constructor and Description |
|---|
InnodbTable(InnodbSchema schema,
String tableName) |
| 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) |
Set<String> |
getIndexesNameSet()
Get index name set.
|
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
com.alibaba.innodb.java.reader.schema.TableDef |
getTableDef() |
org.apache.calcite.linq4j.Enumerable<Object> |
query(com.alibaba.innodb.java.reader.TableReaderFactory tableReaderFactory) |
org.apache.calcite.linq4j.Enumerable<Object> |
query(com.alibaba.innodb.java.reader.TableReaderFactory tableReaderFactory,
List<Map.Entry<String,Class>> fields,
List<Map.Entry<String,String>> selectFields,
IndexCondition condition,
Boolean ascOrder)
Executes a query on the underlying InnoDB table.
|
org.apache.calcite.rel.RelNode |
toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable) |
String |
toString() |
getElementType, getExpressiongetJdbcTableType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic InnodbTable(InnodbSchema schema, String tableName)
public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getRowType in interface org.apache.calcite.schema.Tablepublic com.alibaba.innodb.java.reader.schema.TableDef getTableDef()
public Set<String> getIndexesNameSet()
public org.apache.calcite.linq4j.Enumerable<Object> query(com.alibaba.innodb.java.reader.TableReaderFactory tableReaderFactory)
public org.apache.calcite.linq4j.Enumerable<Object> query(com.alibaba.innodb.java.reader.TableReaderFactory tableReaderFactory, List<Map.Entry<String,Class>> fields, List<Map.Entry<String,String>> selectFields, IndexCondition condition, Boolean ascOrder)
tableReaderFactory - InnoDB Java table reader factoryfields - list of fieldsselectFields - list of fields to projectcondition - push down index conditionascOrder - if scan ordering is ascendingpublic <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-2025 Apache Software Foundation. All Rights Reserved.