public class HanaHistorySupport extends DbStandardHistorySupport
Constructor and Description |
---|
HanaHistorySupport() |
Modifier and Type | Method and Description |
---|---|
String |
getAsOfViewSuffix(String asOfViewSuffix)
For sql2011 style this ignores the passed in view suffix and returns something
like the ' as of timestamp ?' clause to be appended after the base table name.
|
String |
getSysPeriodLower(String tableAlias,
String sysPeriod)
Return the column for the system period lower bound that will be included in findVersions() queries.
|
String |
getSysPeriodUpper(String tableAlias,
String sysPeriod)
Return the column for the system period upper bound that will be included in findVersions() queries.
|
String |
getVersionsBetweenSuffix(String asOfViewSuffix)
Return the 'versions between timestamp' suffix.
|
getAsOfPredicate, getBindCount, isStandardsBased
public HanaHistorySupport()
public String getAsOfViewSuffix(String asOfViewSuffix)
DbHistorySupport
asOfViewSuffix
- the configured view suffix (typically "_with_history").public String getVersionsBetweenSuffix(String asOfViewSuffix)
DbHistorySupport
public String getSysPeriodLower(String tableAlias, String sysPeriod)
DbHistorySupport
tableAlias
- the table alias which will typically be 't0'sysPeriod
- the name of the sys_period columnpublic String getSysPeriodUpper(String tableAlias, String sysPeriod)
DbHistorySupport
tableAlias
- the table alias which will typically be 't0'sysPeriod
- the name of the sys_period columnCopyright © 2018. All rights reserved.