public static class TableResultImpl.Builder extends Object
TableResultImpl.| Modifier and Type | Method and Description |
|---|---|
TableResultInternal |
build()
Returns a
TableResult instance. |
TableResultImpl.Builder |
data(List<org.apache.flink.types.Row> rowList)
Specifies an row list as the execution result.
|
TableResultImpl.Builder |
jobClient(org.apache.flink.core.execution.JobClient jobClient)
Specifies job client which associates the submitted Flink job.
|
TableResultImpl.Builder |
resultKind(ResultKind resultKind)
Specifies result kind of the execution result.
|
TableResultImpl.Builder |
resultProvider(ResultProvider resultProvider) |
TableResultImpl.Builder |
schema(org.apache.flink.table.catalog.ResolvedSchema resolvedSchema)
Specifies schema of the execution result.
|
TableResultImpl.Builder |
setPrintStyle(org.apache.flink.table.utils.print.PrintStyle printStyle)
Specifies print style.
|
public TableResultImpl.Builder jobClient(org.apache.flink.core.execution.JobClient jobClient)
jobClient - a JobClient for the submitted Flink job.public TableResultImpl.Builder schema(org.apache.flink.table.catalog.ResolvedSchema resolvedSchema)
resolvedSchema - a ResolvedSchema for the execution result.public TableResultImpl.Builder resultKind(ResultKind resultKind)
resultKind - a ResultKind for the execution result.public TableResultImpl.Builder resultProvider(ResultProvider resultProvider)
public TableResultImpl.Builder data(List<org.apache.flink.types.Row> rowList)
rowList - a row list as the execution result.public TableResultImpl.Builder setPrintStyle(org.apache.flink.table.utils.print.PrintStyle printStyle)
TableauStyle with max integer column width.public TableResultInternal build()
TableResult instance.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.