public class SqlCommand
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static SqlCommand |
BLANK |
private SqlCommandType |
commandType |
private boolean |
parsedSQLhasRETURNINGKeyword |
private int |
valuesBraceClosePosition |
private int |
valuesBraceOpenPosition |
Modifier | Constructor and Description |
---|---|
private |
SqlCommand(SqlCommandType type,
boolean isBatchedReWriteConfigured,
int valuesBraceOpenPosition,
int valuesBraceClosePosition,
boolean isPresent,
int priorQueryCount) |
Modifier and Type | Method and Description |
---|---|
static SqlCommand |
createStatementTypeInfo(SqlCommandType type) |
static SqlCommand |
createStatementTypeInfo(SqlCommandType type,
boolean isRETURNINGkeywordPresent) |
static SqlCommand |
createStatementTypeInfo(SqlCommandType type,
boolean isBatchedReWritePropertyConfigured,
int valuesBraceOpenPosition,
int valuesBraceClosePosition,
boolean isRETURNINGkeywordPresent,
int priorQueryCount) |
int |
getBatchRewriteValuesBraceClosePosition() |
int |
getBatchRewriteValuesBraceOpenPosition() |
SqlCommandType |
getType() |
boolean |
isBatchedReWriteCompatible() |
boolean |
isReturningKeywordPresent() |
boolean |
returnsRows() |
public static final SqlCommand BLANK
private final SqlCommandType commandType
private final boolean parsedSQLhasRETURNINGKeyword
private final int valuesBraceOpenPosition
private final int valuesBraceClosePosition
private SqlCommand(SqlCommandType type, boolean isBatchedReWriteConfigured, int valuesBraceOpenPosition, int valuesBraceClosePosition, boolean isPresent, int priorQueryCount)
public boolean isBatchedReWriteCompatible()
public int getBatchRewriteValuesBraceOpenPosition()
public int getBatchRewriteValuesBraceClosePosition()
public SqlCommandType getType()
public boolean isReturningKeywordPresent()
public boolean returnsRows()
public static SqlCommand createStatementTypeInfo(SqlCommandType type, boolean isBatchedReWritePropertyConfigured, int valuesBraceOpenPosition, int valuesBraceClosePosition, boolean isRETURNINGkeywordPresent, int priorQueryCount)
public static SqlCommand createStatementTypeInfo(SqlCommandType type)
public static SqlCommand createStatementTypeInfo(SqlCommandType type, boolean isRETURNINGkeywordPresent)