com.senseidb.bql.parsers
Class BQLCompiler

java.lang.Object
  extended by com.senseidb.bql.parsers.AbstractCompiler
      extended by com.senseidb.bql.parsers.BQLCompiler

public class BQLCompiler
extends AbstractCompiler


Constructor Summary
BQLCompiler(Map<String,String[]> facetInfoMap)
           
 
Method Summary
 org.json.JSONObject compile(String bqlStmt)
           
 String getErrorMessage(org.antlr.runtime.RecognitionException error)
           
 
Methods inherited from class com.senseidb.bql.parsers.AbstractCompiler
printTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BQLCompiler

public BQLCompiler(Map<String,String[]> facetInfoMap)
Method Detail

compile

public org.json.JSONObject compile(String bqlStmt)
                            throws org.antlr.runtime.RecognitionException
Specified by:
compile in class AbstractCompiler
Throws:
org.antlr.runtime.RecognitionException

getErrorMessage

public String getErrorMessage(org.antlr.runtime.RecognitionException error)
Specified by:
getErrorMessage in class AbstractCompiler


Copyright © 2010-2012. All Rights Reserved.