Exemplo n.º 1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public void query(IndexProgressor_NodeValueClient client, org.neo4j.internal.kernel.api.IndexOrder indexOrder, boolean needsValues, org.neo4j.internal.kernel.api.IndexQuery... query) throws org.neo4j.internal.kernel.api.exceptions.schema.IndexNotApplicableKernelException
        public override void Query(IndexProgressor_NodeValueClient client, IndexOrder indexOrder, bool needsValues, params IndexQuery[] query)
        {
            // Also call the other query method and bake comparison from it into a wrapped version of this iterator
            PrimitiveLongResourceIterator otherResult = _actual.query(query);

            // This is a client which gets driven by the client, such that it can know when there are no more values in it.
            // Therefore we can hook in correct comparison on this type of client.
            // Also call the other query method and bake comparison from it into a wrapped version of this iterator
            IndexProgressor_NodeValueClient wrappedClient = new IndexProgressor_NodeValueClientAnonymousInnerClass(this, client, indexOrder, needsValues, query, otherResult);

            _actual.query(wrappedClient, indexOrder, needsValues, query);
        }
Exemplo n.º 2
0
 public IndexProgressorAnonymousInnerClass(IndexProgressor_NodeValueClientAnonymousInnerClass outerInstance, Org.Neo4j.Storageengine.Api.schema.IndexProgressor progressor)
 {
     this.outerInstance = outerInstance;
     this._progressor   = progressor;
 }