Package com.tibco.patterns.deduplication

## Interface KeyedQuerySource

- All Known Implementing Classes:
    `CursorQuerySource`, `JoinsetQuerySource`, `NetricsRecQuerySource`, `TableQuerySource`

      public interface KeyedQuerySource

  Interface to scan a source of NetricsQuerys.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getPosition()` | Get the position in the scan.
    `boolean` | `isEOS()` | Check if the scan is complete.
    `KeyedQuery` | `next()` | Gets the next query from the source.

- - ### 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.