@Internal public class TableResultUtils extends Object
TableResultInternal
.Constructor and Description |
---|
TableResultUtils() |
Modifier and Type | Method and Description |
---|---|
static TableResultInternal |
buildStringArrayResult(String columnName,
String[] values)
Build a
TableResultInternal for String[] values with single column. |
static TableResultInternal |
buildTableResult(String[] headers,
DataType[] types,
Object[][] rows) |
public static TableResultInternal buildStringArrayResult(String columnName, String[] values)
TableResultInternal
for String[]
values with single column.columnName
- the column name of the result values.values
- the string values of the result.public static TableResultInternal buildTableResult(String[] headers, DataType[] types, Object[][] rows)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.