Github user meiercaleb commented on a diff in the pull request:
    --- Diff: 
    @@ -0,0 +1,138 @@
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + *
    + *
    + * Unless required by applicable law or agreed to in writing,
    + * software distributed under the License is distributed on an
    + * KIND, either express or implied.  See the License for the
    + * specific language governing permissions and limitations
    + * under the License.
    + */
    +package org.apache.rya.indexing.mongodb.pcj;
    +import static;
    +import static java.util.Collections.singleton;
    +import static java.util.Objects.requireNonNull;
    +import static;
    +import java.util.Collection;
    +import java.util.List;
    +import java.util.Map;
    +import java.util.Map.Entry;
    +import java.util.Set;
    +import java.util.concurrent.atomic.AtomicReference;
    +import org.apache.hadoop.conf.Configuration;
    +import org.apache.rya.api.domain.RyaStatement;
    +import org.apache.rya.api.domain.RyaURI;
    +import org.apache.rya.indexing.entity.model.Entity;
    +import org.apache.rya.mongodb.MongoDBRdfConfiguration;
    +import org.apache.rya.mongodb.MongoSecondaryIndex;
    +import org.openrdf.model.URI;
    +import edu.umd.cs.findbugs.annotations.DefaultAnnotation;
    +import edu.umd.cs.findbugs.annotations.NonNull;
    + * A base class that may be used to update an {@link EntityStorage} as new
    + * {@link RyaStatement}s are added to/removed from the Rya instance.
    + */
    +public abstract class BasePcjIndexer implements PcjIndexer, 
MongoSecondaryIndex {
    --- End diff --
    I'm not sure what this class is interacting with.  The basic components of 
our PCJ framework are the matcher framework for query optimization, the storage 
layer, and the indexer layer.  It seems like this is related to the indexer 
layer.  But the indexer layer is meant to interact with the updater (whatever 
observer framework we use to maintain the PCJs).  Given that there is currently 
no updater in place, what is the purpose of BasePcjIndexer, PcjIndexer, and 
MongoPrecomputedJoinIndexer?  I can understand including abstract classes and 
interfaces just to have them in place when an updater is incorporated, but some 
of these our concrete implementations.  So what are they interacting with?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to