Class PathStoredFieldVisitor
java.lang.Object
org.apache.lucene.index.StoredFieldVisitor
org.apache.jackrabbit.oak.plugins.index.lucene.util.PathStoredFieldVisitor
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.index.StoredFieldVisitor
StoredFieldVisitor.Status -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPath()needsField(FieldInfo fieldInfo) Hook before processing a field.voidstringField(FieldInfo fieldInfo, String value) Process a string fieldMethods inherited from class org.apache.lucene.index.StoredFieldVisitor
binaryField, doubleField, floatField, intField, longField
-
Constructor Details
-
PathStoredFieldVisitor
public PathStoredFieldVisitor()
-
-
Method Details
-
needsField
Description copied from class:StoredFieldVisitorHook before processing a field. Before a field is processed, this method is invoked so that subclasses can return aStoredFieldVisitor.Statusrepresenting whether they need that particular field or not, or to stop processing entirely.- Specified by:
needsFieldin classStoredFieldVisitor- Throws:
IOException
-
stringField
Description copied from class:StoredFieldVisitorProcess a string field- Overrides:
stringFieldin classStoredFieldVisitor- Throws:
IOException
-
getPath
-