[
https://issues.apache.org/jira/browse/GIRAPH-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425032#comment-13425032
]
Joseph Adler commented on GIRAPH-272:
-------------------------------------
Unfortunately, that's not going to work for my application. It looks like the
only vertex implementations that user code can extend are EdgeListVertex and
HashMapVertex. Those implementations store edges in a list of hash map. The
problem with these implementations is that that (1) they're not very memory
efficient, and (2) they don't allow the extending class to directly access the
list of edges.
I'd like to have full freedom to pick the data structure for storing edges, and
give the compute method access to that method.
Can you elaborate on the bad things that you'd like to stop users from doing?
> cannot extend Vertex in user code
> ---------------------------------
>
> Key: GIRAPH-272
> URL: https://issues.apache.org/jira/browse/GIRAPH-272
> Project: Giraph
> Issue Type: Bug
> Components: graph
> Affects Versions: 0.2.0
> Reporter: Joseph Adler
> Priority: Critical
>
> As currently written, it's not possible to create a class that extends Vertex
> in user code. I think this is because the abstract methods putMessages and
> releaseResources are abstract and neither public nor protected.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira