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)