@InterfaceAudience.Private public class LayoutVersion extends Object
LayoutVersion.Feature
with a short enum name, new layout version and description
of the change. Please see LayoutVersion.Feature
for further details.
限定符和类型 | 类和说明 |
---|---|
static class |
LayoutVersion.Feature
Enums for features that change the layout version.
|
限定符和类型 | 字段和说明 |
---|---|
static int |
BUGFIX_HDFS_2991_VERSION
Version in which HDFS-2991 was fixed.
|
构造器和说明 |
---|
LayoutVersion() |
限定符和类型 | 方法和说明 |
---|---|
static int |
getCurrentLayoutVersion()
Get the current layout version
|
static String |
getString()
Gets formatted string that describes
LayoutVersion information. |
static boolean |
supports(LayoutVersion.Feature f,
int lv)
Returns true if a given feature is supported in the given layout version
|
public static final int BUGFIX_HDFS_2991_VERSION
public static String getString()
LayoutVersion
information.public static boolean supports(LayoutVersion.Feature f, int lv)
f
- Featurelv
- LayoutVersionf
is supported in layout version lv
public static int getCurrentLayoutVersion()
Copyright © 2009 The Apache Software Foundation