CallableStatementWrapper.cs 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. using System;
  2. using java.sql;
  3. using java.util;
  4. namespace System.Data.Common
  5. {
  6. public class CallableStatementWrapper : ResultSet
  7. {
  8. #region Fields
  9. CallableStatement _callableStatement;
  10. #endregion // Fields
  11. #region Constructors
  12. public CallableStatementWrapper(CallableStatement callableStatement)
  13. {
  14. _callableStatement = callableStatement;
  15. }
  16. #endregion // constructors
  17. #region Methods
  18. public int getConcurrency() { throw new NotImplementedException(); }
  19. public int getFetchDirection() { throw new NotImplementedException(); }
  20. public int getFetchSize() { throw new NotImplementedException(); }
  21. public int getRow() { throw new NotImplementedException(); }
  22. public int getType() { throw new NotImplementedException(); }
  23. public void afterLast() { throw new NotImplementedException(); }
  24. public void beforeFirst() { throw new NotImplementedException(); }
  25. public void cancelRowUpdates() { throw new NotImplementedException(); }
  26. public void clearWarnings() { throw new NotImplementedException(); }
  27. public void close() { throw new NotImplementedException(); }
  28. public void deleteRow() { throw new NotImplementedException(); }
  29. public void insertRow() { throw new NotImplementedException(); }
  30. public void moveToCurrentRow() { throw new NotImplementedException(); }
  31. public void moveToInsertRow() { throw new NotImplementedException(); }
  32. public void refreshRow() { throw new NotImplementedException(); }
  33. public void updateRow() { throw new NotImplementedException(); }
  34. public bool first() { throw new NotImplementedException(); }
  35. public bool isAfterLast() { throw new NotImplementedException(); }
  36. public bool isBeforeFirst() { throw new NotImplementedException(); }
  37. public bool isFirst() { throw new NotImplementedException(); }
  38. public bool isLast() { throw new NotImplementedException(); }
  39. public bool last() { throw new NotImplementedException(); }
  40. public bool next() { throw new NotImplementedException(); }
  41. public bool previous() { throw new NotImplementedException(); }
  42. public bool rowDeleted() { throw new NotImplementedException(); }
  43. public bool rowInserted() { throw new NotImplementedException(); }
  44. public bool rowUpdated() { throw new NotImplementedException(); }
  45. public bool wasNull() { return _callableStatement.wasNull(); }
  46. public sbyte getByte(int i) { return _callableStatement.getByte(i); }
  47. public double getDouble(int i) { return _callableStatement.getDouble(i); }
  48. public float getFloat(int i) { return _callableStatement.getFloat(i); }
  49. public int getInt(int i) { return _callableStatement.getInt(i); }
  50. public long getLong(int i) { return _callableStatement.getLong(i); }
  51. public short getShort(int i) { return _callableStatement.getShort(i); }
  52. public void setFetchDirection(int i) { throw new NotImplementedException(); }
  53. public void setFetchSize(int i) { throw new NotImplementedException(); }
  54. public void updateNull(int i) { throw new NotImplementedException(); }
  55. public bool absolute(int i) { throw new NotImplementedException(); }
  56. public bool getBoolean(int i) { return _callableStatement.getBoolean(i); }
  57. public bool relative(int i) { throw new NotImplementedException(); }
  58. public sbyte[] getBytes(int i) { return _callableStatement.getBytes(i); }
  59. public void updateByte(int i, sbyte b) { throw new NotImplementedException(); }
  60. public void updateDouble(int i, double v) { throw new NotImplementedException(); }
  61. public void updateFloat(int i, float v) { throw new NotImplementedException(); }
  62. public void updateInt(int i, int i1) { throw new NotImplementedException(); }
  63. public void updateLong(int i, long l) { throw new NotImplementedException(); }
  64. public void updateShort(int i, short i1) { throw new NotImplementedException(); }
  65. public void updateBoolean(int i, bool b) { throw new NotImplementedException(); }
  66. public void updateBytes(int i, sbyte[] bytes) { throw new NotImplementedException(); }
  67. public java.io.InputStream getAsciiStream(int i) { throw new NotImplementedException(); }
  68. public java.io.InputStream getBinaryStream(int i) { throw new NotImplementedException(); }
  69. /**
  70. * @deprecated
  71. */
  72. public java.io.InputStream getUnicodeStream(int i) { throw new NotImplementedException(); }
  73. public void updateAsciiStream(int i, java.io.InputStream inputStream, int i1) { throw new NotImplementedException(); }
  74. public void updateBinaryStream(int i, java.io.InputStream inputStream, int i1) { throw new NotImplementedException(); }
  75. public java.io.Reader getCharacterStream(int i) { throw new NotImplementedException(); }
  76. public void updateCharacterStream(int i, java.io.Reader reader, int i1) { throw new NotImplementedException(); }
  77. public Object getObject(int i) { return _callableStatement.getObject(i); }
  78. public void updateObject(int i, Object o) { throw new NotImplementedException(); }
  79. public void updateObject(int i, Object o, int i1) { throw new NotImplementedException(); }
  80. public String getCursorName() { throw new NotImplementedException(); }
  81. public String getString(int i) { return _callableStatement.getString(i); }
  82. public void updateString(int i, String s) { throw new NotImplementedException(); }
  83. public sbyte getByte(String s) { return _callableStatement.getByte(s); }
  84. public double getDouble(String s) { return _callableStatement.getDouble(s); }
  85. public float getFloat(String s) { return _callableStatement.getFloat(s); }
  86. public int findColumn(String s) { throw new NotImplementedException(); }
  87. public int getInt(String s) { return _callableStatement.getInt(s); }
  88. public long getLong(String s) { return _callableStatement.getLong(s); }
  89. public short getShort(String s) { return _callableStatement.getShort(s); }
  90. public void updateNull(String s) { throw new NotImplementedException(); }
  91. public bool getBoolean(String s) { return _callableStatement.getBoolean(s); }
  92. public sbyte[] getBytes(String s) { return _callableStatement.getBytes(s); }
  93. public void updateByte(String s, sbyte b) { throw new NotImplementedException(); }
  94. public void updateDouble(String s, double v) { throw new NotImplementedException(); }
  95. public void updateFloat(String s, float v) { throw new NotImplementedException(); }
  96. public void updateInt(String s, int i) { throw new NotImplementedException(); }
  97. public void updateLong(String s, long l) { throw new NotImplementedException(); }
  98. public void updateShort(String s, short i) { throw new NotImplementedException(); }
  99. public void updateBoolean(String s, bool b) { throw new NotImplementedException(); }
  100. public void updateBytes(String s, sbyte[] bytes) { throw new NotImplementedException(); }
  101. public java.math.BigDecimal getBigDecimal(int i) { return _callableStatement.getBigDecimal(i); }
  102. /**
  103. * @deprecated
  104. */
  105. public java.math.BigDecimal getBigDecimal(int i, int i1) { throw new NotImplementedException(); }
  106. public void updateBigDecimal(int i, java.math.BigDecimal bigDecimal) { throw new NotImplementedException(); }
  107. public java.net.URL getURL(int i) { throw new NotImplementedException(); }
  108. public java.sql.Array getArray(int i) { return _callableStatement.getArray(i); }
  109. public void updateArray(int i, java.sql.Array array) { throw new NotImplementedException(); }
  110. public Blob getBlob(int i) { return _callableStatement.getBlob(i); }
  111. public void updateBlob(int i, Blob blob) { throw new NotImplementedException(); }
  112. public Clob getClob(int i) { return _callableStatement.getClob(i); }
  113. public void updateClob(int i, Clob clob) { throw new NotImplementedException(); }
  114. public java.sql.Date getDate(int i) { return _callableStatement.getDate(i); }
  115. public void updateDate(int i, java.sql.Date date) { throw new NotImplementedException(); }
  116. public Ref getRef(int i) { return _callableStatement.getRef(i); }
  117. public void updateRef(int i, Ref rf) { throw new NotImplementedException(); }
  118. public ResultSetMetaData getMetaData() { throw new NotImplementedException(); }
  119. public SQLWarning getWarnings() { throw new NotImplementedException(); }
  120. public Statement getStatement() { throw new NotImplementedException(); }
  121. public Time getTime(int i) { return _callableStatement.getTime(i); }
  122. public void updateTime(int i, Time time) { throw new NotImplementedException(); }
  123. public Timestamp getTimestamp(int i) { return _callableStatement.getTimestamp(i); }
  124. public void updateTimestamp(int i, Timestamp timestamp) { throw new NotImplementedException(); }
  125. public java.io.InputStream getAsciiStream(String s) { throw new NotImplementedException(); }
  126. public java.io.InputStream getBinaryStream(String s) { throw new NotImplementedException(); }
  127. /**
  128. * @deprecated
  129. */
  130. public java.io.InputStream getUnicodeStream(String s) { throw new NotImplementedException(); }
  131. public void updateAsciiStream(String s, java.io.InputStream inputStream, int i) { throw new NotImplementedException(); }
  132. public void updateBinaryStream(String s, java.io.InputStream inputStream, int i) { throw new NotImplementedException(); }
  133. public java.io.Reader getCharacterStream(String s) { throw new NotImplementedException(); }
  134. public void updateCharacterStream(String s, java.io.Reader reader, int i) { throw new NotImplementedException(); }
  135. public Object getObject(String s) { return _callableStatement.getObject(s); }
  136. public void updateObject(String s, Object o) { throw new NotImplementedException(); }
  137. public void updateObject(String s, Object o, int i) { throw new NotImplementedException(); }
  138. public Object getObject(int i, Map map) { throw new NotImplementedException(); }
  139. public String getString(String s) { return _callableStatement.getString(s); }
  140. public void updateString(String s, String s1) { throw new NotImplementedException(); }
  141. public java.math.BigDecimal getBigDecimal(String s) { return _callableStatement.getBigDecimal(s); }
  142. /**
  143. * @deprecated
  144. */
  145. public java.math.BigDecimal getBigDecimal(String s, int i) { throw new NotImplementedException(); }
  146. public void updateBigDecimal(String s, java.math.BigDecimal bigDecimal) { throw new NotImplementedException(); }
  147. public java.net.URL getURL(String s) { throw new NotImplementedException(); }
  148. public java.sql.Array getArray(String s) { return _callableStatement.getArray(s); }
  149. public void updateArray(String s, java.sql.Array array) { throw new NotImplementedException(); }
  150. public Blob getBlob(String s) { return _callableStatement.getBlob(s); }
  151. public void updateBlob(String s, Blob blob) { throw new NotImplementedException(); }
  152. public Clob getClob(String s) { return _callableStatement.getClob(s); }
  153. public void updateClob(String s, Clob clob) { throw new NotImplementedException(); }
  154. public java.sql.Date getDate(String s) { return _callableStatement.getDate(s); }
  155. public void updateDate(String s, java.sql.Date date) { throw new NotImplementedException(); }
  156. public java.sql.Date getDate(int i, Calendar calendar) { throw new NotImplementedException(); }
  157. public Ref getRef(String s) { return _callableStatement.getRef(s); }
  158. public void updateRef(String s, Ref rf) { throw new NotImplementedException(); }
  159. public Time getTime(String s) { return _callableStatement.getTime(s); }
  160. public void updateTime(String s, Time time) { throw new NotImplementedException(); }
  161. public Time getTime(int i, Calendar calendar) { throw new NotImplementedException(); }
  162. public Timestamp getTimestamp(String s) { return _callableStatement.getTimestamp(s); }
  163. public void updateTimestamp(String s, Timestamp timestamp) { throw new NotImplementedException(); }
  164. public Timestamp getTimestamp(int i, Calendar calendar) { throw new NotImplementedException(); }
  165. public Object getObject(String s, Map map) { throw new NotImplementedException(); }
  166. public java.sql.Date getDate(String s, Calendar calendar) { throw new NotImplementedException(); }
  167. public Time getTime(String s, Calendar calendar) { throw new NotImplementedException(); }
  168. public Timestamp getTimestamp(String s, Calendar calendar) { throw new NotImplementedException(); }
  169. #endregion // Methods
  170. }
  171. }