org.makumba.providers.query.mql
Class DateArithmeticFunction

java.lang.Object
  extended by org.makumba.providers.query.mql.MQLFunctionDefinition
      extended by org.makumba.providers.query.mql.SQLDialectFunction
          extended by org.makumba.providers.query.mql.DateArithmeticFunction
Direct Known Subclasses:
DateAddFunction, DateSubFunction

 class DateArithmeticFunction
extends SQLDialectFunction


Field Summary
 
Fields inherited from class org.makumba.providers.query.mql.SQLDialectFunction
sqlCommand
 
Fields inherited from class org.makumba.providers.query.mql.MQLFunctionDefinition
argumentCount
 
Constructor Summary
protected DateArithmeticFunction(String name, String sqlCommand)
           
 
Method Summary
 NameResolver.TextList render(List<NameResolver.TextList> args)
          This default implementation just renders the function by concatenating the function name and all arguments; for functions that need to modify the name, the argument order, number of arguments, etc., this method provides an entry point to rewrite it (possibly in a specific SQL dialect).
 
Methods inherited from class org.makumba.providers.query.mql.SQLDialectFunction
getSQLCommand
 
Methods inherited from class org.makumba.providers.query.mql.MQLFunctionDefinition
getArguments, getName, getReturnType, throwUnexpectedArguments, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DateArithmeticFunction

protected DateArithmeticFunction(String name,
                                 String sqlCommand)
Method Detail

render

public NameResolver.TextList render(List<NameResolver.TextList> args)
Description copied from class: MQLFunctionDefinition
This default implementation just renders the function by concatenating the function name and all arguments; for functions that need to modify the name, the argument order, number of arguments, etc., this method provides an entry point to rewrite it (possibly in a specific SQL dialect).

Overrides:
render in class MQLFunctionDefinition