org.apache.lucene.document
Class LoadFirstFieldSelector

java.lang.Object
  extended byorg.apache.lucene.document.LoadFirstFieldSelector
All Implemented Interfaces:
FieldSelector

public class LoadFirstFieldSelector
extends Object
implements FieldSelector

Load the First field and break.

See FieldSelectorResult.LOAD_AND_BREAK


Constructor Summary
LoadFirstFieldSelector()
           
 
Method Summary
 FieldSelectorResult accept(String fieldName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadFirstFieldSelector

public LoadFirstFieldSelector()
Method Detail

accept

public FieldSelectorResult accept(String fieldName)
Specified by:
accept in interface FieldSelector
Parameters:
fieldName -
Returns:
true if the Field with fieldName should be loaded or not


Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.