public enum DatasetFormatVersion extends Enum<DatasetFormatVersion>
Specifies serialization format versions of staging data sets. Applications
that need compatibility with older DataRush versions in later processing
steps may need to specify a format version explicitly in order to write an
old format. If no format version is specified, the current format version
(CURRENT_VERSION
) is used by default.
NOTE: Data set format versions change more slowly than DataRush SDK versions. See the individual format versions for their corresponding DataRush versions.
Enum Constant and Description |
---|
v2_0 |
v3_0
Sparse dataset incompatibility introduced
|
Modifier and Type | Field and Description |
---|---|
static DatasetFormatVersion |
CURRENT_VERSION
Most recent format version for staging data sets
|
Modifier and Type | Method and Description |
---|---|
static DatasetFormatVersion |
getVersion(String versionString)
Get version object from its String representation.
|
String |
getVersionString()
Get String representation of version object
|
static DatasetFormatVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatasetFormatVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatasetFormatVersion v2_0
public static final DatasetFormatVersion v3_0
public static final DatasetFormatVersion CURRENT_VERSION
public static DatasetFormatVersion[] values()
for (DatasetFormatVersion c : DatasetFormatVersion.values()) System.out.println(c);
public static DatasetFormatVersion 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 getVersionString()
public static DatasetFormatVersion getVersion(String versionString)
versionString
- string representation of the version number ("1.0", "2.0" etc).getVersionString()
Copyright © 2016 Actian Corporation. All rights reserved.