Uses of Class
org.apache.lucene.store.IOContext
-
Packages that use IOContext Package Description org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.codecs.compressing StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.org.apache.lucene.codecs.lucene3x Codec to support Lucene 3.x indexes (readonly)org.apache.lucene.codecs.lucene40 Lucene 4.0 file format.org.apache.lucene.codecs.lucene41 Lucene 4.1 file format.org.apache.lucene.codecs.lucene46 Lucene 4.6 file format.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.store Binary i/o API, used for all index data. -
-
Uses of IOContext in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type IOContext Modifier and Type Method Description abstract StoredFieldsReaderStoredFieldsFormat. fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context)Returns aStoredFieldsReaderto load stored fields.abstract StoredFieldsWriterStoredFieldsFormat. fieldsWriter(Directory directory, SegmentInfo si, IOContext context)Returns aStoredFieldsWriterto write stored fields.abstract FieldInfosFieldInfosReader. read(Directory directory, String segmentName, String segmentSuffix, IOContext iocontext)Read theFieldInfospreviously written withFieldInfosWriter.abstract SegmentInfoSegmentInfoReader. read(Directory directory, String segmentName, IOContext context)ReadSegmentInfodata from a directory.abstract BitsLiveDocsFormat. readLiveDocs(Directory dir, SegmentCommitInfo info, IOContext context)Read live docs bits.abstract TermVectorsReaderTermVectorsFormat. vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context)Returns aTermVectorsReaderto read term vectors.abstract TermVectorsWriterTermVectorsFormat. vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context)Returns aTermVectorsWriterto write term vectors.abstract voidFieldInfosWriter. write(Directory directory, String segmentName, String segmentSuffix, FieldInfos infos, IOContext context)Writes the providedFieldInfosto the directory.abstract voidSegmentInfoWriter. write(Directory dir, SegmentInfo info, FieldInfos fis, IOContext ioContext)WriteSegmentInfodata.abstract voidLiveDocsFormat. writeLiveDocs(MutableBits bits, Directory dir, SegmentCommitInfo info, int newDelCount, IOContext context)Persist live docs bits.Constructors in org.apache.lucene.codecs with parameters of type IOContext Constructor Description BlockTreeTermsReader(Directory dir, FieldInfos fieldInfos, SegmentInfo info, PostingsReaderBase postingsReader, IOContext ioContext, String segmentSuffix, int indexDivisor)Sole constructor. -
Uses of IOContext in org.apache.lucene.codecs.compressing
Methods in org.apache.lucene.codecs.compressing with parameters of type IOContext Modifier and Type Method Description StoredFieldsReaderCompressingStoredFieldsFormat. fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context)StoredFieldsWriterCompressingStoredFieldsFormat. fieldsWriter(Directory directory, SegmentInfo si, IOContext context)TermVectorsReaderCompressingTermVectorsFormat. vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context)TermVectorsWriterCompressingTermVectorsFormat. vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context)Constructors in org.apache.lucene.codecs.compressing with parameters of type IOContext Constructor Description CompressingStoredFieldsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode)Sole constructor.CompressingStoredFieldsWriter(Directory directory, SegmentInfo si, String segmentSuffix, IOContext context, String formatName, CompressionMode compressionMode, int chunkSize)Sole constructor.CompressingTermVectorsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode)Sole constructor.CompressingTermVectorsWriter(Directory directory, SegmentInfo si, String segmentSuffix, IOContext context, String formatName, CompressionMode compressionMode, int chunkSize)Sole constructor. -
Uses of IOContext in org.apache.lucene.codecs.lucene3x
Methods in org.apache.lucene.codecs.lucene3x with parameters of type IOContext Modifier and Type Method Description SegmentInfoLucene3xSegmentInfoReader. read(Directory directory, String segmentName, IOContext context)Deprecated. -
Uses of IOContext in org.apache.lucene.codecs.lucene40
Methods in org.apache.lucene.codecs.lucene40 with parameters of type IOContext Modifier and Type Method Description StoredFieldsReaderLucene40StoredFieldsFormat. fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context)StoredFieldsWriterLucene40StoredFieldsFormat. fieldsWriter(Directory directory, SegmentInfo si, IOContext context)SegmentInfoLucene40SegmentInfoReader. read(Directory dir, String segment, IOContext context)Deprecated.BitsLucene40LiveDocsFormat. readLiveDocs(Directory dir, SegmentCommitInfo info, IOContext context)TermVectorsReaderLucene40TermVectorsFormat. vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context)TermVectorsWriterLucene40TermVectorsFormat. vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context)voidLucene40SegmentInfoWriter. write(Directory dir, SegmentInfo si, FieldInfos fis, IOContext ioContext)Deprecated.Save a single segment's info.voidLucene40LiveDocsFormat. writeLiveDocs(MutableBits bits, Directory dir, SegmentCommitInfo info, int newDelCount, IOContext context)Constructors in org.apache.lucene.codecs.lucene40 with parameters of type IOContext Constructor Description Lucene40PostingsReader(Directory dir, FieldInfos fieldInfos, SegmentInfo segmentInfo, IOContext ioContext, String segmentSuffix)Deprecated.Sole constructor.Lucene40StoredFieldsReader(Directory d, SegmentInfo si, FieldInfos fn, IOContext context)Sole constructor.Lucene40StoredFieldsWriter(Directory directory, String segment, IOContext context)Sole constructor.Lucene40TermVectorsReader(Directory d, SegmentInfo si, FieldInfos fieldInfos, IOContext context)Sole constructor.Lucene40TermVectorsWriter(Directory directory, String segment, IOContext context)Sole constructor. -
Uses of IOContext in org.apache.lucene.codecs.lucene41
Constructors in org.apache.lucene.codecs.lucene41 with parameters of type IOContext Constructor Description Lucene41PostingsReader(Directory dir, FieldInfos fieldInfos, SegmentInfo segmentInfo, IOContext ioContext, String segmentSuffix)Sole constructor. -
Uses of IOContext in org.apache.lucene.codecs.lucene46
Methods in org.apache.lucene.codecs.lucene46 with parameters of type IOContext Modifier and Type Method Description SegmentInfoLucene46SegmentInfoReader. read(Directory dir, String segment, IOContext context)voidLucene46SegmentInfoWriter. write(Directory dir, SegmentInfo si, FieldInfos fis, IOContext ioContext)Save a single segment's info. -
Uses of IOContext in org.apache.lucene.index
Fields in org.apache.lucene.index declared as IOContext Modifier and Type Field Description IOContextSegmentReadState. contextIOContextto pass toDirectory.openInput(String,IOContext).IOContextSegmentWriteState. contextIOContextfor all writes; you should pass this toDirectory.createOutput(String,IOContext).Methods in org.apache.lucene.index with parameters of type IOContext Modifier and Type Method Description static StringSegmentInfos. write3xInfo(Directory dir, SegmentInfo si, IOContext context)Deprecated.Constructors in org.apache.lucene.index with parameters of type IOContext Constructor Description SegmentReader(SegmentCommitInfo si, int termInfosIndexDivisor, IOContext context)Constructs a new SegmentReader with a new core.SegmentReadState(Directory dir, SegmentInfo info, FieldInfos fieldInfos, IOContext context, int termsIndexDivisor)Create aSegmentReadState.SegmentReadState(Directory dir, SegmentInfo info, FieldInfos fieldInfos, IOContext context, int termsIndexDivisor, String segmentSuffix)Create aSegmentReadState.SegmentWriteState(InfoStream infoStream, Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, int termIndexInterval, org.apache.lucene.index.BufferedUpdates segUpdates, IOContext context)Sole constructor.SegmentWriteState(InfoStream infoStream, Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, int termIndexInterval, org.apache.lucene.index.BufferedUpdates segUpdates, IOContext context, String segmentSuffix)Constructor which takes segment suffix. -
Uses of IOContext in org.apache.lucene.store
Fields in org.apache.lucene.store declared as IOContext Modifier and Type Field Description static IOContextIOContext. DEFAULTstatic IOContextIOContext. READstatic IOContextIOContext. READONCEMethods in org.apache.lucene.store with parameters of type IOContext Modifier and Type Method Description static intBufferedIndexInput. bufferSize(IOContext context)Returns default buffer sizes for the givenIOContextvoidDirectory. copy(Directory to, String src, String dest, IOContext context)Copies the file src toDirectoryto under the new file name dest.voidRateLimitedDirectoryWrapper. copy(Directory to, String src, String dest, IOContext context)voidTrackingDirectoryWrapper. copy(Directory to, String src, String dest, IOContext context)IndexOutputCompoundFileDirectory. createOutput(String name, IOContext context)abstract IndexOutputDirectory. createOutput(String name, IOContext context)Creates a new, empty file in the directory with the given name.IndexOutputFileSwitchDirectory. createOutput(String name, IOContext context)IndexOutputFilterDirectory. createOutput(String name, IOContext context)IndexOutputFSDirectory. createOutput(String name, IOContext context)Creates an IndexOutput for the file with the given name.IndexOutputNRTCachingDirectory. createOutput(String name, IOContext context)IndexOutputRAMDirectory. createOutput(String name, IOContext context)Creates a new, empty file in the directory with the given name.IndexOutputRateLimitedDirectoryWrapper. createOutput(String name, IOContext context)IndexOutputTrackingDirectoryWrapper. createOutput(String name, IOContext context)Directory.IndexInputSlicerCompoundFileDirectory. createSlicer(String name, IOContext context)Directory.IndexInputSlicerDirectory. createSlicer(String name, IOContext context)Creates anDirectory.IndexInputSlicerfor the given file name.Directory.IndexInputSlicerFileSwitchDirectory. createSlicer(String name, IOContext context)Directory.IndexInputSlicerMMapDirectory. createSlicer(String name, IOContext context)Directory.IndexInputSlicerNIOFSDirectory. createSlicer(String name, IOContext context)Directory.IndexInputSlicerNRTCachingDirectory. createSlicer(String name, IOContext context)Directory.IndexInputSlicerRateLimitedDirectoryWrapper. createSlicer(String name, IOContext context)Directory.IndexInputSlicerSimpleFSDirectory. createSlicer(String name, IOContext context)Directory.IndexInputSlicerTrackingDirectoryWrapper. createSlicer(String name, IOContext context)protected booleanNRTCachingDirectory. doCacheWrite(String name, IOContext context)Subclass can override this to customize logic; return true if this file should be written to the RAMDirectory.IndexInputCompoundFileDirectory. openInput(String name, IOContext context)abstract IndexInputDirectory. openInput(String name, IOContext context)Returns a stream reading an existing file, with the specified read buffer size.IndexInputFileSwitchDirectory. openInput(String name, IOContext context)IndexInputFilterDirectory. openInput(String name, IOContext context)IndexInputMMapDirectory. openInput(String name, IOContext context)Creates an IndexInput for the file with the given name.IndexInputNIOFSDirectory. openInput(String name, IOContext context)Creates an IndexInput for the file with the given name.IndexInputNRTCachingDirectory. openInput(String name, IOContext context)IndexInputRAMDirectory. openInput(String name, IOContext context)Returns a stream reading an existing file.IndexInputSimpleFSDirectory. openInput(String name, IOContext context)Creates an IndexInput for the file with the given name.Constructors in org.apache.lucene.store with parameters of type IOContext Constructor Description BufferedIndexInput(String resourceDesc, IOContext context)CompoundFileDirectory(Directory directory, String fileName, IOContext context, boolean openForWrite)Create a new CompoundFileDirectory.FSIndexInput(String resourceDesc, File path, IOContext context)Create a new FSIndexInput, reading the entire file frompathIOContext(IOContext ctxt, boolean readOnce)This constructor is used to initialize aIOContextinstance with a new value for the readOnce variable.NIOFSIndexInput(File path, IOContext context)RAMDirectory(Directory dir, IOContext context)Creates a newRAMDirectoryinstance from a differentDirectoryimplementation.SimpleFSIndexInput(String resourceDesc, File path, IOContext context)
-