Class QueryRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20200601")
    public class QueryRequest
    extends BmcRequest<QueryDetails>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/loganalytics/QueryExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use QueryRequest.

    • Constructor Detail

      • QueryRequest

        public QueryRequest()
    • Method Detail

      • getNamespaceName

        public String getNamespaceName()
        The Logging Analytics namespace used for the request.
      • getQueryDetails

        public QueryDetails getQueryDetails()
        Query to be executed.
      • getPage

        public String getPage()
        The page token representing the page at which to start retrieving results.

        This is usually retrieved from a previous list call.

      • getOpcRequestId

        public String getOpcRequestId()
        The client request ID for tracing.
      • getLimit

        public Integer getLimit()
        Maximum number of results to return in this request.

        Note a limit=-1 returns all results from pageId onwards up to maxtotalCount.

      • supportsExpect100Continue

        public boolean supportsExpect100Continue()
        Description copied from class: BmcRequest
        Returns true if this operation supports Expect: 100-Continue.
        Overrides:
        supportsExpect100Continue in class BmcRequest<QueryDetails>
        Returns:
        true if this operation supports Expect: 100-Continue.
      • builder

        public static QueryRequest.Builder builder()
        Return a new builder for this request object.
        Returns:
        builder for the request object
      • equals

        public boolean equals​(Object o)
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
        Overrides:
        equals in class BmcRequest<QueryDetails>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<QueryDetails>