public static class PgDatabaseConfiguration.PostgreSQLVariants extends Object implements SQLVariants
| Constructor and Description |
|---|
PostgreSQLVariants() |
| Modifier and Type | Method and Description |
|---|---|
String |
actionType()
Returns SQL representing the action type parameter.
|
String |
castToText()
Returns string for casting value to text.
|
String |
currentTimePlusSeconds(int seconds)
Returns SQL representing the current database time plus given amount of seconds.
|
boolean |
hasUpdateableCTE()
Returns true as PostgreSQL supports updateable CTEs.
|
boolean |
hasUpdateReturning()
Returns true as PostgreSQL supports 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 PostgreSQL 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.