QueryResponseInner Class
- java.
lang. Object - com.
azure. resourcemanager. resourcegraph. fluent. models. QueryResponseInner
- com.
public final class QueryResponseInner
Query result.
Constructor Summary
Constructor | Description |
---|---|
QueryResponseInner() |
Creates an instance of Query |
Method Summary
Modifier and Type | Method and Description |
---|---|
long |
count()
Get the count property: Number of records returned in the current response. |
Object |
data()
Get the data property: Query output in JObject array or Table format. |
List<Facet> |
facets()
Get the facets property: Query facets. |
Result |
resultTruncated()
Get the result |
String |
skipToken()
Get the skip |
long |
totalRecords()
Get the total |
void |
validate()
Validates the instance. |
Query |
withCount(long count)
Set the count property: Number of records returned in the current response. |
Query |
withData(Object data)
Set the data property: Query output in JObject array or Table format. |
Query |
withFacets(List<Facet> facets)
Set the facets property: Query facets. |
Query |
withResultTruncated(ResultTruncated resultTruncated)
Set the result |
Query |
withSkipToken(String skipToken)
Set the skip |
Query |
withTotalRecords(long totalRecords)
Set the total |
Methods inherited from java.lang.Object
Constructor Details
QueryResponseInner
public QueryResponseInner()
Creates an instance of QueryResponseInner class.
Method Details
count
public long count()
Get the count property: Number of records returned in the current response. In the case of paging, this is the number of records in the current page.
Returns:
data
public Object data()
Get the data property: Query output in JObject array or Table format.
Returns:
facets
public List
Get the facets property: Query facets.
Returns:
resultTruncated
public ResultTruncated resultTruncated()
Get the resultTruncated property: Indicates whether the query results are truncated.
Returns:
skipToken
public String skipToken()
Get the skipToken property: When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
Returns:
totalRecords
public long totalRecords()
Get the totalRecords property: Number of total records matching the query.
Returns:
validate
public void validate()
Validates the instance.
withCount
public QueryResponseInner withCount(long count)
Set the count property: Number of records returned in the current response. In the case of paging, this is the number of records in the current page.
Parameters:
Returns:
withData
public QueryResponseInner withData(Object data)
Set the data property: Query output in JObject array or Table format.
Parameters:
Returns:
withFacets
public QueryResponseInner withFacets(List
Set the facets property: Query facets.
Parameters:
Returns:
withResultTruncated
public QueryResponseInner withResultTruncated(ResultTruncated resultTruncated)
Set the resultTruncated property: Indicates whether the query results are truncated.
Parameters:
Returns:
withSkipToken
public QueryResponseInner withSkipToken(String skipToken)
Set the skipToken property: When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
Parameters:
Returns:
withTotalRecords
public QueryResponseInner withTotalRecords(long totalRecords)
Set the totalRecords property: Number of total records matching the query.
Parameters:
Returns: