org.elasticsearch.index.mapper.selector
Class UidAndRoutingFieldSelector

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

public class UidAndRoutingFieldSelector
extends Object
implements ResetFieldSelector

An optimized field selector that loads just the uid and the routing.

See Also:
Serialized Form

Constructor Summary
UidAndRoutingFieldSelector()
           
 
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
 

Constructor Detail

UidAndRoutingFieldSelector

public UidAndRoutingFieldSelector()
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.