giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luo <>
Subject About aggregator's input data type and output data type
Date Fri, 10 Jan 2014 07:54:36 GMT
hi all:
org.apache.giraph.aggregators has these tow methods:
 void aggregate(A value)
  A   getAggregatedValue() 

Now I want to use  aggregate()  in vertex_program to send value of type A for global aggregating,
I want the output of custom aggregator  is  type B .

that is to say ,  
void aggregate(A value)
  B   getAggregatedValue()

Is there any idea for this? 
Thank a lot !

View raw message