Modifier and Type | Method and Description |
---|---|
static ResultInfo |
createResultInfo(ResultSet resultSet,
RowFormat rowFormat,
RowDataLocalTimeZoneConverter timeZoneConverter) |
boolean |
equals(Object o) |
List<ColumnInfo> |
getColumnInfos()
Get the column info of the data.
|
List<RowData> |
getData()
Get the data.
|
List<RowData.FieldGetter> |
getFieldGetters()
Create the
RowData.FieldGetter to get column value in the results. |
ResolvedSchema |
getResultSchema()
Get the schemas of the results.
|
RowFormat |
getRowFormat()
Get the row format about the data.
|
int |
hashCode() |
String |
toString() |
public static ResultInfo createResultInfo(ResultSet resultSet, RowFormat rowFormat, @Nullable RowDataLocalTimeZoneConverter timeZoneConverter)
public List<ColumnInfo> getColumnInfos()
public RowFormat getRowFormat()
public List<RowData.FieldGetter> getFieldGetters()
RowData.FieldGetter
to get column value in the results.
With JSON
format, it uses the ResolvedSchema
to build the getters.
However, it uses StringData
's RowData.FieldGetter
to get the column values.
public ResolvedSchema getResultSchema()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.