Class FileLocationOptions


  • @PublicApi
    @NotThreadSafe
    public final class FileLocationOptions
    extends java.lang.Object
    Method options for file locations in UnderFileSystem.
    • Method Detail

      • getOffset

        public long getOffset()
        Returns:
        offset within a file in bytes
      • setOffset

        public FileLocationOptions setOffset​(long offset)
        Sets the offset for which locations are to be queried.
        Parameters:
        offset - within a file in bytes
        Returns:
        the updated option object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object