You can just filter that out with a diamond pipe and into a 1x1 pool of lava to dispose of unnecessary materials - dirt, gravel and cobblestone (as well as fences and wood if you happen across mineshafts) for example.
Granted, it's not very fast, nor does it need to be. Like I said, the quarry...