001package io.ebean.config.dbplatform.hana;
002
003import io.ebean.config.dbplatform.DbStandardHistorySupport;
004
005public class HanaHistorySupport extends DbStandardHistorySupport {
006
007  @Override
008  public String getAsOfViewSuffix(String asOfViewSuffix) {
009    return " for system_time as of ?";
010  }
011
012  @Override
013  public String getVersionsBetweenSuffix(String asOfViewSuffix) {
014    return " for system_time between ? and ?";
015  }
016
017  @Override
018  public String getSysPeriodLower(String tableAlias, String sysPeriod) {
019    return tableAlias + "." + sysPeriod + "_start";
020  }
021
022  @Override
023  public String getSysPeriodUpper(String tableAlias, String sysPeriod) {
024    return tableAlias + "." + sysPeriod + "_end";
025  }
026  
027}