| PFPGrowthAggregatePatterns Method |
Aggregates the patterns.
Namespace:
Ookii.Jumbo.Jet.Samples.FPGrowth
Assembly:
Ookii.Jumbo.Jet.Samples (in Ookii.Jumbo.Jet.Samples.dll) Version: 2.0.0
Syntax public static void AggregatePatterns(
RecordReader<Pair<int, WritableCollection<MappedFrequentPattern>>> input,
RecordWriter<Pair<Utf8String, WritableCollection<FrequentPattern>>> output,
TaskContext config
)
Public Shared Sub AggregatePatterns (
input As RecordReader(Of Pair(Of Integer, WritableCollection(Of MappedFrequentPattern))),
output As RecordWriter(Of Pair(Of Utf8String, WritableCollection(Of FrequentPattern))),
config As TaskContext
)
public:
static void AggregatePatterns(
RecordReader<Pair<int, WritableCollection<MappedFrequentPattern^>^>^>^ input,
RecordWriter<Pair<Utf8String^, WritableCollection<FrequentPattern^>^>^>^ output,
TaskContext^ config
)
static member AggregatePatterns :
input : RecordReader<Pair<int, WritableCollection<MappedFrequentPattern>>> *
output : RecordWriter<Pair<Utf8String, WritableCollection<FrequentPattern>>> *
config : TaskContext -> unit
Parameters
- input
- Type: Ookii.Jumbo.IORecordReaderPairInt32, WritableCollectionMappedFrequentPattern
The input. - output
- Type: Ookii.Jumbo.IORecordWriterPairUtf8String, WritableCollectionFrequentPattern
The output. - config
- Type: Ookii.Jumbo.JetTaskContext
The config.
Remarks
Does not allow record reuse (technically it could because WritableCollection doesn't reuse item instances
but because that might change in the future we don't set the option here).
See Also