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

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


                if (isWhen)
                {
                    // This is a WHEN clause. Expect a single BOOLEAN value
                    // to be returned.
                    ExecRow row = rs.getNextRow();
                    if (SanityManager.DEBUG && row.nColumns() != 1) {
                        SanityManager.THROWASSERT(
                            "Expected WHEN clause to have exactly "
                            + "one column, found: " + row.nColumns());
                    }
View Full Code Here


                    // to be returned.
                    ExecRow row = rs.getNextRow();
                    if (SanityManager.DEBUG && row.nColumns() != 1) {
                        SanityManager.THROWASSERT(
                            "Expected WHEN clause to have exactly "
                            + "one column, found: " + row.nColumns());
                    }

                    DataValueDescriptor value = row.getColumn(1);
                    if (SanityManager.DEBUG) {
                        SanityManager.ASSERT(value instanceof SQLBoolean);
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

       * 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

                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

    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

    {
      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

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.