public enum SqlCommandType extends Enum<SqlCommandType>
Enum Constant and Description |
---|
BLANK
Use BLANK for empty sql queries or when parsing the sql string is not
necessary.
|
DELETE |
INSERT |
MOVE |
UPDATE |
Modifier and Type | Method and Description |
---|---|
boolean |
canSupportBatchedReWrite() |
static SqlCommandType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlCommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlCommandType INSERT
public static final SqlCommandType BLANK
public static final SqlCommandType MOVE
public static final SqlCommandType UPDATE
public static final SqlCommandType DELETE
public static SqlCommandType[] values()
for (SqlCommandType c : SqlCommandType.values()) System.out.println(c);
public static SqlCommandType 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 boolean canSupportBatchedReWrite()
Copyright © 2016 PostgreSQL Global Development Group. All rights reserved.