Enum LimitPosition
- java.lang.Object
-
- java.lang.Enum<LimitPosition>
-
- com.inductiveautomation.ignition.gateway.db.LimitPosition
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LimitPosition>
public enum LimitPosition extends java.lang.Enum<LimitPosition>
Where the limit should go in the query.
Front will be placed directly after the "SELECT".
Back will come after the rest of the query. Where indictates it's part of the WHERE clause - will be placed right after WHERE if there is one, else will create one.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LimitPosition
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LimitPosition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Front
public static final LimitPosition Front
-
Back
public static final LimitPosition Back
-
Where
public static final LimitPosition Where
-
Wrap
public static final LimitPosition Wrap
-
-
Method Detail
-
values
public static LimitPosition[] 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 (LimitPosition c : LimitPosition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LimitPosition valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-