Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-2857

Gelly API improvements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • None

    Description

      During the Flink Forward Gelly School training, I got some really valuable feedback from participants on what they found hard to grasp or non-intuitive in the API.

      Based on that, I propose we make the following improvements:

      • rename the mapper in creation methods to VertexInitializer, so that its purpose is easier to understand.
      • add a fromTuple2DataSet method to easily create graphs from Tuple2 datasets, i.e. edges with no values.
      • in joinWith* methods, it is hard to understand what are the parameters in the mapper and what will be the output. I suggest we flatten them, try to give intuitive names and improve the javadocs.
      • in neighborhood methods, it is hard to understand what are the arguments of the EdgeFunction.iterateEdges and ReduceEdgesFunction.reduceEdges. Javadocs and parameter names could be improved here too.

      Attachments

        Activity

          People

            vkalavri Vasia Kalavri
            vkalavri Vasia Kalavri
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: