@Override public DiffSets<IndexDescriptor> constraintIndexDiffSetsByLabel(long labelId) { if (hasLabelStatesMap()) { LabelState labelState = getState(labelStatesMap(), labelId, null); if (labelState != null) { return labelState.constraintIndexChanges(); } } return DiffSets.emptyDiffSets(); }
@Override public DiffSets<Long> nodesWithLabelChanged(long labelId) { if (hasLabelStatesMap()) { LabelState state = getState(labelStatesMap, labelId, null); if (null != state) { return state.getNodeDiffSets(); } } return DiffSets.emptyDiffSets(); }
@Override public DiffSets<IndexDescriptor> indexDiffSetsByLabel(long labelId) { if (hasLabelStatesMap()) { LabelState labelState = getState(labelStatesMap, labelId, null); if (null != labelState) { return labelState.indexChanges(); } } return DiffSets.emptyDiffSets(); }
@Override public Set<Long> nodesWithLabelAdded(long labelId) { if (hasLabelStatesMap()) { LabelState state = getState(labelStatesMap, labelId, null); if (null != state) { return state.getNodeDiffSets().getAdded(); } } return Collections.emptySet(); }