1 package com.daffodilwoods.daffodildb.server.sql99.utils; 2 3 import com.daffodilwoods.daffodildb.client.*; 4 import com.daffodilwoods.daffodildb.server.datasystem.utility._Record; 5 import com.daffodilwoods.daffodildb.server.sql99.common.*; 6 import com.daffodilwoods.daffodildb.server.sql99.dql.execution.*; 7 import com.daffodilwoods.daffodildb.server.sql99.dql.iterator.*; 8 import com.daffodilwoods.daffodildb.utils.field.*; 9 import com.daffodilwoods.database.resource.*; 10 import com.daffodilwoods.database.sqlinitiator.*; 11 import com.daffodilwoods.database.utility.P; 12 13 public abstract class BaseSingleIterator implements _Iterator { 14 15 protected _Iterator iterator; 16 17 protected _Reference[] underlyingRef; 18 19 public BaseSingleIterator(_Iterator iterator0) { 20 iterator = iterator0; 21 } 22 23 public _OrderCount getOrderCounts() throws com.daffodilwoods.database.resource.DException { 24 return iterator.getOrderCounts(); 25 } 26 27 public TableDetails[] getTableDetails() throws com.daffodilwoods.database.resource.DException { 28 return iterator.getTableDetails(); 29 } 30 31 public _Iterator getBaseIterator(ColumnDetails column) throws com.daffodilwoods.database.resource.DException { 32 return iterator.getBaseIterator(column); 33 } 34 35 public void setConditionVariableValue(_Reference[] parm1, Object [] parm2, int parm3) throws com.daffodilwoods.database.resource.DException { 36 if(underlyingRef!=null){ 37 parm1 = GeneralPurposeStaticClass.getJointReferences(parm1,underlyingRef); 38 parm2 = GeneralPurposeStaticClass.getJointValues(this, parm2,underlyingRef.length); 39 } 40 iterator.setConditionVariableValue(parm1, parm2, parm3); 41 } 42 43 public void setKeyCount(Object [][] parm1) throws com.daffodilwoods.database.resource.DException { 44 iterator.setKeyCount(parm1); 45 } 46 47 public _Order getDefaultOrder() throws com.daffodilwoods.database.resource.DException { 48 return iterator.getDefaultOrder(); 49 } 50 51 public ExecutionPlanForBrowser getExecutionPlanForBrowser() throws com.daffodilwoods.database.resource.DException { 52 return iterator.getExecutionPlanForBrowser(); 53 } 54 55 public _ExecutionPlan getExecutionPlan() throws com.daffodilwoods.database.resource.DException { 56 return iterator.getExecutionPlan(); 57 } 58 59 public Object getColumnValues(_Reference[] parm1) throws com.daffodilwoods.database.resource.DException { 60 return iterator.getColumnValues(parm1); 61 } 62 63 public Object getColumnValues(_Reference parm1) throws com.daffodilwoods.database.resource.DException { 64 return iterator.getColumnValues(parm1); 65 } 66 67 public boolean seekFromTop(_IndexPredicate[] parm1) throws com.daffodilwoods.database.resource.DException { 68 return iterator.seekFromTop(parm1); 69 } 70 71 public boolean seekFromTopRelative(Object parm1) throws com.daffodilwoods.database.resource.DException { 72 return iterator.seekFromTopRelative(parm1); 73 } 74 75 public boolean seekFromBottom(_IndexPredicate[] parm1) throws com.daffodilwoods.database.resource.DException { 76 return iterator.seekFromBottom(parm1); 77 } 78 79 public boolean seekFromBottomRelative(Object parm1) throws com.daffodilwoods.database.resource.DException { 80 return iterator.seekFromBottomRelative(parm1); 81 } 82 83 public _KeyColumnInformation[] getKeyColumnInformations() throws com.daffodilwoods.database.resource.DException { 84 return iterator.getKeyColumnInformations(); 85 } 86 87 public Object [] getUniqueColumnReference() throws com.daffodilwoods.database.resource.DException { 88 return iterator.getUniqueColumnReference(); 89 } 90 91 public boolean seek(Object parm1) throws com.daffodilwoods.database.resource.DException { 92 return iterator.seek(parm1); 93 } 94 95 public boolean first() throws com.daffodilwoods.database.resource.DException { 96 return iterator.first(); 97 } 98 99 public boolean last() throws com.daffodilwoods.database.resource.DException { 100 return iterator.last(); 101 } 102 103 public boolean next() throws com.daffodilwoods.database.resource.DException { 104 return iterator.next(); 105 } 106 107 public boolean previous() throws com.daffodilwoods.database.resource.DException { 108 return iterator.previous(); 109 } 110 111 public Object getKey() throws com.daffodilwoods.database.resource.DException { 112 return iterator.getKey(); 113 } 114 115 public void move(Object parm1) throws com.daffodilwoods.database.resource.DException { 116 iterator.move(parm1); 117 } 118 119 public _Record getRecord() throws com.daffodilwoods.database.resource.DException { 120 return iterator.getRecord(); 121 } 122 123 public Object getColumnValues() throws com.daffodilwoods.database.resource.DException { 124 return iterator.getColumnValues(); 125 } 126 127 public Object getColumnValues(int[] parm1) throws com.daffodilwoods.database.resource.DException { 128 return iterator.getColumnValues(parm1); 129 } 130 131 public Object [][] getFunctionalColumnMapping() throws DException { 132 return iterator.getFunctionalColumnMapping(); 133 } 134 135 public _Iterator getBaseIteratorHasRecord(ColumnDetails hasRecordColumn) throws DException { 136 return iterator.getBaseIteratorHasRecord(hasRecordColumn); 137 } 138 139 public FieldBase field(_Reference reference) throws com.daffodilwoods.database.resource.DException { 140 return iterator.field(reference); 141 } 142 143 public FieldBase[] fields(_Reference[] references) throws com.daffodilwoods.database.resource.DException { 144 return iterator.fields(references); 145 } 146 147 public FieldBase[] fields(int[] columns) throws com.daffodilwoods.database.resource.DException { 148 return iterator.fields(columns); 149 } 150 151 public void releaseResource() throws DException { 152 iterator.releaseResource(); 153 } 154 155 public byte[] getByteKey() throws DException { 156 return iterator.getByteKey(); 157 } 158 159 public void moveByteKey(byte[] key) throws DException { 160 iterator.moveByteKey(key); 161 } 162 163 public void setSpecificUnderlyingReferences(_Reference[] specificUnderlyingReferences) throws DException{ 164 underlyingRef=specificUnderlyingReferences; 165 } 166 167 } 168 | Popular Tags |