
org.aksw.sparqlify.database.Index Maven / Gradle / Ivy
package org.aksw.sparqlify.database;
import java.util.List;
public interface Index {
Table getTable();
// These kind of methods are not suitable for hierarchical indexes.
@Deprecated
int[] getIndexColumns();
@Deprecated
List getIndexColumnNames();
// A node with metadata about the index
IndexMetaNode getRoot();
Object getStore();
/**
* Only table should call this.
* Return true to accept the row, false to reject it
*
* @param row
* @return
*/
boolean preAdd(List extends T> row);
void add(List extends T> row);
void postAdd(List extends T> row);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy