org.deegree.feature.persistence.shape
Class DBFIndex
java.lang.Object
org.deegree.feature.persistence.shape.DBFIndex
public class DBFIndex
- extends Object
This class converts the dbf file into a derby database, to enable proper filtering.
- Version:
- $Revision: 31374 $, $Date: 2011-07-28 20:35:37 +0200 (Thu, 28 Jul 2011) $
- Author:
- Andreas Schmitz, last edited by: $Author: mschneider $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBFIndex
public DBFIndex(DBFReader dbf,
File file,
Pair<ArrayList<Pair<float[],Long>>,Boolean> envelopes,
List<org.deegree.feature.persistence.shape.ShapeFeatureStoreProvider.Mapping> mappings)
throws IOException
- Parameters:
dbf
- file
- envelopes
-
- Throws:
IOException
query
public Pair<Filter,SortProperty[]> query(List<Pair<Integer,Long>> available,
Filter filter,
SortProperty[] sort)
throws FilterEvaluationException
- Parameters:
available
- is modified in place to contain only matches!filter
- sort
-
- Returns:
- null, if there was an error, else a pair of left overs (with possibly null values if everything could be
mapped)
- Throws:
FilterEvaluationException
UnmappableException
destroy
public void destroy()
- Destroys h2 db connection.
Copyright © 2011. All Rights Reserved.