class CollectionQueryEngine implements QueryEngineInternal<O> {

    void ensureMutable() {
        if (!immutableIndexes.isEmpty()) {
            throw new IllegalStateException("Cannot modify indexes, an immutable index has been added.");
        }
    }

    public  CollectionQueryEngine();

}