giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alessandro Presta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GIRAPH-375) Cleaner MutableVertex API
Date Tue, 16 Oct 2012 22:29:03 GMT
Alessandro Presta created GIRAPH-375:
----------------------------------------

             Summary: Cleaner MutableVertex API
                 Key: GIRAPH-375
                 URL: https://issues.apache.org/jira/browse/GIRAPH-375
             Project: Giraph
          Issue Type: Improvement
            Reporter: Alessandro Presta
            Assignee: Alessandro Presta
         Attachments: GIRAPH-375.patch

Currently, MutableVertex requires the user to instantiate a vertex before creating the request.
Using instantiateVertex() also requires a downcast to MutableVertex.

What we can do instead is pass id and value (and optionally edges) to addVertexRequest(),
and the instantiation/initialization will happen internally and safely.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message