O'Reilly logo

Learning Cascading by Victoria Loewengart, Michael Covert

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

Chapter 4. Creating Custom Operations

Cascading provides you with the degrees of freedom to do complex things. One very useful capability of Cascading is allowing the developer to create custom operations if the pre-defined operations do not fit the bill. So now, after we have fully explored and understood the anatomy of an operation in the previous chapter, we will show you how to actually write a custom operation of each type.

Writing custom operations

We have now seen the function signatures for each of the custom operations. We also know that an operation is generically typed. Its type defines the Context class that it will use. Let's look in detail at how we actually write these extensions. There are several things that we must discuss first ...

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