Package net.sf.jkniv.sqlegance.dialect
Enum SqlFeatureSupport
- java.lang.Object
-
- java.lang.Enum<SqlFeatureSupport>
-
- net.sf.jkniv.sqlegance.dialect.SqlFeatureSupport
-
- All Implemented Interfaces:
Serializable,Comparable<SqlFeatureSupport>
public enum SqlFeatureSupport extends Enum<SqlFeatureSupport>
Database SQL vendor features support.- Since:
- 0.6.0
- Author:
- Alisson Gomes
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOKMARK_QUERYa page selected to mark the reader's placeCONN_HOLDABILITYsupports holdability at the connection levelLIMITNative syntax of SQL vendor support some form of limiting query results?LIMIT_OFF_SETNative syntax of SQL vendor support some form of offset query results?PAGING_ROUNDTRIPcheck if database needs a new round trip to get total of recordsROWNUMNative syntax of SQL vendor support some form of enumerate the rows results?SEQUENCEMechanism for generating unique identificationSTMT_HOLDABILITYsupports holdability at the statement levelUNKNOW
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SqlFeatureSupportvalueOf(String name)Returns the enum constant of this type with the specified name.static SqlFeatureSupport[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOW
public static final SqlFeatureSupport UNKNOW
-
LIMIT
public static final SqlFeatureSupport LIMIT
Native syntax of SQL vendor support some form of limiting query results?
-
LIMIT_OFF_SET
public static final SqlFeatureSupport LIMIT_OFF_SET
Native syntax of SQL vendor support some form of offset query results?
-
ROWNUM
public static final SqlFeatureSupport ROWNUM
Native syntax of SQL vendor support some form of enumerate the rows results?
-
CONN_HOLDABILITY
public static final SqlFeatureSupport CONN_HOLDABILITY
supports holdability at the connection level
-
STMT_HOLDABILITY
public static final SqlFeatureSupport STMT_HOLDABILITY
supports holdability at the statement level
-
BOOKMARK_QUERY
public static final SqlFeatureSupport BOOKMARK_QUERY
a page selected to mark the reader's place
-
PAGING_ROUNDTRIP
public static final SqlFeatureSupport PAGING_ROUNDTRIP
check if database needs a new round trip to get total of records
-
SEQUENCE
public static final SqlFeatureSupport SEQUENCE
Mechanism for generating unique identification
-
-
Method Detail
-
values
public static SqlFeatureSupport[] 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 (SqlFeatureSupport c : SqlFeatureSupport.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlFeatureSupport 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
-
-