25 using namespace graphlab;
36 JNIEXPORT
void JNICALL
37 Java_org_graphlab_Aggregator_initNative
38 (JNIEnv *env, jclass clazz){
42 env->GetMethodID(clazz,
"exec",
"(JLorg/graphlab/data/Vertex;)V");
46 env->GetMethodID(clazz,
"add",
"(Lorg/graphlab/Aggregator;)V");
50 env->GetMethodID(clazz,
"finalize",
"(J)V");
54 env->GetMethodID(clazz,
"clone",
"()Lorg/graphlab/Aggregator;");
73 if (NULL == other.
obj()){
86 if (
this == &other)
return *
this;
98 void proxy_aggregator::operator()(icontext_type&
context){
104 context.vertex_data().obj());
126 void proxy_aggregator::finalize(iglobal_context& context){