Class TransactionSystem.DSFunctionLookup

  • All Implemented Interfaces:
    FunctionLookup
    Enclosing class:
    TransactionSystem

    private static class TransactionSystem.DSFunctionLookup
    extends java.lang.Object
    implements FunctionLookup
    A FunctionLookup implementation that will look up a function from a list of FunctionFactory objects provided with.
    • Constructor Detail

      • DSFunctionLookup

        private DSFunctionLookup()
    • Method Detail

      • generateFunction

        public Function generateFunction​(FunctionDef function_def)
        Description copied from interface: FunctionLookup
        Generate the Function given a FunctionDef object. Returns null if the FunctionDef can not be resolved to a valid function object. If the specification of the function is invalid for some reason (the number or type of the parameters is incorrect) then a StatementException is thrown.
        Specified by:
        generateFunction in interface FunctionLookup
      • isAggregate

        public boolean isAggregate​(FunctionDef function_def)
        Description copied from interface: FunctionLookup
        Returns true if the function defined by FunctionDef is an aggregate function, or false otherwise.
        Specified by:
        isAggregate in interface FunctionLookup
      • flushContents

        public void flushContents​(FunctionFactory[] factories)