Interface KeyedQuerySource

    • Method Detail

      • getPosition

        java.lang.String getPosition()
        Get the position in the scan.
        Returns:
        an opaque string indicating the scan position. This string can be stored and later passed into setPosition on another KeyedQuerySource instance of the same type.
      • isEOS

        boolean isEOS()
               throws java.lang.Exception
        Check if the scan is complete.
        Returns:
        true if there are no more queries available.
        Throws:
        java.lang.Exception - on any error.
      • next

        KeyedQuery next()
                 throws java.lang.Exception
        Gets the next query from the source.
        Returns:
        The query. Returns null if no query is desired for the particular source entry. (This allows for consistent batch sizing.)
        Throws:
        java.lang.Exception - on any error.