Package org.teiid.dqp.internal.process
Enum DQPWorkContext.Version
- java.lang.Object
-
- java.lang.Enum<DQPWorkContext.Version>
-
- org.teiid.dqp.internal.process.DQPWorkContext.Version
-
- All Implemented Interfaces:
Serializable
,Comparable<DQPWorkContext.Version>
- Enclosing class:
- DQPWorkContext
public static enum DQPWorkContext.Version extends Enum<DQPWorkContext.Version>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getClientSerializationVersion()
static DQPWorkContext.Version
getVersion(String version)
static DQPWorkContext.Version
latest()
String
toString()
static DQPWorkContext.Version
valueOf(String name)
Returns the enum constant of this type with the specified name.static DQPWorkContext.Version[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EIGHT_0
public static final DQPWorkContext.Version EIGHT_0
-
EIGHT_2
public static final DQPWorkContext.Version EIGHT_2
-
EIGHT_4
public static final DQPWorkContext.Version EIGHT_4
-
EIGHT_6
public static final DQPWorkContext.Version EIGHT_6
-
EIGHT_7
public static final DQPWorkContext.Version EIGHT_7
-
EIGHT_10
public static final DQPWorkContext.Version EIGHT_10
-
ELEVEN_2
public static final DQPWorkContext.Version ELEVEN_2
-
-
Method Detail
-
values
public static DQPWorkContext.Version[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DQPWorkContext.Version c : DQPWorkContext.Version.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DQPWorkContext.Version valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getClientSerializationVersion
public byte getClientSerializationVersion()
-
toString
public String toString()
- Overrides:
toString
in classEnum<DQPWorkContext.Version>
-
getVersion
public static DQPWorkContext.Version getVersion(String version)
-
latest
public static DQPWorkContext.Version latest()
-
-