public class SampleResponseTransformer extends Object implements ResponseTransformer
Constructor and Description |
---|
SampleResponseTransformer() |
Modifier and Type | Method and Description |
---|---|
void |
processResponseDocuments(QueryResponse info,
SearchDocumentList documents)
Process the documents for a response.
|
void |
processResponseInfo(QueryResponse info)
Process a
QueryResponse which contains information about the query request and the metadata about how long it took to
compute the results. |
public void processResponseInfo(QueryResponse info) throws AttivioException
ResponseTransformer
QueryResponse
which contains information about the query request and the metadata about how long it took to
compute the results.processResponseInfo
in interface ResponseTransformer
AttivioException
public void processResponseDocuments(QueryResponse info, SearchDocumentList documents) throws AttivioException
ResponseTransformer
NOTE: The only modifications made to info
should be the addition of feedback messages. If you want to do any
transformation of the info
block, you should implement
ResponseTransformer.processResponseInfo(QueryResponse)
.
processResponseDocuments
in interface ResponseTransformer
AttivioException
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.