Class GraphScopeAnnotationProcessor

  • All Implemented Interfaces:
    Processor

    @SupportedAnnotationTypes({"com.alibaba.fastffi.FFIMirror","com.alibaba.fastffi.FFIMirrorDefinition","com.alibaba.graphscope.annotation.GraphType"})
    @SupportedSourceVersion(RELEASE_8)
    public class GraphScopeAnnotationProcessor
    extends AbstractProcessor
    GraphScopeAnnotationProcessor define the process procedure for classes annotated with FFIMirror, FFIMirrorDefinition and GraphType. User shall not use this annotation, as it is mainly used for code generation.
    • Constructor Detail

      • GraphScopeAnnotationProcessor

        public GraphScopeAnnotationProcessor()
    • Method Detail

      • parseMessageType

        public String[] parseMessageType​(String messageType)
        Given one FFIMirror class name, we need to get the foreign type too. Currently don't support primitive types if message is ffi, we use the foreign type.
        Parameters:
        messageType - message types concatenated by ":"
        Returns:
        String [0] cxx type, String [1] java type