Annotation Type ReturnAttribute


  • @Retention(RUNTIME)
    @Target({})
    public @interface ReturnAttribute
    Annotation for storing additional attributes returned by a stream processor. This should not be directly applied to any classes.
    
     eg:-
          @Extension(
                         ...
                          returnAttributes = {@ReturnAttribute( name = "attribute1",
                                                                          type = {DataType.INT, DataType.LONG},
                                                                          description="Description of attribute1"),
                                              {@ReturnAttribute( name = "attribute2",
                                                                          type = {DataType.INT},
                                                                          description="Description of attribute2")},
                         ...
          )
          public CustomExtension extends ExtensionSuperClass {
              ...
          }
     
    • Element Detail

      • name

        String name
        Default:
        ""
      • description

        String description
        Default:
        ""