org.apache.lucene.document
Class LoadFirstFieldSelector
java.lang.Object
org.apache.lucene.document.LoadFirstFieldSelector
- All Implemented Interfaces:
- Serializable, FieldSelector
public class LoadFirstFieldSelector
- extends Object
- implements FieldSelector
Load the First field and break.
See FieldSelectorResult.LOAD_AND_BREAK
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoadFirstFieldSelector
public LoadFirstFieldSelector()
accept
public FieldSelectorResult accept(String fieldName)
- Specified by:
accept
in interface FieldSelector
- Parameters:
fieldName
- the field to accept or reject
- Returns:
- an instance of
FieldSelectorResult
if the Field
named fieldName
should be loaded.
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.