Class TableResultUtils

    • Constructor Detail

      • TableResultUtils

        public TableResultUtils()
    • Method Detail

      • buildStringArrayResult

        public static TableResultInternal buildStringArrayResult​(String columnName,
                                                                 String[] values)
        Build a TableResultInternal for String[] 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,
                                                           org.apache.flink.table.types.DataType[] types,
                                                           Object[][] rows)
      • buildPrintStyle

        public static org.apache.flink.table.utils.print.PrintStyle buildPrintStyle​(org.apache.flink.table.catalog.ResolvedSchema schema,
                                                                                    org.apache.flink.table.utils.print.RowDataToStringConverter converter)