Class WrqBindingSetRef

  • All Implemented Interfaces:
    java.lang.reflect.InvocationHandler

    public class WrqBindingSetRef
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler
    Wrapper for BindingSets that can be referenced more than one in a query, mainly adds the sql table alias for the current occurrence This can be a StandardBindingSet and a CTE Implements WrqBindingSet
    • Field Detail

      • sqlAlias

        protected java.lang.String sqlAlias
    • Method Detail

      • create

        public static WrqBindingSet create​(SqlFromSubSelect currentSelect,
                                           BindingSet underlyingBindingSet)
        Proxy factory
        Parameters:
        currentSelect -
        underlyingBindingSet -
        Returns:
        Throws:
        java.lang.Exception
      • invoke

        public java.lang.Object invoke​(java.lang.Object obj,
                                       java.lang.reflect.Method method,
                                       java.lang.Object[] args)
                                throws java.lang.Throwable
        Pass calls to our underlying BindignSet
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Throws:
        java.lang.Throwable