本文整理了Java中org.apache.nifi.components.PropertyValue.asDouble()
方法的一些代码示例,展示了PropertyValue.asDouble()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。PropertyValue.asDouble()
方法的具体详情如下:
包路径:org.apache.nifi.components.PropertyValue
类名称:PropertyValue
方法名:asDouble
暂无
代码示例来源:origin: apache/nifi
@Override
public Double asDouble() {
ensureExpressionsEvaluated();
return stdPropValue.asDouble();
}
代码示例来源:origin: apache/nifi
if (!newBatch && timeStampString.equals(currBatchStart)) {
final Double currentFlowFileValue = context.getProperty(VALUE_TO_TRACK).evaluateAttributeExpressions(flowFile).asDouble();
batchCount++;
final Double currentFlowFileValue = context.getProperty(VALUE_TO_TRACK).evaluateAttributeExpressions(flowFile).asDouble();
代码示例来源:origin: apache/nifi
final Double currentFlowFileValue = context.getProperty(VALUE_TO_TRACK).evaluateAttributeExpressions(flowFile).asDouble();
代码示例来源:origin: apache/nifi
double matchThreshold = context.getProperty(MATCH_THRESHOLD).asDouble();
代码示例来源:origin: org.apache.nifi/nifi-mock
@Override
public Double asDouble() {
ensureExpressionsEvaluated();
return stdPropValue.asDouble();
}
代码示例来源:origin: jdye64/nifi-addons
@OnScheduled
public void onScheduled(final ProcessContext context) {
double width = context.getProperty(FRAME_WIDTH).asDouble()
.doubleValue();
camera.set(Videoio.CV_CAP_PROP_FRAME_WIDTH, width);
double height = context.getProperty(FRAME_HEIGHT).asDouble()
.doubleValue();
camera.set(Videoio.CV_CAP_PROP_FRAME_HEIGHT, height);
}
代码示例来源:origin: org.apache.nifi/nifi-stateful-analysis-processors
if (!newBatch && timeStampString.equals(currBatchStart)) {
final Double currentFlowFileValue = context.getProperty(VALUE_TO_TRACK).evaluateAttributeExpressions(flowFile).asDouble();
batchCount++;
final Double currentFlowFileValue = context.getProperty(VALUE_TO_TRACK).evaluateAttributeExpressions(flowFile).asDouble();
代码示例来源:origin: org.apache.nifi/nifi-stateful-analysis-processors
final Double currentFlowFileValue = context.getProperty(VALUE_TO_TRACK).evaluateAttributeExpressions(flowFile).asDouble();
代码示例来源:origin: org.apache.nifi/nifi-cybersecurity-processors
double matchThreshold = context.getProperty(MATCH_THRESHOLD).asDouble();
内容来源于网络,如有侵权,请联系作者删除!