Class ResultInfo
java.lang.Object
org.apache.flink.table.gateway.rest.serde.ResultInfo
A
ResultInfo contains information of a ResultSet. It is designed for transferring
the information of ResultSet via REST. For its serialization and deserialization, See:
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResultInfocreateResultInfo(org.apache.flink.table.gateway.api.results.ResultSet resultSet, RowFormat rowFormat, RowDataLocalTimeZoneConverter timeZoneConverter) booleanGet the column info of the data.List<org.apache.flink.table.data.RowData>getData()Get the data.List<org.apache.flink.table.data.RowData.FieldGetter>Create theRowData.FieldGetterto get column value in the results.org.apache.flink.table.catalog.ResolvedSchemaGet the schemas of the results.Get the row format about the data.inthashCode()toString()
-
Method Details
-
createResultInfo
public static ResultInfo createResultInfo(org.apache.flink.table.gateway.api.results.ResultSet resultSet, RowFormat rowFormat, @Nullable RowDataLocalTimeZoneConverter timeZoneConverter) -
getColumnInfos
Get the column info of the data. -
getData
Get the data. -
getRowFormat
Get the row format about the data. -
getFieldGetters
Create theRowData.FieldGetterto get column value in the results.With
JSONformat, it uses theResolvedSchemato build the getters. However, it usesStringData'sRowData.FieldGetterto get the column values. -
getResultSchema
public org.apache.flink.table.catalog.ResolvedSchema getResultSchema()Get the schemas of the results. -
equals
-
hashCode
public int hashCode() -
toString
-