org.aksw.sparqlify.database.TableBuilder Maven / Gradle / Ivy
The newest version!
package org.aksw.sparqlify.database;
public class TableBuilder {
//private Map> colums = new HashMap>();
private IndexMap columns = new IndexMap();
//public createTable()
public void addColumn(String name, Class extends T> type) {
columns.put(name, new Column(name, type));
}
public void clear()
{
columns.clear();
}
public Table create() {
TableImpl result = new TableImpl(columns);
return result;
}
/*
public void List find(Constraint ... constraints) {
}*/
}