MapReduce and Design Patterns - Filtering Pattern Overview
406 views
Oct 18, 2024
MapReduce and Design Patterns - Filtering Pattern Overview https://www.tutorialspoint.com/market/index.asp Get Extra 10% OFF on all courses, Ebooks, and prime packs, USE CODE: YOUTUBE10
View Video Transcript
0:01
In this video we are discussing filtering pattern overview
0:04
From the very name filtering it is quite obvious that this particular pattern will be
0:09
required to select some set of records depending upon some filtering criteria and that's
0:15
why the name has got given as filtering pattern overview. So let us go for some more discussion on this topic
0:23
So what is filtering pattern? So as the name suggests this type of pattern is used
0:29
to filter records based on some conditions or criteria. So, using different conditions, it checks whether a record should stay or it should be dismissed
0:41
This pattern is used to find a subset from a huge data set with certain conditions
0:47
So we are going to have our huge data set in about big data, and depending upon the given
0:51
condition or criteria, we are supposed to decide whether a record should stay or should
0:57
get dismissed. So actually, it is calculating. or it is accumulating some subset of our given records
1:04
So as an example, if we want all records related to the user ID, let it be x, y, z
1:11
then we have to use the filtering pattern to do that one
1:14
So using this particular pattern we can do the filtering on our dataset So what is filtering pattern So the filtering pattern structure is very simple So map key value
1:28
So map is the, this is having the key value pair, so this is the key and this is the
1:32
respective value. So if we want to keep that record, return the key value of it
1:38
That means it will return the key value of the respective record
1:42
So you can find here we are having the input splits. So, here the input will be a big one, huge amount of data sets and records will be there
1:51
So, input splits will be obtained and then they will be assigned to the filter mapper
1:56
So, here we are having the mapper tasks. So this input splits will be taken as input by this filter mapper and then the output
2:04
splits will be obtained. And there is a basic organization of this filtering design pattern
2:13
this section we will see mainly four types of filtering pattern so they are simple random
2:19
sampling next we shall go for bloom filtering top 10 and distinct but we will see one
2:27
sample and very simple filtering pattern example before going for this all detailing
2:33
about this four different categories so let us go for the next videos for the implementation
2:39
of this simple filtering pattern thanks for watching this video
#Data Management
#Enterprise Technology
#Programming