Examples of FetchDescriptor


Examples of org.apache.derby.iapi.store.raw.FetchDescriptor

            return(ROWUTIL_FETCH_DESCRIPTOR_CONSTANTS[single_column_number]);
        }
        else
        {
            return(
                new FetchDescriptor(
                    single_column_number, single_column_number));
        }
    }
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.FetchDescriptor

        // need to allocate row with fieldId cols because of sparse row change
        // needs to be RESOLVED
    Object[] row = new Object[fieldId + 1];
    row[fieldId] = column;

    FetchDescriptor fetchDesc =
      new FetchDescriptor(fieldId + 1, fieldId);

    return(fetchFromSlot(null, slot, row, fetchDesc, true));
  }
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.FetchDescriptor

                // purging rows.
                Page page   = leaf.page;


                // RowLocation column is in last column of template.
                FetchDescriptor lock_fetch_desc =
                    RowUtil.getFetchDescriptorConstant(
                        scratch_template.length - 1);

                // loop backward so that purges which affect the slot table
                // don't affect the loop (ie. they only move records we
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.FetchDescriptor

                (init_lock_fetch_desc.getValidColumnsArray())[init_template.length - 1] == 1);
        }

        // note that we don't process qualifiers in btree fetch's
        this.init_fetchDesc             =
            new FetchDescriptor(
                init_template.length, init_scanColumnList,(Qualifier[][]) null);

        initScanParams(
            startKeyValue, startSearchOperator,
            qualifier, stopKeyValue, stopSearchOperator);
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.FetchDescriptor

        // RESOLVE (mikem) - get rid of new here.
        boolean ret_val =
            (pos.current_page.fetchFromSlot(
                pos.current_rh, pos.current_slot,
                row,
                new FetchDescriptor(
                    row.length, validColumns, (Qualifier[][]) null),
                false) != null);

        // RESOLVE (mikem) - should be some way to hide this in the unlock call,
        // and just always make the unlock call.
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.FetchDescriptor

        // RESOLVE (mikem) - get rid of new here.
        boolean ret_val =
            (pos.current_page.fetchFromSlot(
                pos.current_rh, pos.current_slot,
                row,
                new FetchDescriptor(
                    row.length, validColumns, (Qualifier[][]) null),
                false) != null);

        // RESOLVE (mikem) - should be some way to hide this in the unlock call,
        // and just always make the unlock call.
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.FetchDescriptor

        // TODO (mikem) - this could be more efficient, by writing
        // code to figure out length of row, but scratch row is cached
        // so allocating it here is probably not that bad.
        init_fetchDesc =
            new FetchDescriptor(
              (open_conglom.getRuntimeMem().get_scratch_row(
                    open_conglom.getRawTran())).length,
              init_scanColumnList,
              init_qualifier);
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.FetchDescriptor

            return(ROWUTIL_FETCH_DESCRIPTOR_CONSTANTS[single_column_number]);
        }
        else
        {
            return(
                new FetchDescriptor(
                    single_column_number, single_column_number));
        }
    }
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.FetchDescriptor

        StoredRecordHeader recordHeader = getHeaderAtSlot(slot);

    if (recordHeader.isDeleted())
      return null;

        FetchDescriptor hack_fetch =
            new FetchDescriptor(
                    row.length, validColumns, (Qualifier[][]) null);

    // magic to copy rows across ...
    restoreRecordFromSlot(
            slot, row, hack_fetch, handle, recordHeader, true);
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.FetchDescriptor

    row[fieldId] = column;
    FormatableBitSet singleColumn = new FormatableBitSet(fieldId + 1);

    singleColumn.set(fieldId);

        FetchDescriptor fetchDesc =
            new FetchDescriptor(fieldId + 1, singleColumn,(Qualifier[][]) null);

    return(fetchFromSlot(null, slot, row, fetchDesc, true));
  }
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.