@PublicApi @ThreadSafe public enum LoadMetadataType extends Enum<LoadMetadataType>
Enum Constant and Description |
---|
ALWAYS
Always load metadata when listing status on a directory.
|
NEVER
Never loads metadata.
|
ONCE
Loads metadata only at the first time of listing status on a directory.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static LoadMetadataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadMetadataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadMetadataType NEVER
public static final LoadMetadataType ONCE
public static final LoadMetadataType ALWAYS
public static LoadMetadataType[] values()
for (LoadMetadataType c : LoadMetadataType.values()) System.out.println(c);
public static LoadMetadataType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
Copyright © 2023. All Rights Reserved.