Java Code Examples for org.apache.flink.types.FloatValue#getValue()
The following examples show how to use
org.apache.flink.types.FloatValue#getValue() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FloatValueArray.java From Flink-CEPplus with Apache License 2.0 | 6 votes |
@Override public boolean add(FloatValue value) { int newPosition = position + 1; if (newPosition > data.length) { if (isBounded) { return false; } else { ensureCapacity(newPosition); } } data[position] = value.getValue(); position = newPosition; return true; }
Example 2
Source File: FloatValueArray.java From flink with Apache License 2.0 | 6 votes |
@Override public boolean add(FloatValue value) { int newPosition = position + 1; if (newPosition > data.length) { if (isBounded) { return false; } else { ensureCapacity(newPosition); } } data[position] = value.getValue(); position = newPosition; return true; }
Example 3
Source File: FloatValueArray.java From flink with Apache License 2.0 | 6 votes |
@Override public boolean add(FloatValue value) { int newPosition = position + 1; if (newPosition > data.length) { if (isBounded) { return false; } else { ensureCapacity(newPosition); } } data[position] = value.getValue(); position = newPosition; return true; }
Example 4
Source File: SumAggregationFunction.java From Flink-CEPplus with Apache License 2.0 | 4 votes |
@Override public void aggregate(FloatValue value) { agg += value.getValue(); }
Example 5
Source File: ValueSummaryAggregator.java From Flink-CEPplus with Apache License 2.0 | 4 votes |
@Override protected Float getValue(FloatValue value) { return value.getValue(); }
Example 6
Source File: SumAggregationFunction.java From flink with Apache License 2.0 | 4 votes |
@Override public void aggregate(FloatValue value) { agg += value.getValue(); }
Example 7
Source File: ValueSummaryAggregator.java From flink with Apache License 2.0 | 4 votes |
@Override protected Float getValue(FloatValue value) { return value.getValue(); }
Example 8
Source File: SumAggregationFunction.java From flink with Apache License 2.0 | 4 votes |
@Override public void aggregate(FloatValue value) { agg += value.getValue(); }
Example 9
Source File: ValueSummaryAggregator.java From flink with Apache License 2.0 | 4 votes |
@Override protected Float getValue(FloatValue value) { return value.getValue(); }