Ejemplo n.º 1
0
  public RowStoreAVLMemory(PersistentStoreCollection manager, Table table) {

    this.database = table.database;
    this.manager = manager;
    this.table = table;
    this.indexList = table.getIndexList();
    this.accessorList = new CachedObject[indexList.length];

    manager.setStore(table, this);
  }
  public RowStoreAVLMemory(PersistentStoreCollection manager, Table table) {

    this.manager = manager;
    this.table = table;
    this.indexList = table.getIndexList();
    this.accessorList = new CachedObject[indexList.length];
    rowIdMap = new IntKeyHashMapConcurrent();

    manager.setStore(table, this);
  }
  public RowStoreAVLDisk(PersistentStoreCollection manager, DataFileCache cache, Table table) {

    this.manager = manager;
    this.table = table;
    this.indexList = table.getIndexList();
    this.accessorList = new CachedObject[indexList.length];
    this.cache = cache;

    manager.setStore(table, this);

    txManager = table.database.txManager;
  }