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 class org.apache.lens.server.api.events.AsyncEventListener
eventQueue, processor
 
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)
           
 
Methods inherited from class org.apache.lens.server.api.events.AsyncEventListener
getEventQueue, onEvent, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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)
Specified by:
process in class AsyncEventListener<QueryExecuted>


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