1 package com.daffodilwoods.daffodildb.server.sql99.dql.queryexpression.queryspecification; 2 3 import java.util.*; 4 5 import com.daffodilwoods.daffodildb.server.serversystem.*; 6 import com.daffodilwoods.daffodildb.server.sql99.common.*; 7 import com.daffodilwoods.daffodildb.server.sql99.dql.tableexpression.fromclause.*; 8 import com.daffodilwoods.daffodildb.server.sql99.expression.*; 9 import com.daffodilwoods.daffodildb.server.sql99.token.*; 10 import com.daffodilwoods.daffodildb.server.sql99.utils.*; 11 import com.daffodilwoods.daffodildb.utils.parser.*; 12 import com.daffodilwoods.database.resource.*; 13 24 public class hasrecordrule implements StatementExecuter, qualifiedasterisk { 25 29 public SRESERVEDWORD1206543922correlationname _OptSRESERVEDWORD1206543922correlationname0; 30 33 public Srightparen_1874859514 _Srightparen_18748595141; 34 37 public localorschemaqualifiedname _localorschemaqualifiedname2; 38 41 public Sleftparen653880241 _Sleftparen6538802413; 42 45 public SRESERVEDWORD1206543922 _SRESERVEDWORD12065439224; 46 49 50 ColumnDetails columnDetail; 51 57 public Object run(Object object) throws DException { 58 return ( (_VariableValues) object).getColumnValues(columnDetail); 59 } 60 61 public void setDefaultValues(_VariableValueOperations variableValueOperations) throws DException { 62 63 throw new java.lang.UnsupportedOperationException ("Method setDefaultValues() not yet implemented."); 64 } 65 66 public _Reference[] getReferences(TableDetails[] tableDetails) throws DException { 67 return null; 68 } 69 70 public ColumnDetails[] getColumnDetails() throws DException { 71 return new ColumnDetails[0]; 72 } 73 74 public ParameterInfo[] getParameterInfo() throws DException { 75 76 throw new java.lang.UnsupportedOperationException ("Method getParameterInfo() not yet implemented."); 77 } 78 public Object [] getParameters(Object object) throws DException { 79 throw new java.lang.UnsupportedOperationException ("Method getParameter() not yet implemented."); 80 } 81 public ColumnDetails[] getDerivedColumnDetails() throws DException { 82 if (columnDetail == null) { 83 columnDetail = new ColumnDetails(); 84 columnDetail.setColumnName(new String [] { ("HASRECORD(" + _localorschemaqualifiedname2.toString() + ")")}); 85 columnDetail.setType(TypeConstants.HAS_RECORD); 86 columnDetail.setDatatype(Datatypes.BOOLEAN); 87 columnDetail.setSize(Datatypes.BOOLEANSIZE); 88 columnDetail.setUnderLyingReference(true); 89 columnDetail.setObject(this); 90 columnDetail.setTableDetails(_localorschemaqualifiedname2.getTableDetails()); 91 92 if (_OptSRESERVEDWORD1206543922correlationname0 != null) { 93 columnDetail.setAliasName( (String ) _OptSRESERVEDWORD1206543922correlationname0.run(null)); 94 } 95 } 96 return new ColumnDetails[] {columnDetail}; 97 } 98 99 public void getColumnsIncluded(ArrayList parm1) throws com.daffodilwoods.database.resource.DException { 100 } 101 102 108 public _Reference[] checkSemantic(_ServerSession parent) throws DException { 109 return null; 110 } 111 112 public String toString() { 113 StringBuffer sb = new StringBuffer (); 114 sb.append(" "); 115 sb.append(_SRESERVEDWORD12065439224); 116 sb.append(" "); 117 sb.append(_Sleftparen6538802413); 118 sb.append(" "); 119 sb.append(_localorschemaqualifiedname2); 120 sb.append(" "); 121 sb.append(_Srightparen_18748595141); 122 sb.append(" "); 123 if (_OptSRESERVEDWORD1206543922correlationname0 != null) { 124 sb.append(_OptSRESERVEDWORD1206543922correlationname0); 125 } 126 return sb.toString(); 127 } 128 129 public Object clone() throws CloneNotSupportedException { 130 hasrecordrule tempClass = new hasrecordrule(); 131 if (_OptSRESERVEDWORD1206543922correlationname0 != null) { 132 tempClass._OptSRESERVEDWORD1206543922correlationname0 = (SRESERVEDWORD1206543922correlationname) _OptSRESERVEDWORD1206543922correlationname0.clone(); 133 } 134 tempClass._Srightparen_18748595141 = (Srightparen_1874859514) _Srightparen_18748595141.clone(); 135 tempClass._localorschemaqualifiedname2 = (localorschemaqualifiedname) _localorschemaqualifiedname2.clone(); 136 tempClass._Sleftparen6538802413 = (Sleftparen653880241) _Sleftparen6538802413.clone(); 137 tempClass._SRESERVEDWORD12065439224 = (SRESERVEDWORD1206543922) _SRESERVEDWORD12065439224.clone(); 138 return tempClass; 139 } 140 141 145 146 public ByteComparison getByteComparison(Object object) throws DException { 147 return new ByteComparison(false, new int[] { -1}); 148 } 149 150 public ColumnDetails[] getChildColumnDetails() throws DException { 151 return getColumnDetails(); 152 } 153 } 154 | Popular Tags |