butler.ext.temporal
Class TemporalFilter

java.lang.Object
  extended by butler.sql.filter.Filter
      extended by butler.ext.temporal.TemporalFilter

public class TemporalFilter
extends Filter

Author:
Fredrik Bertilsson

Constructor Summary
TemporalFilter(Table tab, Column col, Column timeCol, java.lang.String joinAlias)
           
TemporalFilter(Table tab, Column col, java.lang.Comparable timeValue)
           
 
Method Summary
 java.lang.String getSQL()
           
 java.util.List getValues(QueryParams params)
           
 
Methods inherited from class butler.sql.filter.Filter
and, copy, createId, equals, filter, getCaption, getFilter, getId, getLeafFilters, getNestedQuery, getOperator, getParamDatatypes, getValues, hashCode, modify, not, or, params2db, parseFilter, registerFilterParser, setCaption, setId, setOperator, setSize, setSize, toXML, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemporalFilter

public TemporalFilter(Table tab,
                      Column col,
                      Column timeCol,
                      java.lang.String joinAlias)
               throws java.lang.Exception
Throws:
java.lang.Exception

TemporalFilter

public TemporalFilter(Table tab,
                      Column col,
                      java.lang.Comparable timeValue)
               throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getSQL

public java.lang.String getSQL()
                        throws java.lang.Exception
Overrides:
getSQL in class Filter
Throws:
java.lang.Exception

getValues

public java.util.List getValues(QueryParams params)
                         throws java.lang.Exception
Overrides:
getValues in class Filter
Throws:
java.lang.Exception