共用方式為


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 QueryResponseInner innerModel()

Gets the inner com.azure.resourcemanager.resourcegraph.fluent.models.QueryResponseInner object.

abstract ResultTruncated resultTruncated()

Gets the resultTruncated property: Indicates whether the query results are truncated.

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.

abstract long totalRecords()

Gets the totalRecords property: Number of total records matching the query.

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:

the count value.

data

public abstract Object data()

Gets the data property: Query output in JObject array or Table format.

Returns:

the data value.

facets

public abstract List facets()

Gets the facets property: Query facets.

Returns:

the facets value.

innerModel

public abstract QueryResponseInner innerModel()

Gets the inner com.azure.resourcemanager.resourcegraph.fluent.models.QueryResponseInner object.

Returns:

the inner object.

resultTruncated

public abstract ResultTruncated resultTruncated()

Gets the resultTruncated property: Indicates whether the query results are truncated.

Returns:

the resultTruncated value.

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:

the skipToken value.

totalRecords

public abstract long totalRecords()

Gets the totalRecords property: Number of total records matching the query.

Returns:

the totalRecords value.

Applies to