|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eigenbase.relopt.RelOptRule
org.eigenbase.rel.rules.RemoveEmptyRule
public abstract class RemoveEmptyRule
Collection of rules which remove sections of a query plan known never to produce any rows.
EmptyRel| Field Summary | |
|---|---|
static RemoveEmptyRule |
filterInstance
Singleton instance of rule which converts a FilterRel to empty if
its child is empty. |
static RemoveEmptyRule |
projectInstance
Singleton instance of rule which converts a ProjectRel to empty
if its child is empty. |
static RemoveEmptyRule |
unionInstance
Singleton instance of rule which removes empty children of a UnionRel. |
| Fields inherited from class org.eigenbase.relopt.RelOptRule |
|---|
ANY, description, operands |
| Constructor Summary | |
|---|---|
private |
RemoveEmptyRule(RelOptRuleOperand operand,
String desc)
Creates a RemoveEmptyRule. |
| Method Summary |
|---|
| Methods inherited from class org.eigenbase.relopt.RelOptRule |
|---|
convert, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, matches, mergeTraitsAndConvert, mergeTraitsAndConvert, onMatch, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final RemoveEmptyRule unionInstance
UnionRel.
Examples:
public static final RemoveEmptyRule projectInstance
ProjectRel to empty
if its child is empty.
Examples:
public static final RemoveEmptyRule filterInstance
FilterRel to empty if
its child is empty.
Examples:
| Constructor Detail |
|---|
private RemoveEmptyRule(RelOptRuleOperand operand,
String desc)
operand - Operanddesc - Description
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||