Class BaseSQLTransformerLogic

Object
com.liferay.portal.dao.sql.transformer.BaseSQLTransformerLogic
All Implemented Interfaces:
SQLTransformerLogic
Direct Known Subclasses:
DB2SQLTransformerLogic, HypersonicSQLTransformerLogic, MySQLSQLTransformerLogic, OracleSQLTransformerLogic, PostgreSQLTransformerLogic, SQLServerSQLTransformerLogic

public abstract class BaseSQLTransformerLogic extends Object implements SQLTransformerLogic
Author:
Manuel de la Peña, Brian Wing Shun Chan
  • Constructor Details

    • BaseSQLTransformerLogic

      public BaseSQLTransformerLogic(com.liferay.portal.kernel.dao.db.DB db)
  • Method Details

    • getFunctions

      public Function<String,String>[] getFunctions()
      Specified by:
      getFunctions in interface SQLTransformerLogic
    • getAggregationFunction

      protected Function<String,String> getAggregationFunction()
    • getAggregationPattern

      protected Pattern getAggregationPattern()
    • getBitwiseCheckFunction

      protected Function<String,String> getBitwiseCheckFunction()
    • getBitwiseCheckPattern

      protected Pattern getBitwiseCheckPattern()
    • getBitwiseOrFunction

      protected Function<String,String> getBitwiseOrFunction()
    • getBitwiseOrPattern

      protected Pattern getBitwiseOrPattern()
    • getBooleanFunction

      protected Function<String,String> getBooleanFunction()
    • getCastClobTextFunction

      protected Function<String,String> getCastClobTextFunction()
    • getCastClobTextPattern

      protected Pattern getCastClobTextPattern()
    • getCastDecimalFunction

      protected Function<String,String> getCastDecimalFunction()
    • getCastDecimalPattern

      protected Pattern getCastDecimalPattern()
    • getCastLongFunction

      protected Function<String,String> getCastLongFunction()
    • getCastLongPattern

      protected Pattern getCastLongPattern()
    • getCastTextFunction

      protected Function<String,String> getCastTextFunction()
    • getCastTextPattern

      protected Pattern getCastTextPattern()
    • getConcatFunction

      protected Function<String,String> getConcatFunction()
    • getDropTableIfExistsTextFunction

      protected Function<String,String> getDropTableIfExistsTextFunction()
    • getDropTableIfExistsTextPattern

      protected Pattern getDropTableIfExistsTextPattern()
    • getInstrFunction

      protected Function<String,String> getInstrFunction()
    • getInstrPattern

      protected Pattern getInstrPattern()
    • getIntegerDivisionFunction

      protected Function<String,String> getIntegerDivisionFunction()
    • getIntegerDivisionPattern

      protected Pattern getIntegerDivisionPattern()
    • getLengthFunction

      protected Function<String,String> getLengthFunction()
    • getLowerFunction

      protected Function<String,String> getLowerFunction()
    • getModFunction

      protected Function<String,String> getModFunction()
    • getModPattern

      protected Pattern getModPattern()
    • getNullDateFunction

      protected Function<String,String> getNullDateFunction()
    • getSubstrFunction

      protected Function<String,String> getSubstrFunction()
    • getSubstrPattern

      protected Pattern getSubstrPattern()
    • replaceAggregation

      protected String replaceAggregation(Matcher matcher)
    • replaceBitwiseCheck

      protected String replaceBitwiseCheck(Matcher matcher)
    • replaceBitwiseOr

      protected String replaceBitwiseOr(Matcher matcher)
    • replaceCastClobText

      protected String replaceCastClobText(Matcher matcher)
    • replaceCastDecimal

      protected String replaceCastDecimal(Matcher matcher)
    • replaceCastLong

      protected String replaceCastLong(Matcher matcher)
    • replaceCastText

      protected String replaceCastText(Matcher matcher)
    • replaceDropTableIfExistsText

      protected String replaceDropTableIfExistsText(Matcher matcher)
    • replaceInstr

      protected String replaceInstr(Matcher matcher)
    • replaceIntegerDivision

      protected String replaceIntegerDivision(Matcher matcher)
    • replaceMod

      protected String replaceMod(Matcher matcher)
    • replaceSubstr

      protected String replaceSubstr(Matcher matcher)
    • setFunctions

      protected void setFunctions(Function... functions)