1 22 23 package org.xquark.extractor.algebra; 24 25 import java.util.Collections ; 26 import java.util.List ; 27 import java.util.Set ; 28 29 import org.xquark.extractor.common.SqlWrapperException; 30 import org.xquark.extractor.sql.SqlExpression; 31 32 public final class DummyTable extends Expression implements Relation { 33 34 35 private static final String RCSRevision = "$Revision: 1.4 $"; 36 private static final String RCSName = "$Name: $"; 37 38 39 Set _providedTableInstances = null; 40 41 public DummyTable() {} 42 43 public Set providedTableInstances() { 44 if (null == _providedTableInstances) 45 _providedTableInstances = Collections.singleton(this); 46 return _providedTableInstances; 47 } 48 49 50 public Set visibleTableInstances() { 51 return null; 52 } 53 54 public AttributeExpression findNonNullAttribute() { 55 return null; 56 } 57 58 public List getItems() { 59 return null; 60 } 61 62 public List getKeys() { 63 return null; 64 }; 65 66 public List nameTest(String name){ 67 return null; 68 } 69 70 public List getOperands() 71 { 72 return null; 73 } 74 75 public String pprint ( ) 76 { 77 return "DummyTable"; 78 } 79 80 public SqlExpression accept (GenSqlVisitor visitor) throws SqlWrapperException 81 { 82 return visitor.visit(this); 83 } 84 85 public void accept (AlgebraVisitor visitor) throws SqlWrapperException 86 { 87 visitor.visit(this); 88 } 89 90 95 public boolean deepEquals(Object o) 96 { 97 return false; 98 } 99 } 100 | Popular Tags |