Package org.teiid.dqp.internal.process
Enum SessionAwareCache.Type
- java.lang.Object
-
- java.lang.Enum<SessionAwareCache.Type>
-
- org.teiid.dqp.internal.process.SessionAwareCache.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<SessionAwareCache.Type>
- Enclosing class:
- SessionAwareCache<T>
public static enum SessionAwareCache.Type extends Enum<SessionAwareCache.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PREPAREDPLAN
RESULTSET
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SessionAwareCache.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static SessionAwareCache.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESULTSET
public static final SessionAwareCache.Type RESULTSET
-
PREPAREDPLAN
public static final SessionAwareCache.Type PREPAREDPLAN
-
-
Method Detail
-
values
public static SessionAwareCache.Type[] 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 (SessionAwareCache.Type c : SessionAwareCache.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SessionAwareCache.Type 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
-
-