Package org.apache.calcite.adapter.pig
Class PigTableFactory
- java.lang.Object
-
- org.apache.calcite.adapter.pig.PigTableFactory
-
- All Implemented Interfaces:
TableFactory<PigTable>
public class PigTableFactory extends java.lang.Object implements TableFactory<PigTable>
Factory that creates aPigTable
.Allows a Pig table to be included in a model.json file.
-
-
Constructor Summary
Constructors Constructor Description PigTableFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PigTable
create(SchemaPlus schema, java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> operand, RelDataType rowType)
Creates a Table.
-
-
-
Method Detail
-
create
public PigTable create(SchemaPlus schema, java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> operand, RelDataType rowType)
Description copied from interface:TableFactory
Creates a Table.- Specified by:
create
in interfaceTableFactory<PigTable>
- Parameters:
schema
- Schema this table belongs toname
- Name of this tableoperand
- The "operand" JSON propertyrowType
- Row type. Specified if the "columns" JSON property.
-
-