Revision 46163 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.api/src/main/java/org/gvsig/fmap/dal/feature/FeatureQuery.java

View differences:

FeatureQuery.java
285 285
   * @param pageSize the load page size
286 286
   */
287 287
  void setPageSize(long pageSize);
288
  
289
  /**
290
   * Returns true if a subquery should be used. It will only take effect 
291
   * when the sql perameter of the connection has a value. 
292
   * @return 
293
   */
294
  public boolean isUseSubquery();
295
  
296
  /**
297
   * Indicates whether to use a subquery or not in case the connection has 
298
   * an sql indicated. This flag will have no effect if the "sql" parameter 
299
   * in the connection has not been specified.
300
   * By default it will be true and whenever an sql has been indicated in the 
301
   * connection, a subquery will be used to access the data. If false is assigned, 
302
   * the sql should return, in the same order, the rows required by the 
303
   * FeatureType of the store.
304
   * 
305
   * @param useSubquery 
306
   */
307
  public void setUseSubquery(boolean useSubquery);
288 308

  
289 309
  /**
290 310
   * Return the names of attributes for group the features.

Also available in: Unified diff