public enum SFStatementType extends Enum<SFStatementType>
| Enum Constant and Description |
|---|
COPY |
DDL |
DELETE |
DML |
GET |
INSERT |
MERGE |
MULTI_INSERT |
PUT |
SELECT |
UNKNOWN |
UPDATE |
| Modifier and Type | Method and Description |
|---|---|
long |
getStatementTypeId() |
boolean |
isDDL() |
boolean |
isDML() |
static SFStatementType |
lookUpTypeById(long id) |
static SFStatementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SFStatementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SFStatementType UNKNOWN
public static final SFStatementType PUT
public static final SFStatementType GET
public static final SFStatementType SELECT
public static final SFStatementType DML
public static final SFStatementType INSERT
public static final SFStatementType UPDATE
public static final SFStatementType DELETE
public static final SFStatementType MERGE
public static final SFStatementType MULTI_INSERT
public static final SFStatementType COPY
public static final SFStatementType DDL
public static SFStatementType[] values()
for (SFStatementType c : SFStatementType.values()) System.out.println(c);
public static SFStatementType 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 static SFStatementType lookUpTypeById(long id)
public long getStatementTypeId()
public boolean isDDL()
public boolean isDML()
Copyright © 2017. All rights reserved.