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

org.aksw.sparqlify.database.AbstractIndex 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 abstract class AbstractIndex
    implements Index
{
    private Table table;

    private int[] indexColumns;
    private List columnNames;


    public AbstractIndex(Table table, List columnNames, int[] indexColumns) {
        this.table = table;
        this.columnNames = columnNames;
        this.indexColumns = indexColumns;
    }

    @Override
    public Table getTable() {
        return table;
    }

    @Override
    public int[] getIndexColumns() {
        return indexColumns;
    }

    @Override
    public List getIndexColumnNames() {
        return columnNames;
    }

    @Override
    public boolean preAdd(List row) {
        return true;
    }

    @Override
    public void postAdd(List row) {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy