@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.
Modifier and Type | Class and Description |
---|---|
static class |
LayoutVersion.Feature
Enums for features that change the layout version.
|
Modifier and Type | Field and Description |
---|---|
static int |
BUGFIX_HDFS_2991_VERSION
Version in which HDFS-2991 was fixed.
|
Constructor and Description |
---|
LayoutVersion() |
Modifier and Type | Method and Description |
---|---|
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 © 2013 Apache Software Foundation. All rights reserved.