Class ResultInfo
- java.lang.Object
-
- org.apache.flink.table.gateway.rest.serde.ResultInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 theRowData.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()
-
-
-
Method Detail
-
createResultInfo
public static ResultInfo createResultInfo(ResultSet resultSet, RowFormat rowFormat, @Nullable RowDataLocalTimeZoneConverter timeZoneConverter)
-
getColumnInfos
public List<ColumnInfo> getColumnInfos()
Get the column info of the data.
-
getRowFormat
public RowFormat getRowFormat()
Get the row format about the data.
-
getFieldGetters
public List<RowData.FieldGetter> getFieldGetters()
Create theRowData.FieldGetter
to get column value in the results.With
JSON
format, it uses theResolvedSchema
to build the getters. However, it usesStringData
'sRowData.FieldGetter
to get the column values.
-
getResultSchema
public ResolvedSchema getResultSchema()
Get the schemas of the results.
-
-