org.elasticsearch.index.mapper
Class UidFieldSelector

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

public class UidFieldSelector
extends java.lang.Object
implements org.apache.lucene.document.FieldSelector

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(java.lang.String fieldName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static UidFieldSelector INSTANCE
Method Detail

accept

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