@Override
  public PrimitiveLongIterator relationshipGetPropertyKeys(
      KernelStatement state, long relationshipId) throws EntityNotFoundException {
    if (state.hasTxStateWithChanges()) {
      return new PropertyKeyIdIterator(relationshipGetAllProperties(state, relationshipId));
    }

    return storeLayer.relationshipGetPropertyKeys(relationshipId);
  }