QueryResponse Interface
public interface QueryResponse
An immutable client-side representation of QueryResponse.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract long |
count()
Gets the count property: Number of records returned in the current response. |
abstract Object |
data()
Gets the data property: Query output in JObject array or Table format. |
abstract List<Facet> |
facets()
Gets the facets property: Query facets. |
abstract
Query |
innerModel()
Gets the inner com. |
abstract
Result |
resultTruncated()
Gets the result |
abstract String |
skipToken()
Gets the skip |
abstract long |
totalRecords()
Gets the total |
Method Details
count
public abstract long count()
Gets 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 abstract Object data()
Gets the data property: Query output in JObject array or Table format.
Returns:
facets
public abstract List
Gets the facets property: Query facets.
Returns:
innerModel
public abstract QueryResponseInner innerModel()
Gets the inner com.azure.resourcemanager.resourcegraph.fluent.models.QueryResponseInner object.
Returns:
resultTruncated
public abstract ResultTruncated resultTruncated()
Gets the resultTruncated property: Indicates whether the query results are truncated.
Returns:
skipToken
public abstract String skipToken()
Gets 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 abstract long totalRecords()
Gets the totalRecords property: Number of total records matching the query.
Returns:
Applies to
Azure SDK for Java