org.elasticsearch.search.fetch.version
Class VersionFetchSubPhase

java.lang.Object
  extended by org.elasticsearch.search.fetch.version.VersionFetchSubPhase
All Implemented Interfaces:
FetchSubPhase

public class VersionFetchSubPhase
extends Object
implements FetchSubPhase


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.search.fetch.FetchSubPhase
FetchSubPhase.HitContext
 
Constructor Summary
VersionFetchSubPhase()
           
 
Method Summary
 void hitExecute(SearchContext context, FetchSubPhase.HitContext hitContext)
          Executes the hit level phase, with a reader and doc id (note, its a low level reader, and the matching doc).
 boolean hitExecutionNeeded(SearchContext context)
           
 void hitsExecute(SearchContext context, InternalSearchHit[] hits)
           
 boolean hitsExecutionNeeded(SearchContext context)
           
 Map<String,? extends SearchParseElement> parseElements()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionFetchSubPhase

public VersionFetchSubPhase()
Method Detail

parseElements

public Map<String,? extends SearchParseElement> parseElements()
Specified by:
parseElements in interface FetchSubPhase

hitsExecutionNeeded

public boolean hitsExecutionNeeded(SearchContext context)
Specified by:
hitsExecutionNeeded in interface FetchSubPhase

hitsExecute

public void hitsExecute(SearchContext context,
                        InternalSearchHit[] hits)
                 throws ElasticSearchException
Specified by:
hitsExecute in interface FetchSubPhase
Throws:
ElasticSearchException

hitExecutionNeeded

public boolean hitExecutionNeeded(SearchContext context)
Specified by:
hitExecutionNeeded in interface FetchSubPhase

hitExecute

public void hitExecute(SearchContext context,
                       FetchSubPhase.HitContext hitContext)
                throws ElasticSearchException
Description copied from interface: FetchSubPhase
Executes the hit level phase, with a reader and doc id (note, its a low level reader, and the matching doc).

Specified by:
hitExecute in interface FetchSubPhase
Throws:
ElasticSearchException


Copyright © 2009-2012. All Rights Reserved.