org.apache.blur.manager
Class BlurQueryChecker

java.lang.Object
  extended by org.apache.blur.manager.BlurQueryChecker

public class BlurQueryChecker
extends Object

The BlurQueryChecker class check the BlurQuery for valid settings before allowing the query to be executed.


Constructor Summary
BlurQueryChecker(BlurConfiguration configuration)
          Reads the BlurConstants BLUR_QUERY_MAX_RESULTS_FETCH, BLUR_QUERY_MAX_ROW_FETCH, and BLUR_QUERY_MAX_RECORD_FETCH to validate the BlurQuery before execution.
 
Method Summary
 void checkQuery(BlurQuery blurQuery)
          Checks the query by running validation against the BlurQuery and the Selector provided.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlurQueryChecker

public BlurQueryChecker(BlurConfiguration configuration)
Reads the BlurConstants BLUR_QUERY_MAX_RESULTS_FETCH, BLUR_QUERY_MAX_ROW_FETCH, and BLUR_QUERY_MAX_RECORD_FETCH to validate the BlurQuery before execution.

Parameters:
configuration -
Method Detail

checkQuery

public void checkQuery(BlurQuery blurQuery)
                throws BlurException
Checks the query by running validation against the BlurQuery and the Selector provided.

Parameters:
blurQuery - the BlurQuery to validate.
Throws:
BlurException


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.