Package io.ebean.config.dbplatform.hana
Class HanaHistorySupport
java.lang.Object
io.ebean.config.dbplatform.DbStandardHistorySupport
io.ebean.config.dbplatform.hana.HanaHistorySupport
- All Implemented Interfaces:
io.ebean.config.dbplatform.DbHistorySupport
public class HanaHistorySupport extends io.ebean.config.dbplatform.DbStandardHistorySupport
-
Constructor Summary
Constructors Constructor Description HanaHistorySupport()
-
Method Summary
Modifier and Type Method 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.
-
Constructor Details
-
HanaHistorySupport
public HanaHistorySupport()
-
-
Method Details
-
getAsOfViewSuffix
Description copied from interface:io.ebean.config.dbplatform.DbHistorySupport
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.- Parameters:
asOfViewSuffix
- the configured view suffix (typically "_with_history").- Returns:
- The suffix appended after the base table name in the from and join clauses.
-
getVersionsBetweenSuffix
Description copied from interface:io.ebean.config.dbplatform.DbHistorySupport
Return the 'versions between timestamp' suffix. -
getSysPeriodLower
Description copied from interface:io.ebean.config.dbplatform.DbHistorySupport
Return the column for the system period lower bound that will be included in findVersions() queries.- Parameters:
tableAlias
- the table alias which will typically be 't0'sysPeriod
- the name of the sys_period column
-
getSysPeriodUpper
Description copied from interface:io.ebean.config.dbplatform.DbHistorySupport
Return the column for the system period upper bound that will be included in findVersions() queries.- Parameters:
tableAlias
- the table alias which will typically be 't0'sysPeriod
- the name of the sys_period column
-