Package at.jku.sii.sqlitereader.io

Examples of at.jku.sii.sqlitereader.io.ArrayDataInput.annotateLastInt()


    List<PayloadOverflowPage> list = new ArrayList<PayloadOverflowPage>();
    int page = startPage;
    while (page > 0) {
      ArrayDataInput block = db.getPageBlock(page);
      int nextPage = block.readInt();
      block.annotateLastInt("nextPage", nextPage);

      int size = block.size() - 4;
      byte[] content = new byte[size];
      block.readFully(content);
      block.annotateLast(content.length, "Payload");
View Full Code Here


    List<FreeListPage> pages = new ArrayList<FreeListPage>(numFreeListPages);
    int nextFreePage = firstFreeListPage;
    for (int i = 0; i < numFreeListPages; ++i) {
      ArrayDataInput block = db.getPageBlock(nextFreePage);
      int nextFreePage2 = block.readInt();
      block.annotateLastInt("nextFreePage", nextFreePage2);

      int numEntries = block.readInt("numEntries");
      List<FreePage> freePages = new ArrayList<FreePage>(numEntries);
      for (int j = 0; j < numEntries; ++j) {
        int freePage = block.readInt("freePage");
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.