public class DataStreamTable<T> extends FlinkTable<T>
Constructor and Description |
---|
DataStreamTable(DataStream<T> dataStream,
int[] fieldIndexes,
String[] fieldNames,
scala.Option<scala.Tuple2<Object,String>> rowtime,
scala.Option<scala.Tuple2<Object,String>> proctime,
FlinkStatistic statistic) |
Modifier and Type | Method and Description |
---|---|
DataStream<T> |
dataStream() |
int[] |
fieldIndexes() |
String[] |
fieldNames() |
static TypeInformation<?>[] |
fieldTypes() |
static org.apache.calcite.schema.Schema.TableType |
getJdbcTableType() |
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
static org.apache.calcite.schema.Statistic |
getStatistic() |
scala.Option<scala.Tuple2<Object,String>> |
proctime() |
scala.Option<scala.Tuple2<Object,String>> |
rowtime() |
FlinkStatistic |
statistic() |
static TypeInformation<T> |
typeInfo() |
fieldTypes, getStatistic, typeInfo
public DataStreamTable(DataStream<T> dataStream, int[] fieldIndexes, String[] fieldNames, scala.Option<scala.Tuple2<Object,String>> rowtime, scala.Option<scala.Tuple2<Object,String>> proctime, FlinkStatistic statistic)
public static org.apache.calcite.schema.Schema.TableType getJdbcTableType()
public static TypeInformation<T> typeInfo()
public static TypeInformation<?>[] fieldTypes()
public static org.apache.calcite.schema.Statistic getStatistic()
public DataStream<T> dataStream()
public int[] fieldIndexes()
fieldIndexes
in class FlinkTable<T>
public String[] fieldNames()
fieldNames
in class FlinkTable<T>
public FlinkStatistic statistic()
statistic
in class FlinkTable<T>
public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getRowType
in interface org.apache.calcite.schema.Table
getRowType
in class FlinkTable<T>
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.