1 21 22 package org.apache.derby.impl.jdbc; 23 24 import org.apache.derby.iapi.sql.ResultSet; 25 26 import java.io.Reader ; 27 import java.sql.NClob ; 28 import java.sql.RowId ; 29 import java.sql.SQLException ; 30 import java.sql.SQLXML ; 31 import java.sql.Statement ; 32 33 import org.apache.derby.iapi.reference.SQLState; 34 35 43 public class EmbedResultSet40 extends org.apache.derby.impl.jdbc.EmbedResultSet20{ 44 45 46 public EmbedResultSet40(org.apache.derby.impl.jdbc.EmbedConnection conn, 47 ResultSet resultsToWrap, 48 boolean forMetaData, 49 org.apache.derby.impl.jdbc.EmbedStatement stmt, 50 boolean isAtomic) 51 throws SQLException { 52 53 super(conn, resultsToWrap, forMetaData, stmt, isAtomic); 54 } 55 56 public RowId getRowId(int columnIndex) throws SQLException { 57 throw Util.notImplemented(); 58 } 59 60 61 public RowId getRowId(String columnName) throws SQLException { 62 throw Util.notImplemented(); 63 } 64 65 public void updateNCharacterStream(int columnIndex, Reader x) 66 throws SQLException { 67 throw Util.notImplemented(); 68 } 69 70 public void updateNCharacterStream(int columnIndex, Reader x, long length) 71 throws SQLException { 72 throw Util.notImplemented(); 73 } 74 75 public void updateNCharacterStream(String columnName, Reader x) 76 throws SQLException { 77 throw Util.notImplemented(); 78 } 79 80 public void updateNCharacterStream(String columnName, Reader x, long length) 81 throws SQLException { 82 throw Util.notImplemented(); 83 } 84 85 public void updateNString(int columnIndex, String nString) throws SQLException { 86 throw Util.notImplemented(); 87 } 88 89 public void updateNString(String columnName, String nString) throws SQLException { 90 throw Util.notImplemented(); 91 } 92 93 public void updateNClob(int columnIndex, NClob nClob) throws SQLException { 94 throw Util.notImplemented(); 95 } 96 97 public void updateNClob(int columnIndex, Reader reader) 98 throws SQLException { 99 throw Util.notImplemented(); 100 } 101 102 public void updateNClob(String columnName, NClob nClob) throws SQLException { 103 throw Util.notImplemented(); 104 } 105 106 public void updateNClob(String columnName, Reader reader) 107 throws SQLException { 108 throw Util.notImplemented(); 109 } 110 111 public Reader getNCharacterStream(int columnIndex) throws SQLException { 112 throw Util.notImplemented(); 113 } 114 115 public Reader getNCharacterStream(String columnName) throws SQLException { 116 throw Util.notImplemented(); 117 } 118 119 public NClob getNClob(int i) throws SQLException { 120 throw Util.notImplemented(); 121 } 122 123 public NClob getNClob(String colName) throws SQLException { 124 throw Util.notImplemented(); 125 } 126 127 public String getNString(int columnIndex) throws SQLException { 128 throw Util.notImplemented(); 129 } 130 131 public String getNString(String columnName) throws SQLException { 132 throw Util.notImplemented(); 133 } 134 135 public void updateRowId(int columnIndex, RowId x) throws SQLException { 136 throw Util.notImplemented(); 137 } 138 139 public void updateRowId(String columnName, RowId x) throws SQLException { 140 throw Util.notImplemented(); 141 } 142 143 public SQLXML getSQLXML(int columnIndex) throws SQLException { 144 throw Util.notImplemented(); 145 } 146 147 public SQLXML getSQLXML(String colName) throws SQLException { 148 throw Util.notImplemented(); 149 } 150 151 public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException { 152 throw Util.notImplemented(); 153 } 154 155 public void updateSQLXML(String columnName, SQLXML xmlObject) throws SQLException { 156 throw Util.notImplemented(); 157 } 158 159 170 public boolean isWrapperFor(Class <?> interfaces) throws SQLException { 171 checkIfClosed("isWrapperFor"); 172 return interfaces.isInstance(this); 173 } 174 175 183 public <T> T unwrap(java.lang.Class <T> interfaces) 184 throws SQLException { 185 checkIfClosed("unwrap"); 186 try { 191 return interfaces.cast(this); 192 } catch (ClassCastException cce) { 193 throw newSQLException(SQLState.UNABLE_TO_UNWRAP,interfaces); 194 } 195 } 196 197 212 public void updateNClob(int columnIndex, Reader x, long length) 213 throws SQLException { 214 throw Util.notImplemented(); 215 } 216 217 232 public void updateNClob(String columnName, Reader x, long length) 233 throws SQLException { 234 throw Util.notImplemented(); 235 } 236 } 237 | Popular Tags |