public class PigTable extends AbstractTable implements 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| Modifier and Type | Field and Description |
|---|---|
private String[] |
fieldNames |
private String |
filePath |
| Constructor and Description |
|---|
PigTable(String filePath,
String[] fieldNames)
Creates a PigTable.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFilePath() |
RelDataType |
getRowType(RelDataTypeFactory typeFactory) |
RelNode |
toRel(RelOptTable.ToRelContext context,
RelOptTable relOptTable) |
getJdbcTableType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJdbcTableType, getStatistic, isRolledUp, rolledUpColumnValidInsideAggpublic RelDataType getRowType(RelDataTypeFactory typeFactory)
getRowType in interface Tablepublic String getFilePath()
public RelNode toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable)
toRel in interface TranslatableTableCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.