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 thereadAdvicerecord component.static ReadAdviceReturns 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.voidIndexInput.updateReadAdvice(ReadAdvice readAdvice) Optional method: Give a hint to this input about the change in read access pattern.IOContext.withReadAdvice(ReadAdvice advice) Return an updatedIOContextthat has the providedReadAdviceif theIOContext.Contextis aIOContext.Context.DEFAULTcontext, 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 aIOContextrecord class. -
Uses of ReadAdvice in org.apache.lucene.util
Fields in org.apache.lucene.util declared as ReadAdviceModifier and TypeFieldDescriptionstatic final ReadAdviceConstants.DEFAULT_READADVICEThe defaultReadAdviceused for opening index files.