Class TableResultUtils
- java.lang.Object
-
- org.apache.flink.table.api.internal.TableResultUtils
-
@Internal public class TableResultUtils extends Object
Utilities to buildTableResultInternal
.
-
-
Constructor Summary
Constructors Constructor Description TableResultUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TableResultInternal
buildStringArrayResult(String columnName, String[] values)
Build aTableResultInternal
forString[]
values with single column.static TableResultInternal
buildTableResult(String[] headers, DataType[] types, Object[][] rows)
-
-
-
Method Detail
-
buildStringArrayResult
public static TableResultInternal buildStringArrayResult(String columnName, String[] values)
Build aTableResultInternal
forString[]
values with single column.- Parameters:
columnName
- the column name of the result values.values
- the string values of the result.
-
buildTableResult
public static TableResultInternal buildTableResult(String[] headers, DataType[] types, Object[][] rows)
-
-