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

    @Override
    public void init(ObjectStore<O> objectStore, QueryOptions queryOptions) {

        final ConnectionManager connectionManager = getConnectionManager(queryOptions);
        final Connection connection = connectionManager.getConnection(this, queryOptions);
        pragmaJournalMode = DBQueries.getPragmaJournalModeOrNull(connection);
        pragmaSynchronous = DBQueries.getPragmaSynchronousOrNull(connection);
        canModifySyncAndJournaling = pragmaJournalMode != null && pragmaSynchronous != null;

        doAddAll(ObjectSet.fromObjectStore(objectStore, queryOptions), queryOptions, true);
    }

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

}