Class SaveToDataStoreDataSourceQuery

java.lang.Object
com.vividsolutions.jump.io.datasource.DataSourceQuery
org.openjump.core.ui.plugin.datastore.SaveToDataStoreDataSourceQuery

public class SaveToDataStoreDataSourceQuery extends DataSourceQuery
A query performed against a WritableDataStoreDataSource.
  • Constructor Details

    • SaveToDataStoreDataSourceQuery

      public SaveToDataStoreDataSourceQuery(DataSource dataSource, String query, String name)
      Creates a new query.
      Parameters:
      dataSource - The data source to be query against.
      query - The "sql" of the query.
      name - Name of the query.
  • Method Details

    • getDataSource

      public DataSource getDataSource()
      Returns the DataSource for the query.
      Overrides:
      getDataSource in class DataSourceQuery
      Returns:
      the DataSource of this DataSourceQuery
    • setProperties

      public void setProperties(Map properties)
      Property map for the query object. For defined keys see: WritableDataStoreDataSource
      Parameters:
      properties - a Map containing properties to save data to a DataStoreDataSource