g
.V(userId)
.Out("follows")
.As(ConnectingFollowerLabel)
.Local<Vertex>(__
.Out("follows")
.HasLabel("User")
.Not(__.Both("blocks").HasId(userId))
.Not(__.In("reported").HasId(userId))
.Not(__.In("follows").HasId(userId))
.Not(__.HasId(userId))
.Limit<Vertex>(maxProfileSuggestionsPerCommonUser))
.Limit<Vertex>(maxProfileSuggestions)
.Dedup()
.Range<Vertex>(Scope.Global, offset, offsetLimit);
g
.V(userId)
.Out("follows")
.As(ConnectingFollowerLabel)
.Local<Vertex>(__
.Out("follows")
.HasLabel("User")
.Not(__.Both("blocks").HasId(userId))
.Not(__.In("reported").HasId(userId))
.Not(__.In("follows").HasId(userId))
.Not(__.HasId(userId))
.Limit<Vertex>(maxProfileSuggestionsPerCommonUser))
.Limit<Vertex>(maxProfileSuggestions)
.Dedup()
.Range<Vertex>(Scope.Global, offset, offsetLimit);