@Internal public interface SelectTableSink extends TableSink<Row>
TableSink
to collect the select query result to local client.Modifier and Type | Method and Description |
---|---|
default TableSink<Row> |
configure(String[] fieldNames,
TypeInformation<?>[] fieldTypes)
Returns a copy of this
TableSink configured with the field names and types of the
table to emit. |
CloseableIterator<Row> |
getResultIterator()
Returns the select result as row iterator.
|
void |
setJobClient(JobClient jobClient)
Set the job client associated with the select job to retrieve the result.
|
getConsumedDataType, getFieldNames, getFieldTypes, getOutputType, getTableSchema
default TableSink<Row> configure(String[] fieldNames, TypeInformation<?>[] fieldTypes)
TableSink
TableSink
configured with the field names and types of the
table to emit.void setJobClient(JobClient jobClient)
CloseableIterator<Row> getResultIterator()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.