Package org.apache.ibatis.jdbc
Enum AbstractSQL.SQLStatement.LimitingRowsStrategy
- java.lang.Object
-
- java.lang.Enum<AbstractSQL.SQLStatement.LimitingRowsStrategy>
-
- org.apache.ibatis.jdbc.AbstractSQL.SQLStatement.LimitingRowsStrategy
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AbstractSQL.SQLStatement.LimitingRowsStrategy>
- Enclosing class:
- AbstractSQL.SQLStatement
private static enum AbstractSQL.SQLStatement.LimitingRowsStrategy extends java.lang.Enum<AbstractSQL.SQLStatement.LimitingRowsStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ISO
NOP
OFFSET_LIMIT
-
Constructor Summary
Constructors Modifier Constructor Description private
LimitingRowsStrategy()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
appendClause(AbstractSQL.SafeAppendable builder, java.lang.String offset, java.lang.String limit)
static AbstractSQL.SQLStatement.LimitingRowsStrategy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AbstractSQL.SQLStatement.LimitingRowsStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOP
public static final AbstractSQL.SQLStatement.LimitingRowsStrategy NOP
-
ISO
public static final AbstractSQL.SQLStatement.LimitingRowsStrategy ISO
-
OFFSET_LIMIT
public static final AbstractSQL.SQLStatement.LimitingRowsStrategy OFFSET_LIMIT
-
-
Method Detail
-
values
public static AbstractSQL.SQLStatement.LimitingRowsStrategy[] 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 (AbstractSQL.SQLStatement.LimitingRowsStrategy c : AbstractSQL.SQLStatement.LimitingRowsStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractSQL.SQLStatement.LimitingRowsStrategy 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
-
appendClause
protected abstract void appendClause(AbstractSQL.SafeAppendable builder, java.lang.String offset, java.lang.String limit)
-
-