@Override
                public VertexWritable getCurrentValue() throws IOException, InterruptedException {
                    return iterator.next()._2();
                }
@author Marko A. Rodriguez (http://markorodriguez.com)
spark-gremlin/src/main/java/org/apache/tinkerpop/gremlin/spark/structure/io/InputRDDFormat.java