org.deegree.observation.persistence
Class GenericFilterConverter

java.lang.Object
  extended by org.deegree.observation.persistence.GenericFilterConverter
All Implemented Interfaces:
SQLFilterConverter
Direct Known Subclasses:
ContinuousFilterConverter

public class GenericFilterConverter
extends Object
implements SQLFilterConverter

Version:
$Revision: 31658 $, $Date: 2011-08-25 20:09:40 +0200 (Thu, 25 Aug 2011) $
Author:
Oliver Tonnhofer, last edited by: $Author: mschneider $

Constructor Summary
GenericFilterConverter(Map<String,String> columnMap, TimeZone tz)
           
 
Method Summary
 void buildProcedureClause(QueryBuilder q, List<ProcedureFilter> filters, Offering offering)
          Add procedure filter to the sql QueryBuilder.
 void buildResultClause(QueryBuilder q, List<ResultFilter> filters)
          Add result filter to the sql QueryBuilder.
 void buildTimeClause(QueryBuilder q, List<TimeFilter> filters)
          Add time filter to the sql QueryBuilder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericFilterConverter

public GenericFilterConverter(Map<String,String> columnMap,
                              TimeZone tz)
Parameters:
dsConfig -
tz -
Method Detail

buildTimeClause

public void buildTimeClause(QueryBuilder q,
                            List<TimeFilter> filters)
Description copied from interface: SQLFilterConverter
Add time filter to the sql QueryBuilder.

Specified by:
buildTimeClause in interface SQLFilterConverter
Parameters:
q - the query builder
filters - a list of time filter

buildProcedureClause

public void buildProcedureClause(QueryBuilder q,
                                 List<ProcedureFilter> filters,
                                 Offering offering)
Description copied from interface: SQLFilterConverter
Add procedure filter to the sql QueryBuilder.

Specified by:
buildProcedureClause in interface SQLFilterConverter
Parameters:
q - the query builder
filters - a list of procedure filter
offering - the offering

buildResultClause

public void buildResultClause(QueryBuilder q,
                              List<ResultFilter> filters)
                       throws FilterException
Description copied from interface: SQLFilterConverter
Add result filter to the sql QueryBuilder.

Specified by:
buildResultClause in interface SQLFilterConverter
Throws:
FilterException


Copyright © 2011. All Rights Reserved.