1 package com.daffodilwoods.daffodildb.server.sql99.dql.plan.condition; 2 3 import com.daffodilwoods.daffodildb.server.sql99.common.*; 4 import com.daffodilwoods.daffodildb.server.sql99.expression.booleanvalueexpression.*; 5 import com.daffodilwoods.daffodildb.server.sql99.expression.booleanvalueexpression.predicates.*; 6 import com.daffodilwoods.database.resource.*; 7 8 19 public class BVESingleTablePlan implements _BVEPlan, ExecutionPlanConstants, _BVESingleTablePlan { 20 23 private booleanvalueexpression condition; 24 27 private TableDetails tableDetail; 28 29 public BVESingleTablePlan(booleanvalueexpression condition0, TableDetails tabledetail0) { 30 condition = condition0; 31 tableDetail = tabledetail0; 32 } 33 38 public TableDetails[] getTableDetails() throws DException { 39 return new TableDetails[] {tableDetail}; 40 } 41 46 public booleanvalueexpression getCondition() throws DException { 47 return condition; 48 } 49 50 public void setCondition(booleanvalueexpression condition0) throws DException { 51 condition = condition0; 52 } 53 54 public int getType() throws DException { 55 return BVEConstants.BVESINGLETABLEPLAN; 56 } 57 58 public booleanvalueexpression getRemainingCondition() throws DException { 59 return null; 60 } 61 62 public String toString() { 63 return "BVESINGLETABLEPLAN[" + condition + "][" + tableDetail + "]"; 64 } 65 66 public booleanvalueexpression getAggregateCondition() throws com.daffodilwoods.database.resource.DException { 67 return null; 68 } 69 70 public _AllTablesJoinRelation getAllTableJoinRelation() throws com.daffodilwoods.database.resource.DException { 71 return null; 72 } 73 74 public _BVESingleTablePlan[] getBVESingleTablePlans() throws com.daffodilwoods.database.resource.DException { 75 return new _BVESingleTablePlan[] {this}; 76 } 77 78 public void setBVESingleTablePlans(_BVESingleTablePlan[] bveSingleTablePlans) throws DException { 79 throw new UnsupportedOperationException (); 80 } 81 82 public void setRemainingCondition(booleanvalueexpression remainingCondition) throws DException { 83 throw new UnsupportedOperationException (); 84 } 85 } 86 | Popular Tags |