[batch] added fetching relationships support by direction and type