org.wso2.siddhi.annotation.Extension类的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(4.9k)|赞(0)|评价(0)|浏览(249)

本文整理了Java中org.wso2.siddhi.annotation.Extension类的一些代码示例,展示了Extension类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Extension类的具体详情如下:
包路径:org.wso2.siddhi.annotation.Extension
类名称:Extension

Extension介绍

暂无

代码示例

代码示例来源:origin: org.wso2.siddhi/siddhi-extension-text-output-mapper

@Extension(
    name = "text",
    namespace = "sinkMapper",

代码示例来源:origin: wso2/siddhi

AbstractAnnotationProcessor abstractAnnotationProcessor = null;
Extension annotation = element.getAnnotation(Extension.class);
String name = annotation.name();
String description = annotation.description();
String namespace = annotation.namespace();
Parameter[] parameters = annotation.parameters();
ReturnAttribute[] returnAttributes = annotation.returnAttributes();
SystemParameter[] systemParameters = annotation.systemParameter();
Example[] examples = annotation.examples();
String extensionClassFullName = element.asType().toString();
if (superClass != null) {

代码示例来源:origin: org.wso2.carbon.analytics/org.wso2.carbon.siddhi.editor.core

processorMetaData.setDescription(extensionAnnotation.description());
processorMetaData.setNamespace(extensionAnnotation.namespace());
if (extensionAnnotation.parameters().length > 0) {
  for (Parameter parameter : extensionAnnotation.parameters()) {
    ParameterMetaData parameterMetaData = new ParameterMetaData();
    parameterMetaData.setName(parameter.name());
    Constants.FUNCTION_EXECUTOR.equals(processorType)) {
  List<AttributeMetaData> attributeMetaDataList = new ArrayList<>();
  if (extensionAnnotation.returnAttributes().length > 0) {
    for (ReturnAttribute additionalAttribute : extensionAnnotation.returnAttributes()) {
      AttributeMetaData attributeMetaData = new AttributeMetaData();
      attributeMetaData.setName(additionalAttribute.name());
if (extensionAnnotation.examples().length > 0) {
  String examples[] = new String[extensionAnnotation.examples().length];
  for (int i = 0; i < extensionAnnotation.examples().length; i++) {
    examples[i] = "syntax: " + extensionAnnotation.examples()[i].syntax() + "\n" +
        "description: " + extensionAnnotation.examples()[i].description();

代码示例来源:origin: org.wso2.siddhi/siddhi-extension-kafka-output-transport

@Extension(
    name = "kafka",
    namespace = "sink",

代码示例来源:origin: org.wso2.siddhi/siddhi-annotations

AbstractAnnotationProcessor abstractAnnotationProcessor = null;
Extension annotation = element.getAnnotation(Extension.class);
String name = annotation.name();
String description = annotation.description();
String namespace = annotation.namespace();
Parameter[] parameters = annotation.parameters();
ReturnAttribute[] returnAttributes = annotation.returnAttributes();
SystemParameter[] systemParameters = annotation.systemParameter();
Example[] examples = annotation.examples();
String extensionClassFullName = element.asType().toString();
if (superClass != null) {

代码示例来源:origin: org.wso2.analytics.apim/siddhi-io-mgwfile

@Extension(
    name = "mgwfile",
    namespace = "source",

代码示例来源:origin: org.wso2.extension.siddhi.execution.time/siddhi-execution-time

@Extension(
    name = "utcTimestamp",
    namespace = "time",

代码示例来源:origin: org.wso2.extension.siddhi.execution.time/siddhi-execution-time

@Extension(
    name = "currentTime",
    namespace = "time",

代码示例来源:origin: org.wso2.extension.siddhi.execution.time/siddhi-execution-time

@Extension(
    name = "currentDate",
    namespace = "time",

代码示例来源:origin: org.wso2.extension.siddhi.execution.time/siddhi-execution-time

@Extension(
    name = "currentTimestamp",
    namespace = "time",

代码示例来源:origin: org.wso2.extension.siddhi.execution.unique/siddhi-execution-unique

@Extension(
    name = "first",
    namespace = "unique",

代码示例来源:origin: org.wso2.extension.siddhi.execution.unique/siddhi-execution-unique

@Extension(
    name = "firstLengthBatch",
    namespace = "unique",

代码示例来源:origin: org.wso2.extension.siddhi.map.wso2event/siddhi-map-wso2event

@Extension(
    name = "wso2event",
    namespace = "sourceMapper",

代码示例来源:origin: org.wso2.extension.siddhi.map.wso2event/siddhi-map-wso2event

@Extension(

代码示例来源:origin: org.wso2.extension.siddhi.map.keyvalue/siddhi-map-keyvalue

@Extension(
    name = "keyvalue",
    namespace = "sinkMapper",

代码示例来源:origin: org.wso2.extension.siddhi.execution.unitconversion/siddhi-execution-unitconversion

@Extension(
    name = "sTous",
    namespace = "unitconversion",

代码示例来源:origin: org.wso2.extension.siddhi.execution.unitconversion/siddhi-execution-unitconversion

@Extension(
    name = "kgTog",
    namespace = "unitconversion",

代码示例来源:origin: org.wso2.extension.siddhi.execution.unitconversion/siddhi-execution-unitconversion

@Extension(
    name = "cmToin",
    namespace = "unitconversion",

代码示例来源:origin: org.wso2.extension.siddhi.execution.unitconversion/siddhi-execution-unitconversion

@Extension(
    name = "tTog",
    namespace = "unitconversion",

代码示例来源:origin: org.wso2.extension.siddhi.execution.unitconversion/siddhi-execution-unitconversion

@Extension(
    name = "tTokg",
    namespace = "unitconversion",

相关文章