org.deegree.feature.persistence.shape
Class DBFIndex
java.lang.Object
org.deegree.feature.persistence.shape.DBFIndex
public class DBFIndex
- extends java.lang.Object
This class converts the dbf file into a derby database, to enable proper filtering.
- Version:
- $Revision: 27929 $, $Date: 2010-11-09 17:25:04 +0100 (Di, 09. Nov 2010) $
- Author:
- Andreas Schmitz, last edited by: $Author: aschmitz $
Constructor Summary |
DBFIndex(DBFReader dbf,
java.io.File file,
Pair<java.util.ArrayList<Pair<float[],java.lang.Long>>,java.lang.Boolean> envelopes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBFIndex
public DBFIndex(DBFReader dbf,
java.io.File file,
Pair<java.util.ArrayList<Pair<float[],java.lang.Long>>,java.lang.Boolean> envelopes)
throws java.io.IOException
- Parameters:
dbf
- file
- envelopes
-
- Throws:
java.io.IOException
query
public Pair<Filter,SortProperty[]> query(java.util.List<Pair<java.lang.Integer,java.lang.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
Copyright © 2011. All Rights Reserved.