public static enum VolumeManager.FileType extends Enum<VolumeManager.FileType>
Modifier and Type | Method and Description |
---|---|
String |
getDirectory() |
org.apache.hadoop.fs.Path |
getVolume(org.apache.hadoop.fs.Path path) |
org.apache.hadoop.fs.Path |
removeVolume(org.apache.hadoop.fs.Path path) |
static VolumeManager.FileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VolumeManager.FileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VolumeManager.FileType TABLE
public static final VolumeManager.FileType WAL
public static final VolumeManager.FileType RECOVERY
public static VolumeManager.FileType[] values()
for (VolumeManager.FileType c : VolumeManager.FileType.values()) System.out.println(c);
public static VolumeManager.FileType 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 String getDirectory()
public org.apache.hadoop.fs.Path getVolume(org.apache.hadoop.fs.Path path)
public org.apache.hadoop.fs.Path removeVolume(org.apache.hadoop.fs.Path path)
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.