Package it.unimi.dsi.io

Examples of it.unimi.dsi.io.ByteBufferInputStream


          termProcessor,
          field, properties, termMap, prefixMap, sizes, offsets );
    }
    else if ( queryProperties != null && queryProperties.containsKey( UriKeys.MAPPED ) ) {
      final File positionsFile = new File( basename + POSITIONS_EXTENSION );
      final ByteBufferInputStream index = ByteBufferInputStream.map( new FileInputStream( indexFile ).getChannel(), MapMode.READ_ONLY );
      return highPerformance
          ? new MemoryMappedHPIndex( index, ByteBufferInputStream.map( new FileInputStream( positionsFile ).getChannel(), MapMode.READ_ONLY ),
          numberOfDocuments, numberOfTerms, numberOfPostings, numberOfOccurrences, maxCount,
          payload, frequencyCoding, pointerCoding, countCoding, positionCoding, quantum, height,
          termProcessor,
View Full Code Here

TOP

Related Classes of it.unimi.dsi.io.ByteBufferInputStream

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.