Package com.yahoo.search.dispatch
Class FillInvoker
- java.lang.Object
-
- com.yahoo.search.dispatch.CloseableInvoker
-
- com.yahoo.search.dispatch.FillInvoker
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Direct Known Subclasses:
RpcFillInvoker
,RpcProtobufFillInvoker
public abstract class FillInvoker extends CloseableInvoker
FillInvoker encapsulates an allocated connection for running a document summary retrieval. The invocation object can be stateful and should not be reused.- Author:
- ollivir
-
-
Constructor Summary
Constructors Constructor Description FillInvoker()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
fill(Result result, java.lang.String summaryClass)
Retrieves document summaries for the unfilled hits in the givenResult
protected abstract void
getFillResults(Result result, java.lang.String summaryClass)
protected abstract void
sendFillRequest(Result result, java.lang.String summaryClass)
-
Methods inherited from class com.yahoo.search.dispatch.CloseableInvoker
close, release, setFinalStatus, teardown
-
-
-
-
Method Detail
-
fill
public void fill(Result result, java.lang.String summaryClass)
Retrieves document summaries for the unfilled hits in the givenResult
-
getFillResults
protected abstract void getFillResults(Result result, java.lang.String summaryClass)
-
sendFillRequest
protected abstract void sendFillRequest(Result result, java.lang.String summaryClass)
-
-