Hi Paritosh,
Yes the datastore is in fact conceptually read-only. What you're
looking at must be the output writer that writes to a (hsqldb-based)
datastore.
Once you've created the datastore it should first of all appear in the
"datastores" panel in the left window of DataCleaner. Programmatically
you should get a org.eobjects.analyzer.connection.Datastore instance.
With this instance you can proceed to query the datastore using
AnalyzerBeans support for MetaModel:
Datastore datastore = ...
DataContext dc = datastore.getDataContextProvider().getDataContext();
// here's a simple example of executing a "SELECT * FROM my_table"
query
Schema schema = dc.getDefaultSchema();
Table table = schema.getTableByName("my_table");
Query q = dc.query().from(table).select(table.getColumns()).toQuery();
DataSet ds = dc.executeQuery(q);
while (ds.next()) {
System.out.println(ds.getRow());
}
Let us know if it works out for you...
/Kasper