You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ivan Mushketyk (JIRA)" <ji...@apache.org> on 2016/08/21 16:49:20 UTC
[jira] [Created] (FLINK-4440) Make API for edge/vertex creation
less verbose
Ivan Mushketyk created FLINK-4440:
-------------------------------------
Summary: Make API for edge/vertex creation less verbose
Key: FLINK-4440
URL: https://issues.apache.org/jira/browse/FLINK-4440
Project: Flink
Issue Type: Improvement
Components: Gelly
Reporter: Ivan Mushketyk
Assignee: Ivan Mushketyk
Priority: Trivial
It would be better if one could create vertex/edges like this:
{code:java}
Vertex<Integer, NullValue> v = Vertex.create(42);
Edge<Integer, Integer, NullValue> e = Edge.create(5, 6);
{code}
Instead of this:
{code:java}
Vertex<Integer, NullValue> v = new Vertex<Integer, NullValue>(42, NullValue.getInstance());
Edge<Integer, Integer, NullValue> e = new Edge<Integer, Integer, NullValue>(5, 6, NullValue.getInstance());
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)