Class QueryResultInfo
java.lang.Object
io.micronaut.data.model.runtime.QueryResultInfo
The information about query result info for the query method.
- Since:
- 4.0.0
- Author:
- radovanradic
-
Constructor Summary
ConstructorsConstructorDescriptionQueryResultInfo(QueryResult.Type type, @Nullable String columnName, @Nullable JsonDataType jsonDataType) -
Method Summary
-
Constructor Details
-
QueryResultInfo
public QueryResultInfo(QueryResult.Type type, @Nullable String columnName, @Nullable JsonDataType jsonDataType)
-
-
Method Details
-
getColumnName
- Returns:
- the column name from which result will be read and transformed. Used only if
typeis JSON
-
getJsonDataType
- Returns:
- the json representation data type
-
getType
- Returns:
- the query result type
-
toString
-