Example #1
0
        public override void NodesWithLabel(Org.Neo4j.Storageengine.Api.schema.IndexProgressor_NodeLabelClient client, int labelId)
        {
            RawCursor <Hit <LabelScanKey, LabelScanValue>, IOException> cursor;

            try
            {
                cursor = SeekerForLabel(0, labelId);
                _openCursors.Add(cursor);
            }
            catch (IOException e)
            {
                throw new UncheckedIOException(e);
            }

            client.Scan(new LabelScanValueIndexProgressor(cursor, _openCursors, client), false, labelId);
        }
Example #2
0
 internal NodeLabelIndexProgressor(PrimitiveLongResourceIterator iterator, Org.Neo4j.Storageengine.Api.schema.IndexProgressor_NodeLabelClient client)
 {
     this._iterator = iterator;
     this._client   = client;
 }
 internal LabelScanValueIndexProgressor(RawCursor <Hit <LabelScanKey, LabelScanValue>, IOException> cursor, ICollection <RawCursor <Hit <LabelScanKey, LabelScanValue>, IOException> > toRemoveFromWhenClosed, Org.Neo4j.Storageengine.Api.schema.IndexProgressor_NodeLabelClient client) : base(toRemoveFromWhenClosed, cursor)
 {
     this._client = client;
 }