All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.aksw.sparqlify.database.Index Maven / Gradle / Ivy

There is a newer version: 3.17.0-1
Show newest version
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 row);
	void add(List row);
	void postAdd(List row);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy