 | AdvancedWordCountAggregateCounts Method |
Aggregates the counts.
Namespace: Ookii.Jumbo.Jet.SamplesAssembly: Ookii.Jumbo.Jet.Samples (in Ookii.Jumbo.Jet.Samples.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic 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 String
- The key.
- oldValue Int32
- The old value.
- newValue Int32
- The new value.
Return Value
Int32The sum of the old and new value.
See Also