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. |
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 queryconf
- The configuration of the querysubmitOp
- 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.