org.aksw.sparqlify.database.Table Maven / Gradle / Ivy
The newest version!
package org.aksw.sparqlify.database;
import java.util.Collection;
import java.util.List;
import java.util.Map;
/**
* A table itself only provides metadata. A storage (such as an index) must be attached to it for that.
*
*
* @author Claus Stadler
*
* @param
*/
public interface Table {
IndexMap getColumns();
//Trasformer> getBeanToRowTransformer();
//public void addIndex(Index index);
//Collection> getIndexes();
IndexCollection getIndexes();
void add(List extends T> row);
void addIndex(Index index);
Collection> select(Map constraints);
int[] getIndexes(List columnNames);
}