1 package com.daffodilwoods.daffodildb.server.sql99.dql.tableexpression.fromclause; 2 3 import java.util.*; 4 5 import com.daffodilwoods.daffodildb.server.datadictionarysystem.*; 6 import com.daffodilwoods.daffodildb.server.sql99.common.*; 7 import com.daffodilwoods.daffodildb.server.sql99.expression.booleanvalueexpression.predicates.*; 8 import com.daffodilwoods.daffodildb.server.sql99.expression.expressionprimary.*; 9 import com.daffodilwoods.daffodildb.server.sql99.expression.rowvalueexpression.*; 10 import com.daffodilwoods.daffodildb.server.sql99.utils.*; 11 import com.daffodilwoods.database.resource.*; 12 13 23 public class tablesubquery extends AbstractRowValueExpression implements inpredicatevalue { 24 27 public subquery _tablesubquery0; 28 35 public _ColumnCharacteristics getColumnCharacteristics(Object object) throws DException { 36 return _tablesubquery0.getColumnCharacteristics(object); 37 } 38 39 public void setDefaultValues(_VariableValueOperations variableValueOperation) throws DException { 40 } 41 42 public _Reference[] getReferences(TableDetails[] tableDetails) throws DException { 43 return _tablesubquery0.getReferences(tableDetails); 44 } 45 public Object run(Object object) throws com.daffodilwoods.database.resource.DException { 46 return _tablesubquery0.run(object); 47 } 48 49 public ColumnDetails[] getColumnDetails() throws DException { 50 return new ColumnDetails[0]; 51 } 52 public ParameterInfo[] getParameterInfo() throws DException { 53 return _tablesubquery0.getParameterInfo(); 54 } 55 56 public Object [] getParameters(Object object) throws DException { 57 return _tablesubquery0.getParameters(object); 58 } 59 60 public void getColumnsIncluded(ArrayList aList) throws DException { 61 _tablesubquery0.getColumnsIncluded(aList); 62 } 63 64 public void getTablesIncluded(ArrayList aList) throws DException { 65 _tablesubquery0.getTablesIncluded(aList); 66 } 67 68 public com.daffodilwoods.daffodildb.server.sql99.utils._Reference[] checkSemantic(com.daffodilwoods.daffodildb.server.serversystem._ServerSession parent) throws DException { 69 return _tablesubquery0.checkSemantic(parent); 70 } 71 72 public com.daffodilwoods.daffodildb.server.sql99.utils._Reference[] checkSemantic(com.daffodilwoods.daffodildb.server.serversystem._ServerSession parent, boolean checkUserRight) throws DException { 73 return _tablesubquery0.checkSemantic(parent, checkUserRight); 74 } 75 76 83 public int getCardinality() throws DException { 84 return _tablesubquery0._queryexpression0.getSelectedColumns().length; 85 } 86 87 91 public AbstractRowValueExpression[] getChilds() { 92 AbstractRowValueExpression[] childs = new AbstractRowValueExpression[] { (AbstractRowValueExpression) _tablesubquery0}; 93 return childs; 94 } 95 96 public String toString() { 97 StringBuffer sb = new StringBuffer (); 98 sb.append(" "); 99 sb.append(_tablesubquery0); 100 return sb.toString(); 101 } 102 103 public Object clone() throws CloneNotSupportedException { 104 tablesubquery tempClass = new tablesubquery(); 105 tempClass._tablesubquery0 = (subquery) _tablesubquery0.clone(); 106 return tempClass; 107 } 108 } 109 | Popular Tags |