org.gcube.dataaccess.spd.havingengine.exl
Class HavingStatementFactoryEXL

java.lang.Object
  extended by org.gcube.dataaccess.spd.havingengine.exl.HavingStatementFactoryEXL
All Implemented Interfaces:
HavingStatementFactory

public class HavingStatementFactoryEXL
extends Object
implements HavingStatementFactory

Author:
"Federico De Faveri defaveri@isti.cnr.it"

Nested Class Summary
protected  class HavingStatementFactoryEXL.HavingStatementJEXL<T>
           
 
Field Summary
protected  org.apache.commons.jexl2.JexlEngine engine
           
protected  org.slf4j.Logger logger
           
 
Constructor Summary
HavingStatementFactoryEXL()
           
 
Method Summary
<T> HavingStatement<T>
compile(String expression)
          Compile the passed expression for the target class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected org.slf4j.Logger logger

engine

protected org.apache.commons.jexl2.JexlEngine engine
Constructor Detail

HavingStatementFactoryEXL

public HavingStatementFactoryEXL()
Method Detail

compile

public <T> HavingStatement<T> compile(String expression)
                           throws Exception
Compile the passed expression for the target class.

Specified by:
compile in interface HavingStatementFactory
Parameters:
expression - the expression to compile.
Returns:
the compiled statement.
Throws:
Exception - if an error occurs during the compilation.


Copyright © 2014. All Rights Reserved.