|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IOContext | |
---|---|
org.apache.lucene.codecs | Codecs API: API for customization of the encoding and structure of the index. |
org.apache.lucene.codecs.appending | Codec for on append-only outputs, such as plain output streams and append-only filesystems. |
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.lucene40.values | Default DocValues implementation for Lucene 4.0 indexes. |
org.apache.lucene.codecs.sep | Sep: base support for separate files (doc,frq,pos,skp,pyl) |
org.apache.lucene.codecs.simpletext | Simpletext Codec: writes human readable postings. |
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 | |
---|---|
abstract StoredFieldsReader |
StoredFieldsFormat.fieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context)
Returns a StoredFieldsReader to load stored
fields. |
abstract StoredFieldsWriter |
StoredFieldsFormat.fieldsWriter(Directory directory,
SegmentInfo si,
IOContext context)
Returns a StoredFieldsWriter to write stored
fields. |
protected TreeMap<String,DocValues> |
PerDocProducerBase.load(FieldInfos fieldInfos,
String segment,
int docCount,
Directory dir,
IOContext context)
|
protected abstract DocValues |
PerDocProducerBase.loadDocValues(int docCount,
Directory dir,
String id,
DocValues.Type type,
IOContext context)
Loads a DocValues instance depending on the given DocValues.Type . |
abstract FieldInfos |
FieldInfosReader.read(Directory directory,
String segmentName,
IOContext iocontext)
|
abstract SegmentInfo |
SegmentInfoReader.read(Directory directory,
String segmentName,
IOContext context)
Read SegmentInfo data from a directory. |
abstract Bits |
LiveDocsFormat.readLiveDocs(Directory dir,
SegmentInfoPerCommit info,
IOContext context)
Read live docs bits. |
abstract TermVectorsReader |
TermVectorsFormat.vectorsReader(Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
IOContext context)
Returns a TermVectorsReader to read term
vectors. |
abstract TermVectorsWriter |
TermVectorsFormat.vectorsWriter(Directory directory,
SegmentInfo segmentInfo,
IOContext context)
Returns a TermVectorsWriter to write term
vectors. |
abstract void |
SegmentInfoWriter.write(Directory dir,
SegmentInfo info,
FieldInfos fis,
IOContext ioContext)
Write SegmentInfo data. |
abstract void |
FieldInfosWriter.write(Directory directory,
String segmentName,
FieldInfos infos,
IOContext context)
|
abstract void |
LiveDocsFormat.writeLiveDocs(MutableBits bits,
Directory dir,
SegmentInfoPerCommit info,
int newDelCount,
IOContext context)
Persist live docs bits. |
Constructors in org.apache.lucene.codecs with parameters of type IOContext | |
---|---|
BlockTermsReader(TermsIndexReaderBase indexReader,
Directory dir,
FieldInfos fieldInfos,
String segment,
PostingsReaderBase postingsReader,
IOContext context,
int termsCacheSize,
String segmentSuffix)
|
|
BlockTreeTermsReader(Directory dir,
FieldInfos fieldInfos,
String segment,
PostingsReaderBase postingsReader,
IOContext ioContext,
String segmentSuffix,
int indexDivisor)
|
|
FixedGapTermsIndexReader(Directory dir,
FieldInfos fieldInfos,
String segment,
int indexDivisor,
Comparator<BytesRef> termComp,
String segmentSuffix,
IOContext context)
|
|
VariableGapTermsIndexReader(Directory dir,
FieldInfos fieldInfos,
String segment,
int indexDivisor,
String segmentSuffix,
IOContext context)
|
Uses of IOContext in org.apache.lucene.codecs.appending |
---|
Constructors in org.apache.lucene.codecs.appending with parameters of type IOContext | |
---|---|
AppendingTermsReader(Directory dir,
FieldInfos fieldInfos,
String segment,
PostingsReaderBase postingsReader,
IOContext ioContext,
String segmentSuffix,
int indexDivisor)
|
Uses of IOContext in org.apache.lucene.codecs.lucene3x |
---|
Methods in org.apache.lucene.codecs.lucene3x with parameters of type IOContext | |
---|---|
SegmentInfo |
Lucene3xSegmentInfoReader.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 | |
---|---|
StoredFieldsReader |
Lucene40StoredFieldsFormat.fieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context)
|
StoredFieldsWriter |
Lucene40StoredFieldsFormat.fieldsWriter(Directory directory,
SegmentInfo si,
IOContext context)
|
protected DocValues |
Lucene40DocValuesProducer.loadDocValues(int docCount,
Directory dir,
String id,
DocValues.Type type,
IOContext context)
|
FieldInfos |
Lucene40FieldInfosReader.read(Directory directory,
String segmentName,
IOContext iocontext)
|
SegmentInfo |
Lucene40SegmentInfoReader.read(Directory dir,
String segment,
IOContext context)
|
Bits |
Lucene40LiveDocsFormat.readLiveDocs(Directory dir,
SegmentInfoPerCommit info,
IOContext context)
|
TermVectorsReader |
Lucene40TermVectorsFormat.vectorsReader(Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
IOContext context)
|
TermVectorsWriter |
Lucene40TermVectorsFormat.vectorsWriter(Directory directory,
SegmentInfo segmentInfo,
IOContext context)
|
void |
Lucene40SegmentInfoWriter.write(Directory dir,
SegmentInfo si,
FieldInfos fis,
IOContext ioContext)
Save a single segment's info. |
void |
Lucene40FieldInfosWriter.write(Directory directory,
String segmentName,
FieldInfos infos,
IOContext context)
|
void |
Lucene40LiveDocsFormat.writeLiveDocs(MutableBits bits,
Directory dir,
SegmentInfoPerCommit info,
int newDelCount,
IOContext context)
|
Constructors in org.apache.lucene.codecs.lucene40 with parameters of type IOContext | |
---|---|
Lucene40PostingsReader(Directory dir,
FieldInfos fieldInfos,
SegmentInfo segmentInfo,
IOContext ioContext,
String segmentSuffix)
|
|
Lucene40StoredFieldsReader(Directory d,
SegmentInfo si,
FieldInfos fn,
IOContext context)
|
|
Lucene40StoredFieldsWriter(Directory directory,
String segment,
IOContext context)
|
|
Lucene40TermVectorsReader(Directory d,
SegmentInfo si,
FieldInfos fieldInfos,
IOContext context)
|
|
Lucene40TermVectorsWriter(Directory directory,
String segment,
IOContext context)
|
Uses of IOContext in org.apache.lucene.codecs.lucene40.values |
---|
Fields in org.apache.lucene.codecs.lucene40.values declared as IOContext | |
---|---|
protected IOContext |
DocValuesWriterBase.context
|
Methods in org.apache.lucene.codecs.lucene40.values with parameters of type IOContext | |
---|---|
static DocValues |
Bytes.getValues(Directory dir,
String id,
Bytes.Mode mode,
boolean fixedSize,
int maxDoc,
Comparator<BytesRef> sortComparator,
IOContext context)
Creates a new DocValues instance that provides either memory
resident or iterative access to a per-document stored byte[]
value. |
static DocValues |
Ints.getValues(Directory dir,
String id,
int numDocs,
DocValues.Type type,
IOContext context)
|
static DocValues |
Floats.getValues(Directory dir,
String id,
int maxDoc,
IOContext context,
DocValues.Type type)
|
static DocValuesConsumer |
Bytes.getWriter(Directory dir,
String id,
Bytes.Mode mode,
boolean fixedSize,
Comparator<BytesRef> sortComparator,
Counter bytesUsed,
IOContext context,
float acceptableOverheadRatio)
Creates a new byte[] Writer instances for the given
directory. |
static DocValuesConsumer |
Ints.getWriter(Directory dir,
String id,
Counter bytesUsed,
DocValues.Type type,
IOContext context)
|
static DocValuesConsumer |
Floats.getWriter(Directory dir,
String id,
Counter bytesUsed,
IOContext context,
DocValues.Type type)
|
Uses of IOContext in org.apache.lucene.codecs.sep |
---|
Methods in org.apache.lucene.codecs.sep with parameters of type IOContext | |
---|---|
abstract IntIndexOutput |
IntStreamFactory.createOutput(Directory dir,
String fileName,
IOContext context)
|
protected DocValues |
SepDocValuesProducer.loadDocValues(int docCount,
Directory dir,
String id,
DocValues.Type type,
IOContext context)
|
abstract IntIndexInput |
IntStreamFactory.openInput(Directory dir,
String fileName,
IOContext context)
|
Constructors in org.apache.lucene.codecs.sep with parameters of type IOContext | |
---|---|
SepPostingsReader(Directory dir,
FieldInfos fieldInfos,
SegmentInfo segmentInfo,
IOContext context,
IntStreamFactory intFactory,
String segmentSuffix)
|
Uses of IOContext in org.apache.lucene.codecs.simpletext |
---|
Fields in org.apache.lucene.codecs.simpletext declared as IOContext | |
---|---|
protected IOContext |
SimpleTextDocValuesConsumer.ctx
|
Methods in org.apache.lucene.codecs.simpletext with parameters of type IOContext | |
---|---|
StoredFieldsReader |
SimpleTextStoredFieldsFormat.fieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context)
|
StoredFieldsWriter |
SimpleTextStoredFieldsFormat.fieldsWriter(Directory directory,
SegmentInfo si,
IOContext context)
|
protected DocValues |
SimpleTextPerDocProducer.loadDocValues(int docCount,
Directory dir,
String id,
DocValues.Type type,
IOContext context)
|
SegmentInfo |
SimpleTextSegmentInfoReader.read(Directory directory,
String segmentName,
IOContext context)
|
FieldInfos |
SimpleTextFieldInfosReader.read(Directory directory,
String segmentName,
IOContext iocontext)
|
Bits |
SimpleTextLiveDocsFormat.readLiveDocs(Directory dir,
SegmentInfoPerCommit info,
IOContext context)
|
TermVectorsReader |
SimpleTextTermVectorsFormat.vectorsReader(Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
IOContext context)
|
TermVectorsWriter |
SimpleTextTermVectorsFormat.vectorsWriter(Directory directory,
SegmentInfo segmentInfo,
IOContext context)
|
void |
SimpleTextSegmentInfoWriter.write(Directory dir,
SegmentInfo si,
FieldInfos fis,
IOContext ioContext)
|
void |
SimpleTextFieldInfosWriter.write(Directory directory,
String segmentName,
FieldInfos infos,
IOContext context)
|
void |
SimpleTextLiveDocsFormat.writeLiveDocs(MutableBits bits,
Directory dir,
SegmentInfoPerCommit info,
int newDelCount,
IOContext context)
|
Constructors in org.apache.lucene.codecs.simpletext with parameters of type IOContext | |
---|---|
SimpleTextDocValuesConsumer(String segment,
Directory dir,
IOContext ctx,
DocValues.Type type,
String segmentSuffix)
|
|
SimpleTextStoredFieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context)
|
|
SimpleTextStoredFieldsWriter(Directory directory,
String segment,
IOContext context)
|
|
SimpleTextTermVectorsReader(Directory directory,
SegmentInfo si,
IOContext context)
|
|
SimpleTextTermVectorsWriter(Directory directory,
String segment,
IOContext context)
|
Uses of IOContext in org.apache.lucene.index |
---|
Fields in org.apache.lucene.index declared as IOContext | |
---|---|
IOContext |
SegmentReadState.context
|
IOContext |
PerDocWriteState.context
|
IOContext |
SegmentWriteState.context
|
Methods in org.apache.lucene.index with parameters of type IOContext | |
---|---|
static String |
SegmentInfos.write3xInfo(Directory dir,
SegmentInfo si,
IOContext context)
Deprecated. |
Constructors in org.apache.lucene.index with parameters of type IOContext | |
---|---|
PerDocWriteState(InfoStream infoStream,
Directory directory,
SegmentInfo segmentInfo,
Counter bytesUsed,
String segmentSuffix,
IOContext context)
|
|
SegmentReader(SegmentInfoPerCommit si,
int termInfosIndexDivisor,
IOContext context)
|
|
SegmentReadState(Directory dir,
SegmentInfo info,
FieldInfos fieldInfos,
IOContext context,
int termsIndexDivisor)
|
|
SegmentReadState(Directory dir,
SegmentInfo info,
FieldInfos fieldInfos,
IOContext context,
int termsIndexDivisor,
String segmentSuffix)
|
|
SegmentWriteState(InfoStream infoStream,
Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
int termIndexInterval,
org.apache.lucene.index.BufferedDeletes segDeletes,
IOContext context)
|
Uses of IOContext in org.apache.lucene.store |
---|
Fields in org.apache.lucene.store declared as IOContext | |
---|---|
static IOContext |
IOContext.DEFAULT
|
static IOContext |
IOContext.READ
|
static IOContext |
IOContext.READONCE
|
Methods in org.apache.lucene.store with parameters of type IOContext | |
---|---|
static int |
BufferedIndexInput.bufferSize(IOContext context)
Returns default buffer sizes for the given IOContext |
void |
Directory.copy(Directory to,
String src,
String dest,
IOContext context)
Copies the file src to Directory to under the new
file name dest. |
void |
TrackingDirectoryWrapper.copy(Directory to,
String src,
String dest,
IOContext context)
|
abstract IndexOutput |
Directory.createOutput(String name,
IOContext context)
Creates a new, empty file in the directory with the given name. |
IndexOutput |
NRTCachingDirectory.createOutput(String name,
IOContext context)
|
IndexOutput |
FileSwitchDirectory.createOutput(String name,
IOContext context)
|
IndexOutput |
CompoundFileDirectory.createOutput(String name,
IOContext context)
|
IndexOutput |
RAMDirectory.createOutput(String name,
IOContext context)
Creates a new, empty file in the directory with the given name. |
IndexOutput |
TrackingDirectoryWrapper.createOutput(String name,
IOContext context)
|
IndexOutput |
FSDirectory.createOutput(String name,
IOContext context)
Creates an IndexOutput for the file with the given name. |
Directory.IndexInputSlicer |
Directory.createSlicer(String name,
IOContext context)
Creates an Directory.IndexInputSlicer for the given file name. |
Directory.IndexInputSlicer |
SimpleFSDirectory.createSlicer(String name,
IOContext context)
|
Directory.IndexInputSlicer |
MMapDirectory.createSlicer(String name,
IOContext context)
|
Directory.IndexInputSlicer |
NIOFSDirectory.createSlicer(String name,
IOContext context)
|
Directory.IndexInputSlicer |
NRTCachingDirectory.createSlicer(String name,
IOContext context)
|
Directory.IndexInputSlicer |
FileSwitchDirectory.createSlicer(String name,
IOContext context)
|
Directory.IndexInputSlicer |
CompoundFileDirectory.createSlicer(String name,
IOContext context)
|
Directory.IndexInputSlicer |
TrackingDirectoryWrapper.createSlicer(String name,
IOContext context)
|
protected boolean |
NRTCachingDirectory.doCacheWrite(String name,
IOContext context)
Subclass can override this to customize logic; return true if this file should be written to the RAMDirectory. |
abstract IndexInput |
Directory.openInput(String name,
IOContext context)
Returns a stream reading an existing file, with the specified read buffer size. |
IndexInput |
SimpleFSDirectory.openInput(String name,
IOContext context)
Creates an IndexInput for the file with the given name. |
IndexInput |
MMapDirectory.openInput(String name,
IOContext context)
Creates an IndexInput for the file with the given name. |
IndexInput |
NIOFSDirectory.openInput(String name,
IOContext context)
Creates an IndexInput for the file with the given name. |
IndexInput |
NRTCachingDirectory.openInput(String name,
IOContext context)
|
IndexInput |
FileSwitchDirectory.openInput(String name,
IOContext context)
|
IndexInput |
CompoundFileDirectory.openInput(String name,
IOContext context)
|
IndexInput |
RAMDirectory.openInput(String name,
IOContext context)
Returns a stream reading an existing file. |
IndexInput |
TrackingDirectoryWrapper.openInput(String name,
IOContext context)
|
Constructors in org.apache.lucene.store with parameters of type IOContext | |
---|---|
BufferedIndexInput(String resourceDesc,
IOContext context)
|
|
CompoundFileDirectory(Directory directory,
String fileName,
IOContext context,
boolean openForWrite)
Create a new CompoundFileDirectory. |
|
IOContext(IOContext ctxt,
boolean readOnce)
This constructor is used to initialize a IOContext instance with a new value for the readOnce variable. |
|
NIOFSDirectory.NIOFSIndexInput(File path,
IOContext context,
int chunkSize)
|
|
RAMDirectory(Directory dir,
IOContext context)
Creates a new RAMDirectory instance from a different
Directory implementation. |
|
SimpleFSDirectory.SimpleFSIndexInput(String resourceDesc,
File path,
IOContext context,
int chunkSize)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |