コード例 #1
0
 @Override
 public long countsForNode(KernelStatement statement, int labelId) {
   long count = storeLayer.countsForNode(labelId);
   if (statement.hasTxState()) {
     if (labelId != ReadOperations.ANY_LABEL) {
       throw new UnsupportedOperationException("not implemented");
     }
     count += statement.txState().addedAndRemovedNodes().delta();
   }
   return count;
 }
コード例 #2
0
 @Override
 public long countsForNode(KernelStatement statement, int labelId) {
   return storeLayer.countsForNode(labelId);
 }