question: @ Override public Set < String > vertexMatchPatternLabels ( ) { return labels . size ( ) == 1 ? labels : Collections . emptySet ( ) ; }
target:  Gets the set of labels required at the time of matching the vertex in a Cypher MATCH pattern. This implementation returns a single label if partition contains a single label, otherwise an empty set (predicate required to match vertices).