* @return the extended Pipeline
*/
public GremlinPipeline<S, Edge> inE(final int branchFactor, final String... labels) {
return this.doQueryOptimization ?
this.add(new VertexQueryPipe(Edge.class, Direction.IN, null, null, branchFactor, 0, Integer.MAX_VALUE, labels)) :
this.add(new InEdgesPipe(branchFactor, labels));
}