@Internal public class JavaDataStreamQueryOperation<E> extends Object implements QueryOperation
DataStream
.
This operation may expose only part, or change the order of the fields available in a CompositeType
of the underlying DataStream
. The
getFieldIndices()
describes the mapping between fields of
the TableSchema
to the CompositeType
.
Constructor and Description |
---|
JavaDataStreamQueryOperation(DataStream<E> dataStream,
int[] fieldIndices,
TableSchema tableSchema) |
JavaDataStreamQueryOperation(ObjectIdentifier identifier,
DataStream<E> dataStream,
int[] fieldIndices,
TableSchema tableSchema) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(QueryOperationVisitor<T> visitor) |
String |
asSummaryString()
Returns a string that summarizes this operation for printing to a console.
|
List<QueryOperation> |
getChildren() |
DataStream<E> |
getDataStream() |
int[] |
getFieldIndices() |
Optional<ObjectIdentifier> |
getIdentifier() |
TableSchema |
getTableSchema()
Resolved schema of this operation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asSerializableString
public JavaDataStreamQueryOperation(DataStream<E> dataStream, int[] fieldIndices, TableSchema tableSchema)
public JavaDataStreamQueryOperation(ObjectIdentifier identifier, DataStream<E> dataStream, int[] fieldIndices, TableSchema tableSchema)
public DataStream<E> getDataStream()
public Optional<ObjectIdentifier> getIdentifier()
public int[] getFieldIndices()
public TableSchema getTableSchema()
QueryOperation
getTableSchema
in interface QueryOperation
public String asSummaryString()
Operation
asSummaryString
in interface Operation
public List<QueryOperation> getChildren()
getChildren
in interface QueryOperation
public <T> T accept(QueryOperationVisitor<T> visitor)
accept
in interface QueryOperation
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.