Hi, If you can simply come up with long values to represent your vertex ids instead of text (AAA -> 1, AAC -> 2, etc.), you can just use this class <https://giraph.apache.org/apidocs/org/apache/giraph/io/formats/LongLongNullTextInputFormat.html> directly. If not, take a look at that code to give you some ideas on how to implement it with text ids instead. There might be another one already available to do this but this is the best I can think of at the moment.
Best, Matthew PS I think this is a question that would be better directed towards the user <https://giraph.apache.org/mail-lists.html> mailing list. On Fri, Dec 5, 2014 at 12:20 AM, Arghya Kusum Das < [email protected]> wrote: > Hi, > This is the first time I am trying to deal with giraph input format class > and need some help. > > I have a simple Graph like following: > > AAA AAT AAG > AAC ACG ACT > AAG AGT AGA > AAT ATT > ACG CGA > ACT CTG CTT CTC > > The first column is the vertex id and the following are the edges > (Adjacency list). > > Is there any predefined input-format in giraph for this? > If so what is that? And if not can anybody provide a simple class for that? > > Any help is appreciated > > -- > Thanks and regards, > Arghya Kusum Das > (225-270-6163) >
