Package com.twilio.kudu.sql.schema
Class KuduSchema
java.lang.Object
org.apache.calcite.schema.impl.AbstractSchema
com.twilio.kudu.sql.schema.KuduSchema
- All Implemented Interfaces:
org.apache.calcite.schema.Schema
public final class KuduSchema
extends org.apache.calcite.schema.impl.AbstractSchema
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.schema.impl.AbstractSchema
org.apache.calcite.schema.impl.AbstractSchema.Factory
Nested classes/interfaces inherited from interface org.apache.calcite.schema.Schema
org.apache.calcite.schema.Schema.TableType
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionKuduSchema
(org.apache.calcite.schema.SchemaPlus parentSchema, String name, String connectString, Map<String, KuduTableMetadata> kuduTableMetadataMap, Map<String, Object> propertyMap) -
Method Summary
Modifier and TypeMethodDescriptionvoid
assignHints
(org.apache.calcite.util.Holder<org.apache.calcite.sql2rel.SqlToRelConverter.Config> configHolder) void
org.apache.kudu.client.AsyncKuduClient
Methods inherited from class org.apache.calcite.schema.impl.AbstractSchema
getExpression, getFunctionMultimap, getFunctionNames, getFunctions, getSubSchema, getSubSchemaMap, getSubSchemaNames, getTable, getTableNames, getType, getTypeMap, getTypeNames, isMutable, snapshot
-
Field Details
-
KUDU_CONNECTION_STRING
-
ENABLE_INSERTS_FLAG
-
DISABLE_CUBE_AGGREGATIONS
-
CREATE_DUMMY_PARTITION_FLAG
-
READ_SNAPSHOT_TIME_DIFFERENCE
-
DISABLE_SCHEMA_CACHE
-
DISABLE_MATERIALIZED_VIEWS
-
enableInserts
public final boolean enableInserts -
disableCubeAggregation
public final boolean disableCubeAggregation -
disableMaterializedViews
public final boolean disableMaterializedViews -
createDummyPartition
public final boolean createDummyPartition -
readSnapshotTimeDifference
public final long readSnapshotTimeDifference
-
-
Constructor Details
-
KuduSchema
-
-
Method Details
-
clearCachedTableMap
public void clearCachedTableMap() -
getTableMap
- Overrides:
getTableMap
in classorg.apache.calcite.schema.impl.AbstractSchema
-
getClient
public org.apache.kudu.client.AsyncKuduClient getClient() -
assignHints
public void assignHints(org.apache.calcite.util.Holder<org.apache.calcite.sql2rel.SqlToRelConverter.Config> configHolder)
-