public class SqlServerHistorySupport extends DbStandardHistorySupport
Constructor and Description |
---|
SqlServerHistorySupport() |
Modifier and Type | Method and Description |
---|---|
String |
getAsOfViewSuffix(String asOfViewSuffix)
Return the ' as of timestamp ?' clause appended after the table name.
|
String |
getSysPeriodLower(String tableAlias,
String sysPeriod)
Returns the SQL Server specific effective start column.
|
String |
getSysPeriodUpper(String tableAlias,
String sysPeriod)
Returns the SQL Server specific effective end column.
|
String |
getVersionsBetweenSuffix(String asOfViewSuffix)
Return the 'versions between timestamp' suffix.
|
getAsOfPredicate, getBindCount, isStandardsBased
public SqlServerHistorySupport()
public String getAsOfViewSuffix(String asOfViewSuffix)
asOfViewSuffix
- the configured view suffix (typically "_with_history").public String getVersionsBetweenSuffix(String asOfViewSuffix)
DbHistorySupport
public String getSysPeriodLower(String tableAlias, String sysPeriod)
tableAlias
- the table alias which will typically be 't0'sysPeriod
- the name of the sys_period columnpublic String getSysPeriodUpper(String tableAlias, String sysPeriod)
tableAlias
- the table alias which will typically be 't0'sysPeriod
- the name of the sys_period columnCopyright © 2019. All rights reserved.