Interface QueryResponse


  • public interface QueryResponse
    An immutable client-side representation of QueryResponse.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long count()
      Gets the count property: Number of records returned in the current response.
      Object data()
      Gets the data property: Query output in JObject array or Table format.
      List<Facet> facets()
      Gets the facets property: Query facets.
      QueryResponseInner innerModel()
      Gets the inner com.azure.resourcemanager.resourcegraph.fluent.models.QueryResponseInner object.
      ResultTruncated resultTruncated()
      Gets the resultTruncated property: Indicates whether the query results are truncated.
      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.
      long totalRecords()
      Gets the totalRecords property: Number of total records matching the query.
    • Method Detail

      • totalRecords

        long totalRecords()
        Gets the totalRecords property: Number of total records matching the query.
        Returns:
        the totalRecords value.
      • count

        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.
      • resultTruncated

        ResultTruncated resultTruncated()
        Gets the resultTruncated property: Indicates whether the query results are truncated.
        Returns:
        the resultTruncated value.
      • skipToken

        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.
      • data

        Object data()
        Gets the data property: Query output in JObject array or Table format.
        Returns:
        the data value.
      • facets

        List<Facet> facets()
        Gets the facets property: Query facets.
        Returns:
        the facets value.
      • innerModel

        QueryResponseInner innerModel()
        Gets the inner com.azure.resourcemanager.resourcegraph.fluent.models.QueryResponseInner object.
        Returns:
        the inner object.