Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Development Idea

Updated on 2022-09-14 GMT+08:00

Function Decomposition

The procedure for a user to develop an application to calculate the number of times that each word appears in random text is as Table 1:

Table 1 Functions to be developed

No.

Procedure

Code Sample

1

Create a Spout to generate random text.

For details, see Creating a Spout.

2

Create a Bolt to split the random text into words.

For details, see Creating a Bolt.

3

Create a Blot to calculate the number of times that each word appears.

For details, see Creating a Bolt.

4

Create a Topology.

For details, see Creating a Topology.

For details about certain code, see Code Samples. For details about complete code, see the storm-examples project.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback