flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fhueske <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-2785] [gelly] implements fromCsvReader ...
Date Tue, 06 Oct 2015 16:06:58 GMT
Github user fhueske commented on a diff in the pull request:

    --- Diff: flink-staging/flink-gelly-scala/src/main/scala/org/apache/flink/graph/scala/Graph.scala
    @@ -126,6 +126,122 @@ object Graph {
         wrapGraph(jg.Graph.fromTupleDataSet[K, VV, EV](javaTupleEdges, mapper, env.getJavaEnv))
    +  /**
    +  * Creates a Graph with from a CSV file of vertices and a CSV file of edges
    +  * 
    +  * @param pathVertices The file path containing the vertices.
    +  * @param vertexValue Defines whether the vertices have associated values.
    +  * If set to false, the vertex input is ignored and vertices are created from the edges
    +  * True by default.
    +  * @param lineDelimiterVertices The string that separates lines in the vertices file.
    +  * It defaults to newline.
    +  * @param fieldDelimiterVertices The string that separates vertex Ids from vertex values
    +  * in the vertices file.
    +  * @param quoteCharacterVertices The character to use for quoted String parsing
    +  * in the vertices file. Disabled by default.
    +  * @param ignoreFirstLineVertices Whether the first line in the vertices file should
be ignored.
    +  * @param ignoreCommentsVertices Lines that start with the given String in the vertices
    +  * are ignored, disabled by default.
    +  * @param lenientVertices Whether the parser should silently ignore malformed lines
in the
    +  * vertices file.
    +  * @param includedFieldsVertices The fields in the vertices file that should be read.
    +  * By default all fields are read.
    +  * @param pathEdges The file path containing the edges.
    +  * @param edgeValue Defines whether the edges have associated values. True by default.
    --- End diff --

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message