cascading.lingual.optiq
Class EnumerableTapRule

java.lang.Object
  extended by org.eigenbase.relopt.RelOptRule
      extended by cascading.lingual.optiq.EnumerableTapRule

public class EnumerableTapRule
extends org.eigenbase.relopt.RelOptRule

Rule that converts a Cascading Tap into an enumerable.

Usually a Tap is the leaf of a plan that represents a Cascading flow, and this results in a MapReduce job at runtime. But if the query is just "select * from aTable" then it makes sense to read directly from the tap.


Field Summary
static EnumerableTapRule INSTANCE
           
 
Fields inherited from class org.eigenbase.relopt.RelOptRule
ANY, description, operands
 
Method Summary
 void onMatch(org.eigenbase.relopt.RelOptRuleCall call)
           
 
Methods inherited from class org.eigenbase.relopt.RelOptRule
any, any, convert, convertList, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, leaf, leaf, matches, some, some, toString, unordered
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final EnumerableTapRule INSTANCE
Method Detail

onMatch

public void onMatch(org.eigenbase.relopt.RelOptRuleCall call)
Specified by:
onMatch in class org.eigenbase.relopt.RelOptRule


Copyright © 2007-2013 Concurrent, Inc. All Rights Reserved.