Examples of upCast()


Examples of org.apache.derby.iapi.services.compiler.MethodBuilder.upCast()

        exprFun.pushThis(); // instance for getRowLocationTemplate
        exprFun.push(savedItem); // first arg
        exprFun.callMethod(VMOpcode.INVOKEINTERFACE, ClassName.Activation, "getRowLocationTemplate",
                  ClassName.RowLocation, 1);

        exprFun.upCast(ClassName.DataValueDescriptor);
        exprFun.callMethod(VMOpcode.INVOKEINTERFACE, ClassName.Row, "setColumn",
                      "void", 2);
        continue;
      }
View Full Code Here

Examples of org.apache.derby.iapi.services.compiler.MethodBuilder.upCast()

        exprFun.pushThis(); // instance for getRowLocationTemplate
        exprFun.push(savedItem); // first arg
        exprFun.callMethod(VMOpcode.INVOKEINTERFACE, ClassName.Activation, "getRowLocationTemplate",
                  ClassName.RowLocation, 1);

        exprFun.upCast(ClassName.DataValueDescriptor);
        exprFun.callMethod(VMOpcode.INVOKEINTERFACE, ClassName.Row, "setColumn",
                      "void", 2);
        continue;
      }
View Full Code Here

Examples of org.apache.derby.iapi.services.compiler.MethodBuilder.upCast()

      userExprFun.getField(psHolder);
      userExprFun.conditionalIfNull();
    }

    newInvocation.generateExpression(acb, userExprFun);
        userExprFun.upCast(vtiType);

    if (reuseablePs) {

      userExprFun.putField(psHolder);
View Full Code Here

Examples of org.apache.derby.iapi.services.compiler.MethodBuilder.upCast()

        exprFun.pushThis(); // instance for getRowLocationTemplate
        exprFun.push(savedItem); // first arg
        exprFun.callMethod(VMOpcode.INVOKEINTERFACE, ClassName.Activation, "getRowLocationTemplate",
                  ClassName.RowLocation, 1);

        exprFun.upCast(ClassName.DataValueDescriptor);
        exprFun.callMethod(VMOpcode.INVOKEINTERFACE, ClassName.Row, "setColumn",
                      "void", 2);
        continue;
      }
View Full Code Here

Examples of org.apache.derby.iapi.services.compiler.MethodBuilder.upCast()

        generateReturnsNullOnNullCheck(mb);
      }
      else
      {
        mb.dup();
        mb.upCast(ClassName.DataValueDescriptor);
        mb.push(primitiveTN);
        mb.callMethod(VMOpcode.INVOKESTATIC, ClassName.BaseActivation, "nullToPrimitiveTest", "void", 2);
      }

      // stack is dvd
View Full Code Here

Examples of org.apache.derby.iapi.services.compiler.MethodBuilder.upCast()

        isAscending[columnNumber], isStartKey, acb, mb);
    }
    else
      pred.generateExpressionOperand(optTable, baseColumns[columnNumber], acb, mb);

    mb.upCast(ClassName.DataValueDescriptor);

    mb.callMethod(VMOpcode.INVOKEINTERFACE, ClassName.Row, "setColumn", "void", 2);

    /* Also tell the row if this column uses ordered null semantics */
    if (!isIn)
View Full Code Here

Examples of org.apache.derby.iapi.services.compiler.MethodBuilder.upCast()

        exprFun.pushThis(); // instance for getRowLocationTemplate
        exprFun.push(savedItem); // first arg
        exprFun.callMethod(VMOpcode.INVOKEINTERFACE, ClassName.Activation, "getRowLocationTemplate",
                  ClassName.RowLocation, 1);

        exprFun.upCast(ClassName.DataValueDescriptor);
        exprFun.callMethod(VMOpcode.INVOKEINTERFACE, ClassName.Row, "setColumn",
                      "void", 2);
        continue;
      }
View Full Code Here

Examples of org.apache.derby.iapi.services.compiler.MethodBuilder.upCast()

      userExprFun.getField(psHolder);
      userExprFun.conditionalIfNull();
    }

    newInvocation.generateExpression(acb, userExprFun);
        userExprFun.upCast(vtiType);

    if (reuseablePs) {

      userExprFun.putField(psHolder);
View Full Code Here

Examples of org.apache.derby.iapi.services.compiler.MethodBuilder.upCast()

        generateReturnsNullOnNullCheck(mb);
      }
      else
      {
        mb.dup();
        mb.upCast(ClassName.DataValueDescriptor);
        mb.push(primitiveTN);
        mb.callMethod(VMOpcode.INVOKESTATIC, ClassName.BaseActivation, "nullToPrimitiveTest", "void", 2);
      }

      // stack is dvd
View Full Code Here

Examples of org.apache.derby.iapi.services.compiler.MethodBuilder.upCast()

        isAscending[columnNumber], isStartKey, acb, mb);
    }
    else
      pred.generateExpressionOperand(optTable, baseColumns[columnNumber], acb, mb);

    mb.upCast(ClassName.DataValueDescriptor);

    mb.callMethod(VMOpcode.INVOKEINTERFACE, ClassName.Row, "setColumn", "void", 2);

    /* Also tell the row if this column uses ordered null semantics */
    if (!isIn)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.