Package adams.flow.transformer
Enum AbstractReportDbUpdater.QueryType
- java.lang.Object
-
- java.lang.Enum<AbstractReportDbUpdater.QueryType>
-
- adams.flow.transformer.AbstractReportDbUpdater.QueryType
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractReportDbUpdater.QueryType>
- Enclosing class:
- AbstractReportDbUpdater
public static enum AbstractReportDbUpdater.QueryType extends Enum<AbstractReportDbUpdater.QueryType>
Enumeration for the supported types of queries.- Version:
- $Revision: 8087 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLUMN_AS_KEY
using the column name as key.KEY_VALUE
two columns: key and value.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractReportDbUpdater.QueryType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractReportDbUpdater.QueryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KEY_VALUE
public static final AbstractReportDbUpdater.QueryType KEY_VALUE
two columns: key and value.
-
COLUMN_AS_KEY
public static final AbstractReportDbUpdater.QueryType COLUMN_AS_KEY
using the column name as key.
-
-
Method Detail
-
values
public static AbstractReportDbUpdater.QueryType[] 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 (AbstractReportDbUpdater.QueryType c : AbstractReportDbUpdater.QueryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractReportDbUpdater.QueryType 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
-
-