Class InfiniteOrdersStreamTableFactory
java.lang.Object
org.apache.calcite.test.schemata.orderstream.InfiniteOrdersStreamTableFactory
- All Implemented Interfaces:
TableFactory<Table>
Mock table that returns a stream of orders from a fixed array.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(SchemaPlus schema, String name, Map<String, Object> operand, @Nullable RelDataType rowType) Creates a Table.
-
Constructor Details
-
InfiniteOrdersStreamTableFactory
public InfiniteOrdersStreamTableFactory()
-
-
Method Details
-
create
public Table create(SchemaPlus schema, String name, Map<String, Object> operand, @Nullable RelDataType rowType) Description copied from interface:TableFactory
Creates a Table.- Specified by:
create
in interfaceTableFactory<Table>
- Parameters:
schema
- Schema this table belongs toname
- Name of this tableoperand
- The "operand" JSON propertyrowType
- Row type. Specified if the "columns" JSON property.- Returns:
- created table
-