protected static enum SQLKVTransaction.StmtType extends Enum<SQLKVTransaction.StmtType>
Modifier and Type | Method and Description |
---|---|
protected abstract PreparedStatement |
create(SQLKVDatabase db,
Connection c,
Logger log) |
int |
getNumParams() |
protected PreparedStatement |
prepare(Connection c,
String sql,
Logger log) |
static SQLKVTransaction.StmtType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLKVTransaction.StmtType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLKVTransaction.StmtType GET
public static final SQLKVTransaction.StmtType GET_FIRST
public static final SQLKVTransaction.StmtType GET_LAST
public static final SQLKVTransaction.StmtType GET_AT_LEAST_FORWARD
public static final SQLKVTransaction.StmtType GET_AT_LEAST_FORWARD_SINGLE
public static final SQLKVTransaction.StmtType GET_AT_LEAST_REVERSE
public static final SQLKVTransaction.StmtType GET_AT_LEAST_REVERSE_SINGLE
public static final SQLKVTransaction.StmtType GET_AT_MOST_FORWARD
public static final SQLKVTransaction.StmtType GET_AT_MOST_FORWARD_SINGLE
public static final SQLKVTransaction.StmtType GET_AT_MOST_REVERSE
public static final SQLKVTransaction.StmtType GET_AT_MOST_REVERSE_SINGLE
public static final SQLKVTransaction.StmtType GET_RANGE_FORWARD
public static final SQLKVTransaction.StmtType GET_RANGE_FORWARD_SINGLE
public static final SQLKVTransaction.StmtType GET_RANGE_REVERSE
public static final SQLKVTransaction.StmtType GET_RANGE_REVERSE_SINGLE
public static final SQLKVTransaction.StmtType GET_ALL_FORWARD
public static final SQLKVTransaction.StmtType GET_ALL_REVERSE
public static final SQLKVTransaction.StmtType PUT
public static final SQLKVTransaction.StmtType REMOVE
public static final SQLKVTransaction.StmtType REMOVE_RANGE
public static final SQLKVTransaction.StmtType REMOVE_AT_LEAST
public static final SQLKVTransaction.StmtType REMOVE_AT_MOST
public static final SQLKVTransaction.StmtType REMOVE_ALL
public static SQLKVTransaction.StmtType[] values()
for (SQLKVTransaction.StmtType c : SQLKVTransaction.StmtType.values()) System.out.println(c);
public static SQLKVTransaction.StmtType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getNumParams()
protected abstract PreparedStatement create(SQLKVDatabase db, Connection c, Logger log) throws SQLException
SQLException
protected PreparedStatement prepare(Connection c, String sql, Logger log) throws SQLException
SQLException
Copyright © 2019. All rights reserved.