Package alluxio.underfs.options
Class FileLocationOptions
- java.lang.Object
-
- alluxio.underfs.options.FileLocationOptions
-
@PublicApi @NotThreadSafe public final class FileLocationOptions extends java.lang.Object
Method options for file locations inUnderFileSystem
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FileLocationOptions
defaults()
boolean
equals(java.lang.Object o)
long
getOffset()
int
hashCode()
FileLocationOptions
setOffset(long offset)
Sets the offset for which locations are to be queried.java.lang.String
toString()
-
-
-
Method Detail
-
defaults
public static FileLocationOptions defaults()
- Returns:
- the default
FileLocationOptions
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-