public class ScalaBatchTranslator extends PlanTranslator
PlanTranslator
for creating Table
s from Scala DataSet
s and
translating them back to Scala DataSet
s.Constructor and Description |
---|
ScalaBatchTranslator() |
Modifier and Type | Method and Description |
---|---|
<A> Table |
createTable(DataSet<A> repr,
CompositeType<A> inputType,
Expression[] expressions,
scala.collection.Seq<scala.Tuple2<String,TypeInformation<?>>> resultFields) |
<A> Table |
createTable(DataSet<A> repr,
Expression[] fields) |
<O> DataSet<O> |
translate(PlanNode op,
TypeInformation<O> tpe)
Translates the given Table API
PlanNode back to the underlying representation, i.e,
a DataSet or a DataStream. |
createTable, createTable, createTable, createTable
public <A> Table createTable(DataSet<A> repr, Expression[] fields)
public <O> DataSet<O> translate(PlanNode op, TypeInformation<O> tpe)
PlanTranslator
PlanNode
back to the underlying representation, i.e,
a DataSet or a DataStream.translate
in class PlanTranslator
public <A> Table createTable(DataSet<A> repr, CompositeType<A> inputType, Expression[] expressions, scala.collection.Seq<scala.Tuple2<String,TypeInformation<?>>> resultFields)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.