Revision 28424 branches/v2_0_0_prep/libraries/libFMap_daldb/src/org/gvsig/fmap/dal/store/jdbc/JDBCStoreProvider.java

View differences:

JDBCStoreProvider.java
92 92
	 */
93 93
	protected abstract void resourceEnd();
94 94

  
95
	public String compoundSelect(FeatureType type, String filter,
95
	public abstract String compoundSelect(FeatureType type,
96
			String filter,
96 97
			String order,
97
			long limit, long offset){
98
		FeatureAttributeDescriptor attr;
99
		List fieldList = new ArrayList();
100
		Iterator iter = type.iterator();
101
		while (iter.hasNext()){
102
			attr = (FeatureAttributeDescriptor) iter.next();
103
			fieldList.add(attr.getName());
104
		}
98
			long limit, long offset) throws DataException;
105 99

  
106
		String[] fields = (String[]) fieldList.toArray(new String[0]);
107

  
108
		return compoundSelect(fields, filter, order, limit, offset);
109
	}
110

  
111
	public abstract String compoundSelect(String[] fields, String filter,
112
			String order,
113
			long limit, long offset);
114

  
115 100
	/**
116 101
	 * Get feature count for a <code>filter</code>.<br>
117 102
	 *

Also available in: Unified diff