org.apache.lens.server.query
Class ResultFormatter

java.lang.Object
  extended by org.apache.lens.server.api.events.AsyncEventListener<QueryExecuted>
      extended by org.apache.lens.server.query.ResultFormatter
All Implemented Interfaces:
LensEventListener<QueryExecuted>

public class ResultFormatter
extends AsyncEventListener<QueryExecuted>

The Class ResultFormatter.


Field Summary
static org.apache.commons.logging.Log LOG
          The Constant LOG.
 
Fields inherited from interface org.apache.lens.server.api.events.LensEventListener
HANDLER_METHOD_NAME
 
Constructor Summary
ResultFormatter(QueryExecutionServiceImpl queryService)
          Instantiates a new result formatter.
 
Method Summary
 void process(QueryExecuted event)
          Should implement the actual event handling.
 
Methods inherited from class org.apache.lens.server.api.events.AsyncEventListener
getEventQueue, onEvent, stop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
The Constant LOG.

Constructor Detail

ResultFormatter

public ResultFormatter(QueryExecutionServiceImpl queryService)
Instantiates a new result formatter.

Parameters:
queryService - the query service
Method Detail

process

public void process(QueryExecuted event)
Description copied from class: AsyncEventListener
Should implement the actual event handling.

Specified by:
process in class AsyncEventListener<QueryExecuted>
Parameters:
event - the event


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.