public class LimitTransactionSizeInfo
extends java.lang.Object
Constructor and Description |
---|
LimitTransactionSizeInfo() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
additionalWhereConditionFragment(ExecutionContext executionContext)
Gets fragment to be inserted as condition into the "WHERE".
|
java.lang.String |
afterSelectFragment(ExecutionContext executionContext)
Gets fragment to be inserted into a select statement after the "SELECT".
|
java.lang.String |
getAdditionalWhereCondition()
Pattern to be inserted as condition into the "WHERE".
|
java.lang.String |
getAfterSelect()
Pattern to be inserted after "SELECT" in a select query.
|
long |
getLimit()
Limit or 0.
|
long |
getSize(ExecutionContext executionContext)
Gets increment size or
null , if incremental inserts are not applicable. |
java.lang.String |
getStatementSuffix()
Pattern to be appended.
|
boolean |
isApplicable(ExecutionContext executionContext)
Is this applicable?
|
void |
setAdditionalWhereCondition(java.lang.String additionalWhereCondition)
Pattern to be inserted as condition into the "WHERE".
|
void |
setAfterSelect(java.lang.String afterSelect)
Pattern to be inserted after "SELECT" in a select query.
|
void |
setLimit(long size)
Limit.
|
void |
setStatementSuffix(java.lang.String statementSuffix)
Pattern to be appended.
|
java.lang.String |
statementSuffixFragment(ExecutionContext executionContext)
Gets fragment to be appended.
|
public boolean isApplicable(ExecutionContext executionContext)
true
if applicablepublic long getSize(ExecutionContext executionContext)
null
, if incremental inserts are not applicable.null
, if incremental inserts are not applicablepublic java.lang.String afterSelectFragment(ExecutionContext executionContext)
public java.lang.String additionalWhereConditionFragment(ExecutionContext executionContext)
public java.lang.String statementSuffixFragment(ExecutionContext executionContext)
public long getLimit()
public void setLimit(long size)
public java.lang.String getAfterSelect()
public void setAfterSelect(java.lang.String afterSelect)
public java.lang.String getAdditionalWhereCondition()
public void setAdditionalWhereCondition(java.lang.String additionalWhereCondition)
public java.lang.String getStatementSuffix()
public void setStatementSuffix(java.lang.String statementSuffix)