org.apache.lens.server.api.query
Interface QueryAcceptor


public interface QueryAcceptor

The Interface QueryAcceptor.


Method Summary
 String accept(String query, org.apache.hadoop.conf.Configuration conf, SubmitOp submitOp)
          Whether to accept the query or not.
 

Method Detail

accept

String accept(String query,
              org.apache.hadoop.conf.Configuration conf,
              SubmitOp submitOp)
              throws LensException
Whether to accept the query or not.

Parameters:
query - The query
conf - The configuration of the query
submitOp - the submit op
Returns:
null if query should be accepted, rejection cause otherwise
Throws:
LensException - the lens exception


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