Package org.apache.calcite.adapter.redis
Class RedisTableFactory
java.lang.Object
org.apache.calcite.adapter.redis.RedisTableFactory
- All Implemented Interfaces:
TableFactory
Implementation of
TableFactory for Redis.
A table corresponds to what Redis calls a "data source".
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate(SchemaPlus schema, String tableName, Map operand, @Nullable RelDataType rowType) Creates a Table.
-
Field Details
-
INSTANCE
-
-
Method Details
-
create
public Table create(SchemaPlus schema, String tableName, Map operand, @Nullable RelDataType rowType) Description copied from interface:TableFactoryCreates a Table.- Specified by:
createin interfaceTableFactory- Parameters:
schema- Schema this table belongs totableName- Name of this tableoperand- The "operand" JSON propertyrowType- Row type. Specified if the "columns" JSON property.- Returns:
- created table
-