Class RawReadRowsCursorsRequestProvider

    • Field Detail

      • DEFAULT_PARAMETER_NUMBER_OF_CURSORS

        protected static final int DEFAULT_PARAMETER_NUMBER_OF_CURSORS
        See Also:
        Constant Field Values
      • LOG

        protected final org.slf4j.Logger LOG
      • randomIdString

        protected final String randomIdString
    • Constructor Detail

      • RawReadRowsCursorsRequestProvider

        public RawReadRowsCursorsRequestProvider()
    • Method Detail

      • withRequest

        public RawReadRowsCursorsRequestProvider withRequest​(Request parameters)
        Description copied from interface: RequestProvider
        Set the baseline Request to build requests from. This is typically the application-provided Request that kicks off a potential series of requests (in the case of iterating over a results set). This baseline Request do not change over the life-cycle of a request-response series.
        Returns:
      • buildRequest

        public okhttp3.Request buildRequest​(Optional<String> cursor)
                                     throws IOException,
                                            URISyntaxException
        Description copied from interface: RequestProvider
        Builds a request based on the basline RequestParameters provided via the withRequestParameters method. If a cursor is provided, this will typically lead the RequestProvider to modify the underlying Request. In order to get the exact Request used to build the latest request, call the getEffectiveRequestParameters method.
        Returns:
        Throws:
        IOException
        URISyntaxException
      • getSdkIdentifier

        public abstract String getSdkIdentifier()
      • getAppIdentifier

        public abstract String getAppIdentifier()
      • getSessionIdentifier

        public abstract String getSessionIdentifier()
      • getEndpoint

        public abstract String getEndpoint()
      • getRequest

        public abstract Request getRequest()
      • isBetaEnabled

        public abstract boolean isBetaEnabled()