public class PigTable
extends org.apache.calcite.schema.impl.AbstractTable
implements org.apache.calcite.schema.TranslatableTable
LOAD statement.
Only the default load function is supported at this point (PigStorage()).
Only VARCHAR (CHARARRAY in Pig) type supported at this point.
PigTableFactory| Constructor and Description |
|---|
PigTable(String filePath,
String[] fieldNames)
Creates a PigTable.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFilePath() |
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
org.apache.calcite.rel.RelNode |
toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable) |
getJdbcTableType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getRowType in interface org.apache.calcite.schema.Tablepublic String getFilePath()
public org.apache.calcite.rel.RelNode toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable)
toRel in interface org.apache.calcite.schema.TranslatableTableCopyright © 2012-2023 Apache Software Foundation. All Rights Reserved.