001package io.ebean.config.dbplatform;
002
003/**
004 * SQL2011 based history support using 'as of timestamp' type clause appended as part of the the from or join clause.
005 */
006public abstract class DbStandardHistorySupport implements DbHistorySupport {
007
008  @Override
009  public boolean isStandardsBased() {
010    return true;
011  }
012
013  /**
014   * Return 1 as the bind count (not 2 for effective start and effective end columns).
015   */
016  @Override
017  public int getBindCount() {
018    return 1;
019  }
020
021  /**
022   * Return null - not used for sql2011 based history.
023   */
024  @Override
025  public String getAsOfPredicate(String tableAlias, String sysPeriod) {
026    // not used for sql2011 based history
027    return null;
028  }
029}