Package alluxio.underfs.options
Class ListOptions
- java.lang.Object
-
- alluxio.underfs.options.ListOptions
-
@PublicApi @NotThreadSafe public final class ListOptions extends java.lang.Object
Method options for listing a directory in UnderFileSystem.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListOptions
defaults()
boolean
equals(java.lang.Object o)
int
hashCode()
boolean
isRecursive()
ListOptions
setRecursive(boolean recursive)
Sets recursive list.java.lang.String
toString()
-
-
-
Method Detail
-
defaults
public static ListOptions defaults()
- Returns:
- the default
ListOptions
-
isRecursive
public boolean isRecursive()
- Returns:
- whether to list a directory recursively
-
setRecursive
public ListOptions setRecursive(boolean recursive)
Sets recursive list.- Parameters:
recursive
- whether to list recursively- 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
-
-