Return-Path: X-Original-To: apmail-giraph-user-archive@www.apache.org Delivered-To: apmail-giraph-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 890519714 for ; Thu, 23 May 2013 16:08:00 +0000 (UTC) Received: (qmail 42854 invoked by uid 500); 23 May 2013 16:08:00 -0000 Delivered-To: apmail-giraph-user-archive@giraph.apache.org Received: (qmail 42623 invoked by uid 500); 23 May 2013 16:07:57 -0000 Mailing-List: contact user-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@giraph.apache.org Delivered-To: mailing list user@giraph.apache.org Received: (qmail 42588 invoked by uid 99); 23 May 2013 16:07:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 May 2013 16:07:56 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ju.han.felix@gmail.com designates 209.85.223.170 as permitted sender) Received: from [209.85.223.170] (HELO mail-ie0-f170.google.com) (209.85.223.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 May 2013 16:07:51 +0000 Received: by mail-ie0-f170.google.com with SMTP id aq17so9380448iec.1 for ; Thu, 23 May 2013 09:07:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=LmCn2P2cU4XfUn1iy0O/6Tk6I6nSubMUbSaktXfc6HA=; b=s7GS5pwv+/o6RNWr66tOdB8PCpnQdiPAfbi9bQjz2pK6tiuyXdM9nRuoyoZi0raK7Y KvEifPZ5SoNu3lcbl2ZPIXMF/9K+eVy3kWX5H/y1yUG5M/WG0wibepNvLp+InAINUrBV 0Y9QTAcqgR7goS94l01uk1AoiQBrtswKmwwEA2jSlapaHVTaAXWcjno3y6R0P7/Xb0UQ 3o2eySXKjx/ELjtgEVBDIR2LAApIktZc6JQh+87TfN4Lm4kLCdud3BsJevhAZMTtrGsy tP44B9+schHjQ6vmUPt24F7v/z2liNcKSsAl12eSmVl/U22NZeddpESYjGEOqqvKvn0b pO9w== MIME-Version: 1.0 X-Received: by 10.50.8.10 with SMTP id n10mr5475441iga.20.1369325250891; Thu, 23 May 2013 09:07:30 -0700 (PDT) Received: by 10.64.124.103 with HTTP; Thu, 23 May 2013 09:07:30 -0700 (PDT) Date: Thu, 23 May 2013 18:07:30 +0200 Message-ID: Subject: How to use a custom vertex in 1.1.0 SNAPSHOT From: Han JU To: user@giraph.apache.org Content-Type: multipart/alternative; boundary=089e013c64b02957b704dd64e167 X-Virus-Checked: Checked by ClamAV on apache.org --089e013c64b02957b704dd64e167 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I changed to version 1.1.0 for the input filtering thing and I noticed the API changes due to GIRAPH-687. Actually this broke my code because, for some reason, I have some instance variables in the vertex class (some flags, lists) apart from the vertex value. When I adapt the code to use the computation class, I can't find a way to put these instance variables into each vertex. So do we have something like setCustomVertexClass? How could I achieve this in 1.1.0? Thanks. --=20 *JU Han* Software Engineer Intern @ KXEN Inc. UTC - Universit=E9 de Technologie de Compi=E8gne * **GI06 - Fouille de Donn=E9es et D=E9cisionnel* +33 0619608888 --089e013c64b02957b704dd64e167 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

I changed to version 1.1.0 for the = input filtering thing and I noticed the API changes due to GIRAPH-687. Actu= ally this broke my code because, for some reason, I have some instance vari= ables in the vertex class (some flags, lists) apart from the vertex value. = When I adapt the code to use the computation class, I can't find a way = to put these instance variables into each vertex.

So do we have something like setCustomVertexClass? How = could I achieve this in 1.1.0?
Thanks.
--
JU Han

Software E= ngineer Intern @ KXEN Inc.
UTC=A0=A0 - =A0Universit=E9 de Technologie de Compi=E8gne
=A0=A0=A0=A0 GI06 - Fouille de Donn=E9es et D=E9ci= sionnel

--089e013c64b02957b704dd64e167--