Package org.apache.calcite.test
Class JdbcTest.EmpDeptTableFactory
- java.lang.Object
-
- org.apache.calcite.test.JdbcTest.EmpDeptTableFactory
-
- All Implemented Interfaces:
org.apache.calcite.schema.TableFactory<org.apache.calcite.schema.Table>
- Enclosing class:
- JdbcTest
public static class JdbcTest.EmpDeptTableFactory extends java.lang.Object implements org.apache.calcite.schema.TableFactory<org.apache.calcite.schema.Table>
Factory for EMP and DEPT tables.
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.calcite.util.TryThreadLocal<java.util.List<JdbcTest.Employee>>
THREAD_COLLECTION
-
Constructor Summary
Constructors Constructor Description EmpDeptTableFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.calcite.schema.Table
create(org.apache.calcite.schema.SchemaPlus schema, java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> operand, org.apache.calcite.rel.type.RelDataType rowType)
-
-
-
Field Detail
-
THREAD_COLLECTION
public static final org.apache.calcite.util.TryThreadLocal<java.util.List<JdbcTest.Employee>> THREAD_COLLECTION
-
-
Method Detail
-
create
public org.apache.calcite.schema.Table create(org.apache.calcite.schema.SchemaPlus schema, java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> operand, org.apache.calcite.rel.type.RelDataType rowType)
- Specified by:
create
in interfaceorg.apache.calcite.schema.TableFactory<org.apache.calcite.schema.Table>
-
-