Uses of Enum Class
org.apache.lucene.store.ReadAdvice
Packages that use ReadAdvice
Package
Description
Binary i/o API, used for all index data.
Some utility classes.
-
Uses of ReadAdvice in org.apache.lucene.store
Methods in org.apache.lucene.store that return ReadAdviceModifier and TypeMethodDescriptionIOContext.readAdvice()
Returns the value of thereadAdvice
record component.static ReadAdvice
Returns the enum constant of this class with the specified name.static ReadAdvice[]
ReadAdvice.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.lucene.store with parameters of type ReadAdviceModifier and TypeMethodDescriptionIndexInput.slice
(String sliceDescription, long offset, long length, ReadAdvice readAdvice) Create a slice with a specificReadAdvice
.void
IndexInput.updateReadAdvice
(ReadAdvice readAdvice) Optional method: Give a hint to this input about the change in read access pattern.IOContext.withReadAdvice
(ReadAdvice advice) Return an updatedIOContext
that has the providedReadAdvice
if theIOContext.Context
is aIOContext.Context.DEFAULT
context, otherwise return this existing instance.Constructors in org.apache.lucene.store with parameters of type ReadAdviceModifierConstructorDescriptionIOContext
(IOContext.Context context, MergeInfo mergeInfo, FlushInfo flushInfo, ReadAdvice readAdvice) Creates an instance of aIOContext
record class. -
Uses of ReadAdvice in org.apache.lucene.util
Fields in org.apache.lucene.util declared as ReadAdviceModifier and TypeFieldDescriptionstatic final ReadAdvice
Constants.DEFAULT_READADVICE
The defaultReadAdvice
used for opening index files.