本文整理了Java中org.wso2.siddhi.annotation.Extension
类的一些代码示例,展示了Extension
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Extension
类的具体详情如下:
包路径:org.wso2.siddhi.annotation.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",
内容来源于网络,如有侵权,请联系作者删除!