Class EurekaContinuationKey


  • public class EurekaContinuationKey
    extends java.lang.Object
    Generator and parser for the continuation key used by the EUREKA search
    Since:
    08.07.2024
    Author:
    weiland
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String generate()
      generate the key
      int getSkip()
      get the number of records to skip
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EurekaContinuationKey

        public EurekaContinuationKey​(int skip)
        Create a new continuation
        Parameters:
        skip - number of records to skip
      • EurekaContinuationKey

        public EurekaContinuationKey​(java.lang.String key)
        Parse the continuation key
        Parameters:
        key - continuation key
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • generate

        public java.lang.String generate()
        generate the key
        Returns:
        key
      • getSkip

        public int getSkip()
        get the number of records to skip
        Returns:
        number of records