public static class QueryResultResponse.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
QueryResultResponse |
build() |
QueryResultResponse.Builder |
copy(QueryResultResponse model) |
QueryResultResponse.Builder |
queryResultMetadata(Map<String,Object> queryResultMetadata)
A map containing metadata or additional information.
|
QueryResultResponse.Builder |
queryResultMetadataSummary(QueryResultMetadataSummary queryResultMetadataSummary) |
QueryResultResponse.Builder |
queryResultRows(List<QueryResultRow> queryResultRows)
A collection of objects with each object representing an individual row of the query
result set.
|
QueryResultResponse.Builder |
queryResultWarnings(List<QueryResultWarning> queryResultWarnings)
A structure that provides warnings, if any, along with the query results.
|
public QueryResultResponse.Builder queryResultMetadataSummary(QueryResultMetadataSummary queryResultMetadataSummary)
public QueryResultResponse.Builder queryResultRows(List<QueryResultRow> queryResultRows)
A collection of objects with each object representing an individual row of the query result set. The total number of objects returned in this collection correspond to the total number of rows returned by the actual query that is run against the queried entity.
queryResultRows
- the value to setpublic QueryResultResponse.Builder queryResultMetadata(Map<String,Object> queryResultMetadata)
A map containing metadata or additional information.
queryResultMetadata
- the value to setpublic QueryResultResponse.Builder queryResultWarnings(List<QueryResultWarning> queryResultWarnings)
A structure that provides warnings, if any, along with the query results.
queryResultWarnings
- the value to setpublic QueryResultResponse build()
public QueryResultResponse.Builder copy(QueryResultResponse model)
Copyright © 2016–2024. All rights reserved.