Package org.apache.derby.iapi.sql.execute

Examples of org.apache.derby.iapi.sql.execute.ExecRow.nColumns()


       
        rs = activation.getTargetVTI();
    ExecRow row = getNextRowCore(sourceResultSet);

        if( null != row)
            rowLocationColumn = row.nColumns();
    if (!firstExecute)
      lcc.getStatementContext().setTopResultSet(this, subqueryTrackingArray);

    /* The source does not know whether or not we are doing a
     * deferred mode insert.  If we are, then we must clear the
View Full Code Here


    {
      RowLocation  baseRowLocation;


      baseRowLocation = (RowLocationindexTemplateRow.getColumn(
                        indexTemplateRow.nColumns());
 
      /* 1st column is TABLEID (UUID - char(36)) */
      row.setColumn(SYSTABLESRowFactory.SYSTABLES_TABLEID, new SQLChar());
      FormatableBitSet bi = new FormatableBitSet(1);
      bi.set(0);
View Full Code Here

                activation.getExecutionFactory().getValueRow(
                    emptyHeapRow.nColumns() - 1);

            int[]   new_collation_ids = new int[collation_ids.length - 1];

      for (int i = 0; i < newRow.nColumns(); i++)
      {
        newRow.setColumn(
                    i + 1,
                    i < droppedColumnPosition - 1 ?
                        emptyHeapRow.getColumn(i + 1) :
View Full Code Here

    {
      RowLocation  baseRowLocation;


      baseRowLocation = (RowLocationindexTemplateRow.getColumn(
                        indexTemplateRow.nColumns());
 
      /* 1st column is TABLEID (UUID - char(36)) */
      row.setColumn(SYSTABLESRowFactory.SYSTABLES_TABLEID, new SQLChar());
      FormatableBitSet bi = new FormatableBitSet(1);
      bi.set(0);
View Full Code Here

       
        rs = activation.getTargetVTI();
    ExecRow row = getNextRowCore(sourceResultSet);

        if( null != row)
            rowLocationColumn = row.nColumns();

    /* The source does not know whether or not we are doing a
     * deferred mode insert.  If we are, then we must clear the
     * index scan info from the activation so that the row changer
     * does not re-use that information (which won't be valid for
View Full Code Here

    int maxMemoryPerTable = getLanguageConnectionContext().getOptimizerFactory().getMaxMemoryPerTable();

    aRow = rs.getNextRowCore();
    if (aRow != null)
    {
      toClone = new FormatableBitSet(aRow.nColumns() + 1);
      toClone.set(1);
    }
    while (aRow != null)
    {
      cacheSize += aRow.getColumn(1).getLength();
View Full Code Here

    /* 17th column is NEWREFERENCINGNAME */
    row.setColumn(17, new SQLVarchar(newReferencingName));

        /* 18th column is WHENCLAUSETEXT */
        if (row.nColumns() >= 18) {
            // This column is present only if the data dictionary version is
            // 10.11 or higher.
            row.setColumn(18, dvf.getLongvarcharDataValue(whenClauseText));
        }

View Full Code Here

                activation.getExecutionFactory().getValueRow(
                    emptyHeapRow.nColumns() - 1);

            int[]   new_collation_ids = new int[collation_ids.length - 1];

      for (int i = 0; i < newRow.nColumns(); i++)
      {
        newRow.setColumn(
                    i + 1,
                    i < droppedColumnPosition - 1 ?
                        emptyHeapRow.getColumn(i + 1) :
View Full Code Here

      /*
      ** getColumn(), setColumn(), and baseRowReadList are
      ** one-based.
      */
      int fromPosition = 1;
      for (int i = 1; i <= deferredSparseRow.nColumns(); i++)
      {
        if (baseRowReadList.isSet(i))
        {
          deferredSparseRow.setColumn(
            i,
View Full Code Here

       * on the way in so that we have a row
       * to use on the way out.
       */
      if (firstIntoHashtable)
      {
        nextCandidate = activation.getExecutionFactory().getValueRow(execRow.nColumns());
        firstIntoHashtable = false;
      }

      return execRow.getRowArray();
    }
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.