public abstract class Table extends org.apache.calcite.adapter.java.AbstractQueryableTable implements org.apache.calcite.schema.ModifiableTable, Closeable
| Modifier and Type | Class and Description |
|---|---|
static class |
Table.ComparableArrayComparator |
| Modifier and Type | Field and Description |
|---|---|
static Comparable[] |
EMPTY_VALUE |
| 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) |
void |
configure(Map<String,?> configs) |
Map<String,Object> |
getConfigs() |
int[] |
getKeyIndices() |
Collection |
getModifiableCollection() |
String |
getName() |
RelDef |
getRelDef() |
protected abstract VersionedCache |
getRows() |
org.apache.calcite.rel.type.RelDataType |
getRowType() |
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
Schema |
getSchema() |
static int[] |
identityList(int n)
Returns an array of integers {0, ..., n - 1}.
|
abstract void |
init() |
void |
setRelDef(RelDef relDef) |
int |
size() |
abstract void |
sync() |
static Object[] |
toArray(Object o) |
org.apache.calcite.util.Pair<Comparable[],Comparable[]> |
toKeyValue(Object o) |
org.apache.calcite.rel.core.TableModify |
toModificationRel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelOptTable table,
org.apache.calcite.prepare.Prepare.CatalogReader catalogReader,
org.apache.calcite.rel.RelNode child,
org.apache.calcite.rel.core.TableModify.Operation operation,
List<String> updateColumnList,
List<org.apache.calcite.rex.RexNode> sourceExpressionList,
boolean flattened) |
Object |
toRow(io.kcache.KeyValue<Comparable[],VersionedValue> entry) |
getElementType, getExpressiongetJdbcTableType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementType, getExpressionpublic static final Comparable[] EMPTY_VALUE
public abstract void init()
public abstract void sync()
public Schema getSchema()
public int[] getKeyIndices()
public int size()
public org.apache.calcite.rel.core.TableModify toModificationRel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelOptTable table,
org.apache.calcite.prepare.Prepare.CatalogReader catalogReader,
org.apache.calcite.rel.RelNode child,
org.apache.calcite.rel.core.TableModify.Operation operation,
List<String> updateColumnList,
List<org.apache.calcite.rex.RexNode> sourceExpressionList,
boolean flattened)
toModificationRel in interface org.apache.calcite.schema.ModifiableTablepublic Collection getModifiableCollection()
getModifiableCollection in interface org.apache.calcite.schema.ModifiableTableprotected abstract VersionedCache getRows()
public <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 String getName()
public RelDef getRelDef()
public void setRelDef(RelDef relDef)
public org.apache.calcite.rel.type.RelDataType getRowType()
public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getRowType in interface org.apache.calcite.schema.Tablepublic static int[] identityList(int n)
public org.apache.calcite.util.Pair<Comparable[],Comparable[]> toKeyValue(Object o)
public Object toRow(io.kcache.KeyValue<Comparable[],VersionedValue> entry)
Copyright © 2020. All rights reserved.