Package no.priv.garshol.duke.databases

Examples of no.priv.garshol.duke.databases.InMemoryDatabase


    csv.addColumn(new Column("id", null, null, null));
    csv.addColumn(new Column("name", null, null, null));
    csv.addColumn(new Column("age", null, null, null));

    ConfigurationImpl cfg = new ConfigurationImpl();
    cfg.addDatabase(new InMemoryDatabase());
    cfg.addDataSource(0, csv);

    Comparator cmp = new ExactComparator();

    List<Property> props = new ArrayList();
View Full Code Here


import no.priv.garshol.duke.databases.InMemoryDatabase;

public class InMemoryDatabaseTest extends DatabaseTest {

  public Database createDatabase(Configuration config) {
    Database db = new InMemoryDatabase();
    db.setConfiguration(config);
    return db;
  }
View Full Code Here

TOP

Related Classes of no.priv.garshol.duke.databases.InMemoryDatabase

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.