Class ArrowProjectedGenerator
- java.lang.Object
-
- com.alibaba.graphscope.annotation.ArrowProjectedGenerator
-
public class ArrowProjectedGenerator extends Object
Class which add typespec to ffiGenBatch for arrowProjectedFragment. In annotation invoker, we already generated some classes, try to avoid regeneration. TODO(zhanglei): generate according to message strategy, if provided.
-
-
Constructor Summary
Constructors Constructor Description ArrowProjectedGenerator(com.squareup.javapoet.AnnotationSpec.Builder ffiGenBatchBuilder, String cppOid, String cppVid, String cppVdata, String cppEdata, String javaOid, String javaVid, String javaVdata, String javaEdata, String vertexDataType, String javaVertexDataType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFuncGenMethod(com.squareup.javapoet.AnnotationSpec.Builder parallelMessageBuilder, String methodName, String returnType, String[] parameterTypes, String[][] messageTypePairs)
void
addFuncGenMethodNoMsg(com.squareup.javapoet.AnnotationSpec.Builder parallelMessageBuilder, String methodName, String returnType, String[] parameterTypes)
void
generate()
String
getUnusedTypeName()
String
getUnusedTypeName(String msgType)
-
-
-
Constructor Detail
-
ArrowProjectedGenerator
public ArrowProjectedGenerator(com.squareup.javapoet.AnnotationSpec.Builder ffiGenBatchBuilder, String cppOid, String cppVid, String cppVdata, String cppEdata, String javaOid, String javaVid, String javaVdata, String javaEdata, String vertexDataType, String javaVertexDataType)
-
-
Method Detail
-
generate
public void generate()
-
addFuncGenMethod
public void addFuncGenMethod(com.squareup.javapoet.AnnotationSpec.Builder parallelMessageBuilder, String methodName, String returnType, String[] parameterTypes, String[][] messageTypePairs)
-
addFuncGenMethodNoMsg
public void addFuncGenMethodNoMsg(com.squareup.javapoet.AnnotationSpec.Builder parallelMessageBuilder, String methodName, String returnType, String[] parameterTypes)
-
getUnusedTypeName
public String getUnusedTypeName()
-
-