org.elasticsearch.index.mapper.selector
Class AllButSourceFieldSelector

java.lang.Object
  extended by org.elasticsearch.index.mapper.selector.AllButSourceFieldSelector
All Implemented Interfaces:
Serializable, org.apache.lucene.document.FieldSelector, ResetFieldSelector

public class AllButSourceFieldSelector
extends Object
implements ResetFieldSelector

A field selector that loads all fields except the source field.

See Also:
Serialized Form

Field Summary
static AllButSourceFieldSelector INSTANCE
           
 
Constructor Summary
AllButSourceFieldSelector()
           
 
Method Summary
 org.apache.lucene.document.FieldSelectorResult accept(String fieldName)
           
 void reset()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final AllButSourceFieldSelector INSTANCE
Constructor Detail

AllButSourceFieldSelector

public AllButSourceFieldSelector()
Method Detail

accept

public org.apache.lucene.document.FieldSelectorResult accept(String fieldName)
Specified by:
accept in interface org.apache.lucene.document.FieldSelector

reset

public void reset()
Specified by:
reset in interface ResetFieldSelector

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012. All Rights Reserved.