Class OffsetRange.Builder

  • Enclosing class:
    OffsetRange

    public static class OffsetRange.Builder
    extends java.lang.Object
    Builder for constructing a OffsetRange
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()  
    • Method Summary

      Modifier and Type Method Description
      OffsetRange build()  
      OffsetRange.Builder length​(java.lang.Long value)  
      OffsetRange.Builder offset​(java.lang.Long value)  
      • Methods inherited from class java.lang.Object

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

      • Builder

        public Builder()
    • Method Detail

      • offset

        public OffsetRange.Builder offset​(java.lang.Long value)
        Parameters:
        value - The start offset for this sub-set of data, where zero is the offset of the first record in the full result set
        Returns:
        The OffsetRange.Builder, enabling method chaining
      • length

        public OffsetRange.Builder length​(java.lang.Long value)
        Parameters:
        value - The length in records of the sub-set of results
        Returns:
        The OffsetRange.Builder, enabling method chaining