class SQLiteIndex extends AbstractAttributeIndex<A, O> implements SortedKeyStatisticsAttributeIndex<A, O>, NonHeapTypeIndex {

    @Override
    public Integer getCountOfDistinctKeys(QueryOptions queryOptions) {
        final ConnectionManager connectionManager = getConnectionManager(queryOptions);
        Connection connection = connectionManager.getConnection(SQLiteIndex.this, queryOptions);
        return DBQueries.getCountOfDistinctKeys(tableName, connection);
    }

    public  SQLiteIndex(final Attribute<O, A> attribute,
                       final SimpleAttribute<O, K> primaryKeyAttribute,
                       final SimpleAttribute<K, O> foreignKeyAttribute,
                       final String tableNameSuffix);

}