public class MySQLVariants extends Object implements SQLVariants
| Constructor and Description |
|---|
MySQLVariants() |
| Modifier and Type | Method and Description |
|---|---|
String |
actionType()
Returns SQL representing the action type parameter.
|
String |
castToText()
Returns empty string as casting to text is not needed in MySQL.
|
String |
currentTimePlusSeconds(int seconds)
Returns SQL representing the current database time plus given amount of seconds.
|
boolean |
hasUpdateableCTE()
Returns false as MySQL does not support updateable CTEs.
|
boolean |
hasUpdateReturning()
Returns false as MySQL does not support update returning clause.
|
String |
limit(String query,
long limit)
Returns SQL for a query with a limit of results.
|
int |
longTextType()
Returns the SQL type for long text.
|
String |
nextActivationUpdate()
Returns SQL representing the next activation time of the workflow instance.
|
boolean |
useBatchUpdate()
Returns true as MySQL suppports batch updates.
|
String |
workflowStatus()
Returns SQL representing the workflow instance status parameter.
|
String |
workflowStatus(WorkflowInstance.WorkflowInstanceStatus status)
Returns the SQL representation for given workflow instance status.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdateLtEqDiff, forUpdateInnerSelect, getDateTime, getTimestamp, setDateTime, toTimestampObject, tuneTimestampForDbpublic String currentTimePlusSeconds(int seconds)
currentTimePlusSeconds in interface SQLVariantspublic boolean hasUpdateReturning()
hasUpdateReturning in interface SQLVariantspublic boolean hasUpdateableCTE()
hasUpdateableCTE in interface SQLVariantspublic String nextActivationUpdate()
nextActivationUpdate in interface SQLVariantspublic String workflowStatus(WorkflowInstance.WorkflowInstanceStatus status)
workflowStatus in interface SQLVariantspublic String workflowStatus()
workflowStatus in interface SQLVariantspublic String actionType()
actionType in interface SQLVariantspublic String castToText()
castToText in interface SQLVariantspublic String limit(String query, long limit)
limit in interface SQLVariantspublic int longTextType()
longTextType in interface SQLVariantspublic boolean useBatchUpdate()
useBatchUpdate in interface SQLVariantsCopyright © 2014–2020 Nitor Creations. All rights reserved.