1 package com.daffodilwoods.daffodildb.server.sql99.expression.booleanvalueexpression; 2 3 import com.daffodilwoods.daffodildb.server.datasystem.interfaces.*; 4 import com.daffodilwoods.daffodildb.server.sql99.common.*; 5 import com.daffodilwoods.daffodildb.server.sql99.ddl.descriptors.*; 6 import com.daffodilwoods.daffodildb.server.sql99.ddl.schemadefinition.*; 7 import com.daffodilwoods.daffodildb.server.sql99.dql.iterator.*; 8 import com.daffodilwoods.daffodildb.server.sql99.dql.plan.condition.*; 9 import com.daffodilwoods.daffodildb.server.sql99.token.*; 10 import com.daffodilwoods.daffodildb.server.sql99.utils.*; 11 import com.daffodilwoods.database.resource.*; 12 import com.daffodilwoods.database.sqlinitiator.*; 13 14 public class SRESERVEDWORD1206543922SRESERVEDWORD1206543922Optparenlargeobjectlength implements com.daffodilwoods.daffodildb.utils.parser.StatementExecuter, characterstringtype, datatype, predefinedtype, datatypedomainname { 15 16 public void setDefaultValues(_VariableValueOperations variableValueOperation) throws DException { 17 } 18 19 public boolean checkForSubQuery() throws DException { 20 return false; 21 } 22 23 public _Reference[] getReferences(TableDetails[] tableDetails) throws DException { 24 throw new DException("DSE565", new Object [] {"getReferences()"}); 25 } 26 27 public double getCost(long rowCount, boolean index) throws DException { 28 throw new DException("DSE565", new Object [] {"getCost()"}); 29 } 30 31 public long getEstimatedRows(long noOfRows) throws DException { 32 throw new DException("DSE565", new Object [] {"getEstimatedRows()"}); 33 } 34 35 public _QualifiedBVE getQualifiedBVE(TableDetails[] tableDetails) throws DException { 36 throw new DException("DSE565", new Object [] {"getQualifiedBVE()"}); 37 } 38 39 public boolean canUseForSeek() throws DException { 40 throw new DException("DSE565", new Object [] {"canUseForSeek()"}); 41 } 42 43 public boolean isNullPredicate() throws DException { 44 throw new DException("DSE565", new Object [] {"isNullPredicate()"}); 45 } 46 47 public int getPredicateType() throws DException { 48 throw new DException("DSE565", new Object [] {"getPredicateType()"}); 49 } 50 51 public double getCost(_Order order, String [] queryColumns, Object session, TableDetails tableDetail) throws DException { 52 throw new DException("DSE565", new Object [] {"getCost()"}); 53 } 54 55 public void setColumnPredicates(_AllColumnPredicates allColumnPredicates) throws DException { 56 throw new DException("DSE565", new Object [] {"setColumnPredicates()"}); 57 } 58 59 public _Iterator execute(_IndexTable indexTable, _Order order, String [] queryColumns, TableDetails tableDetails) throws DException { 60 throw new DException("DSE565", new Object [] {"execute()"}); 61 } 62 63 public int getConditionType() throws DException { 64 throw new DException("DSE565", new Object [] {"getConditionType()"}); 65 } 66 67 public _BVEPlan getExecutionPlan() throws DException { 68 throw new DException("DSE565", new Object [] {"getExecutionPlan()"}); 69 } 70 71 public parenlargeobjectlength _Optparenlargeobjectlength0; 72 public SRESERVEDWORD1206543922 _SRESERVEDWORD12065439221; 73 public SRESERVEDWORD1206543922 _SRESERVEDWORD12065439222; 74 DataTypeDescriptor dataTypeDescriptor; 75 76 public void setDescriptor(_Descriptor dataTypeDescriptor) throws DException { 77 this.dataTypeDescriptor = (DataTypeDescriptor) dataTypeDescriptor; 78 } 79 80 public Object run(Object object) throws DException { 81 if (dataTypeDescriptor == null) { 82 throw new DException("DSE492", null); 83 } 84 String type = _SRESERVEDWORD12065439221.toString(); 85 86 if (type.equalsIgnoreCase(SqlKeywords.VARCHAR)) { 87 dataTypeDescriptor.data_Type = "LONG VARCHAR"; 88 } else if (type.equalsIgnoreCase(SqlKeywords.VARBINARY)) { 89 dataTypeDescriptor.data_Type = "LONG VARBINARY"; 90 } else { 91 throw new DException("DSE1131", new Object [] {_SRESERVEDWORD12065439222.toString()}); 92 } 93 94 if (_Optparenlargeobjectlength0 == null) { 95 dataTypeDescriptor.character_maximum_length = new Integer (dataTypeDescriptor.implicit_maximum_characterLargeObject_length); 96 } else { 97 Integer maximumLength = (Integer ) _Optparenlargeobjectlength0.run(null); 98 if (maximumLength.intValue() > dataTypeDescriptor.implicit_maximum_characterLargeObject_length) { 99 throw new DException("DSE983", new Object [] {maximumLength, new Integer (dataTypeDescriptor.implicit_maximum_characterLargeObject_length)}); 100 } 101 dataTypeDescriptor.character_maximum_length = maximumLength; 102 } 103 dataTypeDescriptor.character_octet_length = new Integer (0); 104 return toString(); 105 } 106 107 public String toString() { 108 StringBuffer sb = new StringBuffer (); 109 sb.append(" "); 110 sb.append(_SRESERVEDWORD12065439222); 111 sb.append(" "); 112 sb.append(_SRESERVEDWORD12065439221); 113 sb.append(" "); 114 if (_Optparenlargeobjectlength0 != null) { 115 sb.append(_Optparenlargeobjectlength0); 116 } 117 return sb.toString(); 118 } 119 120 public Object clone() throws CloneNotSupportedException { 121 SRESERVEDWORD1206543922SRESERVEDWORD1206543922Optparenlargeobjectlength tempClass = new SRESERVEDWORD1206543922SRESERVEDWORD1206543922Optparenlargeobjectlength(); 122 if (_Optparenlargeobjectlength0 != null) { 123 tempClass._Optparenlargeobjectlength0 = (parenlargeobjectlength) _Optparenlargeobjectlength0.clone(); 124 } 125 tempClass._SRESERVEDWORD12065439221 = (SRESERVEDWORD1206543922) _SRESERVEDWORD12065439221.clone(); 126 tempClass._SRESERVEDWORD12065439222 = (SRESERVEDWORD1206543922) _SRESERVEDWORD12065439222.clone(); 127 return tempClass; 128 } 129 } 130 | Popular Tags |