org.elasticsearch.index.mapper.selector
Class UidFieldSelector

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

public class UidFieldSelector
extends Object
implements ResetFieldSelector

An optimized field selector that loads just the uid.

See Also:
Serialized Form

Field Summary
static UidFieldSelector INSTANCE
           
 
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 UidFieldSelector INSTANCE
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.