public class ResultFormatter extends AsyncEventListener<QueryExecuted>
Modifier and Type | Field and Description |
---|---|
static String |
ERROR_MESSAGE |
HANDLER_METHOD_NAME
Constructor and Description |
---|
ResultFormatter(QueryExecutionServiceImpl queryService,
LogSegregationContext logSegregationContext)
Instantiates a new result formatter.
|
Modifier and Type | Method and Description |
---|---|
void |
process(QueryExecuted event)
Should implement the actual event handling.
|
getEventQueue, onEvent, stop
public static final String ERROR_MESSAGE
public ResultFormatter(QueryExecutionServiceImpl queryService, @NonNull LogSegregationContext logSegregationContext)
queryService
- the query servicepublic void process(QueryExecuted event)
AsyncEventListener
process
in class AsyncEventListener<QueryExecuted>
event
- the eventCopyright © 2014–2018 Apache Software Foundation. All rights reserved.