Package org.terrier.compression

Examples of org.terrier.compression.DebuggingBitIn


  {
    fileCount = 0;
    file = new BitInputStream(_filename);
    //file = new org.terrier.compression.BitFileBuffered(_filename).readReset(0l, (byte)0);
    if (DEBUG)
      file = new DebuggingBitIn(file);
    pointerList = _pointerList;
    postingIteratorClass = _postingIteratorClass;
    fieldCount = _fieldCount;
    try{
      postingConstructor = fieldCount > 0
View Full Code Here


    this.doi = _index.getDocumentIndex();
    this.structureName = _structureName;
    fileCount = Byte.parseByte(_index.getIndexProperty("index."+structureName+".data-files", "1"));
    file = new BitInputStream(getFilename(_index, structureName, fileCount, (byte)0));
    if (DEBUG)
      file = new DebuggingBitIn(file);
    pointerList = _pointerList;
    postingIteratorClass = _postingIteratorClass;
    fieldCount = _index.getIntIndexProperty("index."+structureName+".fields.count", currentFile = 0);
    try{
      postingConstructor = fieldCount > 0
View Full Code Here

    {
      //file id changed: close current file, open specified file
      file.close();
      file = new BitInputStream(getFilename(index, structureName, fileCount, currentFile = pointer.getFileNumber()));
      if (DEBUG)
        file = new DebuggingBitIn(file);
    }
    if (file.getByteOffset() != pointer.getOffset())
    {
      if(DEBUG) System.err.println("skipping " + (pointer.getOffset() - file.getByteOffset()) + " bytes");
      file.skipBytes(pointer.getOffset() - file.getByteOffset());
View Full Code Here

TOP

Related Classes of org.terrier.compression.DebuggingBitIn

Copyright © 2018 www.massapicom. 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.