O'Reilly logo

Real-time Analytics with Storm and Cassandra by Shilpi Saxena

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding the Trident API

Trident API supports five broad categories of operations:

  • Operations for manipulations of partitioning local data without network transfer
  • Operations related to the repartitioning of the stream (involves the transfer of stream data over the network)
  • Data aggregation over the stream (this operation do the network transfer as a part of operation)
  • Grouping over a field in the stream
  • Merge and join

Local partition manipulation operation

As the name suggests, these operations are locally operative over the batch on each node and no network traffic is involved for it. The following functions fall under this category.

Functions

  • This operation takes single input value and emits zero or more tuples as the output
  • The output of these ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required