Class RedisTableFactory

java.lang.Object
org.apache.calcite.adapter.redis.RedisTableFactory
All Implemented Interfaces:
TableFactory

public class RedisTableFactory extends Object implements TableFactory
Implementation of TableFactory for Redis.

A table corresponds to what Redis calls a "data source".

  • Field Details

  • Method Details

    • create

      public Table create(SchemaPlus schema, String tableName, Map operand, @Nullable RelDataType rowType)
      Description copied from interface: TableFactory
      Creates a Table.
      Specified by:
      create in interface TableFactory
      Parameters:
      schema - Schema this table belongs to
      tableName - Name of this table
      operand - The "operand" JSON property
      rowType - Row type. Specified if the "columns" JSON property.
      Returns:
      created table