Example #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)
        {
            if (indexOrder != IndexOrder.NONE)
            {
                throw new System.NotSupportedException(string.Format("This reader only have support for index order {0}. Provided index order was {1}.", IndexOrder.NONE, indexOrder));
            }
            client.Initialize(Descriptor, new NodeValueIndexProgressor(query(query), client), query, indexOrder, needsValues);
        }
Example #2
0
 internal NodeValueClientFilter(IndexProgressor_NodeValueClient target, NodeCursor node, PropertyCursor property, Read read, params IndexQuery[] filters)
 {
     this._target   = target;
     this._node     = node;
     this._property = property;
     this._filters  = filters;
     this._read     = read;
 }
Example #3
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);
        }
Example #4
0
 public abstract void DistinctValues(IndexProgressor_NodeValueClient client, Org.Neo4j.Storageengine.Api.NodePropertyAccessor propertyAccessor, bool needsValues);
Example #5
0
 internal NodeValueIndexProgressor(PrimitiveLongResourceIterator ids, IndexProgressor_NodeValueClient client)
 {
     this._ids    = ids;
     this._client = client;
 }
Example #6
0
 public override void distinctValues(IndexProgressor_NodeValueClient client, NodePropertyAccessor propertyAccessor, bool needsValues)
 {
 }
Example #7
0
 public override void DistinctValues(IndexProgressor_NodeValueClient client, NodePropertyAccessor propertyAccessor, bool needsValues)
 {
     _actual.distinctValues(client, propertyAccessor, needsValues);
 }
Example #8
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)
        {
        }