Package org.exist.storage.index

Examples of org.exist.storage.index.BFile.dump()


                collectionsDb.put(txn, new Value(data), new FixedByteArray(replacement, 0, replacement.length), true);
            }
            mgr.commit(txn);
           
            Writer writer = new StringWriter();
            collectionsDb.dump(writer);
            System.out.println(writer.toString());
        } catch (Exception e) {           
            fail(e.getMessage());           
        } finally {
            pool.release(broker);
View Full Code Here


        DBBroker broker = null;
        try {
            broker = pool.get(pool.getSecurityManager().getSystemSubject());
            BFile collectionsDb = (BFile)((NativeBroker)broker).getStorage(NativeBroker.COLLECTIONS_DBX_ID);
            Writer writer = new StringWriter();
            collectionsDb.dump(writer);
            System.out.println(writer.toString());
           
            for (int i = 1; i < 1001; i++) {
                String key = "test" + i;
                byte[] data = key.getBytes(UTF_8);
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.