internal virtual void Init(long nodeReference, long reference, Read read)
 {
     _storeCursor.init(nodeReference, reference);
     this._txTypes.clear();
     this._txTypeIterator    = null;
     this._hasCheckedTxState = false;
     this._read = read;
 }
 private void VisitDegrees(StorageNodeCursor node, DegreeVisitor visitor)
 {
     _groupCursor.init(node.EntityReference(), node.RelationshipGroupReference());
     while (_groupCursor.next())
     {
         int loopCount = _groupCursor.loopCount();
         visitor.VisitDegree(_groupCursor.type(), _groupCursor.outgoingCount() + loopCount, _groupCursor.incomingCount() + loopCount);
     }
 }