Class AbstractIndex

java.lang.Object
org.aksw.sparqlify.database.AbstractIndex
All Implemented Interfaces:
Index
Direct Known Subclasses:
TreeIndex

public abstract class AbstractIndex extends Object implements Index
  • Constructor Details

    • AbstractIndex

      public AbstractIndex(Table table, List<String> columnNames, int[] indexColumns)
  • Method Details

    • getTable

      public Table getTable()
      Specified by:
      getTable in interface Index
    • getIndexColumns

      public int[] getIndexColumns()
      Specified by:
      getIndexColumns in interface Index
    • getIndexColumnNames

      public List<String> getIndexColumnNames()
      Specified by:
      getIndexColumnNames in interface Index
    • preAdd

      public boolean preAdd(List row)
      Description copied from interface: Index
      Only table should call this. Return true to accept the row, false to reject it
      Specified by:
      preAdd in interface Index
      Returns:
    • postAdd

      public void postAdd(List row)
      Specified by:
      postAdd in interface Index