| AdvancedWordCountAggregateCounts Method |
Aggregates the counts.
Namespace:
Ookii.Jumbo.Jet.Samples
Assembly:
Ookii.Jumbo.Jet.Samples (in Ookii.Jumbo.Jet.Samples.dll) Version: 2.0.0
Syntax public static int AggregateCounts(
string key,
int oldValue,
int newValue
)
Public Shared Function AggregateCounts (
key As String,
oldValue As Integer,
newValue As Integer
) As Integer
public:
static int AggregateCounts(
String^ key,
int oldValue,
int newValue
)
static member AggregateCounts :
key : string *
oldValue : int *
newValue : int -> int
Parameters
- key
- Type: SystemString
The key. - oldValue
- Type: SystemInt32
The old value. - newValue
- Type: SystemInt32
The new value.
Return Value
Type:
Int32The sum of the old and new value.
See Also