@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; }
@Override public long countsForNode(KernelStatement statement, int labelId) { return storeLayer.countsForNode(labelId); }