Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.03 KB | None | 0 0
  1. package eg.edu.alexu.csd.oop.jdbc;
  2. import eg.edu.alexu.csd.oop.db.Database;
  3.  
  4. import java.io.InputStream;
  5. import java.io.Reader;
  6. import java.math.BigDecimal;
  7. import java.net.URL;
  8. import java.sql.*;
  9. import java.util.ArrayList;
  10. import java.util.Calendar;
  11. import java.util.Map;
  12. public class implResultSet implements ResultSet {
  13. int cursor=-1;
  14. boolean close=false;
  15. Database dbms;
  16. Statement stmt;
  17. String noC[]=null;
  18. Object res[][]=null;
  19. logging log =new logging ();
  20. implResultSet(Object res[][] ,String noC[], Statement stmt){
  21. this.res=res;
  22. this.cursor=cursor;
  23. this.close=close;
  24. this.dbms=dbms;
  25. this.stmt = stmt;
  26. this.noC= noC;
  27.  
  28.  
  29. }
  30. @Override
  31. public boolean absolute(int row) throws SQLException {
  32. if (close==false) {
  33. this.cursor=row;
  34. if (row<0)
  35. {
  36. this.cursor=res.length+row;
  37.  
  38. }
  39. if (cursor<0 || cursor>res.length-1) {
  40. log.help().warning(" The Cursor Is Out Of Length Of The result Set");
  41. return false;
  42. }
  43. log.help().info("The Cursor Is In a True Position ");
  44. return true;}
  45. else
  46. {
  47. log.help().info("The Result Set is Closed!");
  48. throw new SQLException();
  49. }
  50. }
  51.  
  52. @Override
  53. public void afterLast() throws SQLException {
  54. if (close==false) {
  55. log.help().info(" The Cursor Is Positioned After The Last Row ");
  56. this.cursor = res.length;
  57. }else
  58. {
  59. log.help().info("The Result Set is Closed!");
  60. throw new SQLException();
  61. }
  62. }
  63. @Override
  64. public void beforeFirst() throws SQLException {
  65. if (close==false) {
  66. log.help().info(" The Cursor Is Positioned Before The First Row ");
  67. this.cursor = -1;
  68. }else
  69. {
  70. log.help().info("The Result Set is Closed!");
  71. throw new SQLException();
  72. }
  73. }
  74. @Override
  75. public int findColumn(String columnLabel) throws SQLException {
  76. if (close==false) {
  77. int i;
  78. for (i=0;i<noC.length;i++)
  79. {
  80. if (noC[i].contentEquals(columnLabel)) {
  81. log.help().info("The Index Of specific Column Is "+(i+1));
  82. break;
  83. }
  84. }
  85. if (i==noC.length) {
  86. log.help().info("The specific Column isn't in the result set");
  87. throw new SQLException();
  88. }else
  89. return i+1;
  90.  
  91. }else
  92. {
  93. log.help().info("The Result Set is Closed!");
  94. throw new SQLException();
  95. }
  96. }
  97.  
  98. @Override
  99. public boolean first() throws SQLException {
  100. if (close==false) {
  101. this.cursor = 0;
  102. if (res.length>0)
  103. {
  104. log.help().info("The Cursor is positioned at the first row");
  105. return true;
  106. }
  107. log.help().info("There are no rows in the result set");
  108. return false;
  109. }else
  110. {
  111. log.help().info("The Result Set is Closed!");
  112. throw new SQLException();
  113. }
  114. }
  115. @Override
  116. public int getInt(int columnIndex) throws SQLException {
  117. if (close==false) {
  118. int INT = (int) res[cursor][columnIndex-1];
  119. log.help().info("The integer value of the designated column in the current row is retrieved");
  120. return INT;
  121. }else
  122. {
  123. log.help().info("The Result Set is Closed!");
  124. throw new SQLException();
  125. }
  126. }
  127. @Override
  128. public int getInt(String columnLabel) throws SQLException {
  129. if (close==false) {
  130. int INT=0;
  131. for (int i=0;i<noC.length;i++)
  132. {
  133. if (noC[i].contentEquals(columnLabel)) {
  134. INT = (int) res[cursor][i];
  135. }
  136. }
  137. log.help().info("The integer value of the designated column in the current row is retrieved");
  138. return INT;
  139. }else
  140. {
  141. log.help().info("The Result Set is Closed!");
  142. throw new SQLException();
  143. }
  144. }
  145.  
  146. @Override
  147. public ResultSetMetaData getMetaData() throws SQLException {
  148. if (close==false) {
  149. ResultSetMetaData MetaData= new implResultSetMetaData(this.noC, this.res,this.log);
  150. log.help().info("The number, types and properties of this ResultSet are retrieved");
  151. return MetaData;
  152. }else
  153. {
  154. log.help().info("The Result Set is Closed!");
  155. throw new SQLException();
  156. }
  157. }
  158. @Override
  159. public Object getObject(int columnIndex) throws SQLException {
  160. if (close==false) {
  161. Object obj = res[cursor][columnIndex-1];
  162. log.help().info("The value of the designated column in the current row is retrieved");
  163. return obj;
  164. }else
  165. {
  166. log.help().info("The Result Set is Closed!");
  167. throw new SQLException();
  168. }
  169. }
  170. @Override
  171. public Statement getStatement() throws SQLException {
  172. if (close==false) {
  173. log.help().info("The Statement object that produced this ResultSet object is retrieved");
  174. return this.stmt;
  175.  
  176. }else
  177. {
  178. log.help().info("The Result Set is Closed!");
  179. throw new SQLException();
  180. }
  181. }
  182. @Override
  183. public String getString(int columnIndex) throws SQLException {
  184. if (close==false) {
  185. String Str = (String) res[cursor][columnIndex-1];
  186. log.help().info("The string value of the designated column in the current row is retrieved");
  187. return Str;
  188. }else
  189. {
  190. log.help().info("The Result Set is Closed!");
  191. throw new SQLException();
  192. }
  193. }
  194. @Override
  195. public String getString(String columnLabel) throws SQLException {
  196. if (close==false) {
  197. String Str = null;
  198. for (int i=0;i<noC.length;i++)
  199. {
  200. if (noC[i].contentEquals(columnLabel))
  201. Str= (String) res[cursor][i];
  202. }
  203. log.help().info("The string value of the designated column in the current row is retrieved");
  204. return Str;
  205. }else
  206. {
  207. log.help().info("The Result Set is Closed!");
  208. throw new SQLException();
  209. }
  210. }
  211. @Override
  212. public boolean isAfterLast() throws SQLException {
  213. if (close==false) {
  214. if (cursor==res.length) {
  215. log.help().info("The cursor is after last row");
  216. return true;
  217. }
  218. log.help().info("The cursor isn't after the last row");
  219. return false;
  220. }else
  221. {
  222. log.help().info("The Result Set is Closed!");
  223. throw new SQLException();
  224. }
  225. }
  226. @Override
  227. public boolean isBeforeFirst() throws SQLException {
  228. if (close==false) {
  229. if (cursor==-1) {
  230. log.help().info("The cursor is before first row");
  231. return true;
  232. }
  233. log.help().info("The cursor isn't before first row");
  234. return false;
  235. }else
  236. {
  237. log.help().info("The Result Set is Closed!");
  238. throw new SQLException();
  239. }
  240. }
  241. @Override
  242. public boolean isClosed() throws SQLException {
  243. if(close==true) {
  244. log.help().info("The ResultSet is closed!");
  245. return true;
  246. }
  247. log.help().info("The ResultSet isn't closed!");
  248. return false;
  249. }
  250. @Override
  251. public boolean isFirst() throws SQLException {
  252. if (close==false) {
  253. if (cursor==0) {
  254. log.help().info("The cursor is at the first row");
  255. return true;
  256. }
  257. log.help().info("The cursor isn't at the first row");
  258. return false;
  259. }else
  260. {
  261. log.help().info("The Result Set is Closed!");
  262. throw new SQLException();
  263. }
  264. }
  265. @Override
  266. public boolean isLast() throws SQLException {
  267. if (close==false) {
  268. if (cursor ==res.length-1 ) {
  269. log.help().info("The cursor is at the last row");
  270. return true;
  271. }
  272. log.help().info("The cursor isn't at the last row");
  273. return false;
  274. }else
  275. {
  276. log.help().info("The Result Set is Closed!");
  277. throw new SQLException();
  278. }
  279. }
  280. @Override
  281. public boolean last() throws SQLException {
  282. if (close==false) {
  283. cursor=res.length-1;
  284. if (res.length>0) {
  285. log.help().info("The cursor is positioned at the last row");
  286. return true;
  287. }
  288. log.help().info("There are no rows in the result set");
  289. return false;
  290. }else
  291. {
  292. log.help().info("The Result Set is Closed!");
  293. throw new SQLException();
  294. }
  295. }
  296.  
  297.  
  298. @Override
  299. public void close() throws SQLException {
  300. close=true;
  301. log.help().info("The result set is closed!");
  302. }
  303.  
  304. @Override
  305. public boolean next() throws SQLException {
  306. if (close==false) {
  307. cursor = cursor + 1 ;
  308. if (this.isAfterLast()) {
  309. log.help().info("There are no more rows in the result set");
  310. return false;
  311. }
  312. log.help().info("The cursor is moved to the next row");
  313. return true;
  314. }else
  315. {
  316. log.help().info("The Result Set is Closed!");
  317. throw new SQLException();
  318. }
  319. }
  320. @Override
  321. public boolean previous() throws SQLException {
  322. if (close==false) {
  323. cursor = cursor -1 ;
  324. if (this.isBeforeFirst()) {
  325. log.help().info("The cursor is positioned before the first row");
  326. return false;
  327. }
  328. log.help().info("The cursor is moved to the previous row");
  329. return true;
  330. }else
  331. {
  332. log.help().info("The Result Set is Closed!");
  333. throw new SQLException();
  334. }
  335. }
  336.  
  337.  
  338.  
  339.  
  340. /***************************************************************/
  341. @Override
  342. public boolean relative(int rows) throws SQLException {
  343. throw new UnsupportedOperationException();
  344. }
  345.  
  346. @Override
  347. public Reader getCharacterStream(int columnIndex) throws SQLException {
  348. throw new UnsupportedOperationException();
  349. }
  350.  
  351. @Override
  352. public Reader getCharacterStream(String columnLabel) throws SQLException {
  353. throw new UnsupportedOperationException();
  354. }
  355.  
  356. @Override
  357. public BigDecimal getBigDecimal(int columnIndex) throws SQLException {
  358. throw new UnsupportedOperationException();
  359. }
  360.  
  361. @Override
  362. public BigDecimal getBigDecimal(String columnLabel) throws SQLException {
  363. throw new UnsupportedOperationException();
  364. }
  365.  
  366. @Override
  367. public long getLong(int columnIndex) throws SQLException {
  368. throw new UnsupportedOperationException();
  369. }
  370.  
  371. @Override
  372. public float getFloat(int columnIndex) throws SQLException {
  373. throw new UnsupportedOperationException();
  374. }
  375.  
  376. @Override
  377. public double getDouble(int columnIndex) throws SQLException {
  378. throw new UnsupportedOperationException();
  379. }
  380.  
  381. @Override
  382. public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException {
  383. throw new UnsupportedOperationException();
  384. }
  385.  
  386. @Override
  387. public byte[] getBytes(int columnIndex) throws SQLException {
  388. throw new UnsupportedOperationException();
  389. }
  390.  
  391. @Override
  392. public Date getDate(int columnIndex) throws SQLException {
  393. throw new UnsupportedOperationException();
  394. }
  395.  
  396. @Override
  397. public Time getTime(int columnIndex) throws SQLException {
  398. throw new UnsupportedOperationException();
  399. }
  400.  
  401. @Override
  402. public Timestamp getTimestamp(int columnIndex) throws SQLException {
  403. throw new UnsupportedOperationException();
  404. }
  405.  
  406. @Override
  407. public InputStream getAsciiStream(int columnIndex) throws SQLException {
  408. throw new UnsupportedOperationException();
  409. }
  410.  
  411. @Override
  412. public InputStream getUnicodeStream(int columnIndex) throws SQLException {
  413. throw new UnsupportedOperationException();
  414. }
  415.  
  416. @Override
  417. public InputStream getBinaryStream(int columnIndex) throws SQLException {
  418. throw new UnsupportedOperationException();
  419. }
  420.  
  421. @Override
  422. public long getLong(String columnLabel) throws SQLException {
  423. throw new UnsupportedOperationException();
  424. }
  425.  
  426. @Override
  427. public float getFloat(String columnLabel) throws SQLException {
  428. throw new UnsupportedOperationException();
  429. }
  430.  
  431. @Override
  432. public double getDouble(String columnLabel) throws SQLException {
  433. throw new UnsupportedOperationException();
  434. }
  435.  
  436. @Override
  437. public BigDecimal getBigDecimal(String columnLabel, int scale) throws SQLException {
  438. throw new UnsupportedOperationException();
  439. }
  440.  
  441. @Override
  442. public byte[] getBytes(String columnLabel) throws SQLException {
  443. throw new UnsupportedOperationException();
  444. }
  445.  
  446. @Override
  447. public Date getDate(String columnLabel) throws SQLException {
  448. throw new UnsupportedOperationException();
  449. }
  450.  
  451. @Override
  452. public Time getTime(String columnLabel) throws SQLException {
  453. throw new UnsupportedOperationException();
  454. }
  455.  
  456. @Override
  457. public Timestamp getTimestamp(String columnLabel) throws SQLException {
  458. throw new UnsupportedOperationException();
  459. }
  460.  
  461. @Override
  462. public InputStream getAsciiStream(String columnLabel) throws SQLException {
  463. throw new UnsupportedOperationException();
  464. }
  465.  
  466. @Override
  467. public InputStream getUnicodeStream(String columnLabel) throws SQLException {
  468. throw new UnsupportedOperationException();
  469. }
  470.  
  471. @Override
  472. public InputStream getBinaryStream(String columnLabel) throws SQLException {
  473. throw new UnsupportedOperationException();
  474. }
  475.  
  476. @Override
  477. public SQLWarning getWarnings() throws SQLException {
  478. throw new UnsupportedOperationException();
  479. }
  480.  
  481. @Override
  482. public void clearWarnings() throws SQLException {
  483. throw new UnsupportedOperationException();
  484. }
  485.  
  486. @Override
  487. public String getCursorName() throws SQLException {
  488. throw new UnsupportedOperationException();
  489. }
  490.  
  491. @Override
  492. public Object getObject(String columnLabel) throws SQLException {
  493. throw new UnsupportedOperationException();
  494. }
  495.  
  496. @Override
  497. public Object getObject(int columnIndex, Map<String, Class<?>> map) throws SQLException {
  498. throw new UnsupportedOperationException();
  499. }
  500.  
  501. @Override
  502. public Ref getRef(int columnIndex) throws SQLException {
  503. throw new UnsupportedOperationException();
  504. }
  505.  
  506. @Override
  507. public Blob getBlob(int columnIndex) throws SQLException {
  508. throw new UnsupportedOperationException();
  509. }
  510.  
  511. @Override
  512. public Clob getClob(int columnIndex) throws SQLException {
  513. throw new UnsupportedOperationException();
  514. }
  515.  
  516. @Override
  517. public Array getArray(int columnIndex) throws SQLException {
  518. throw new UnsupportedOperationException();
  519. }
  520.  
  521. @Override
  522. public Object getObject(String columnLabel, Map<String, Class<?>> map) throws SQLException {
  523. throw new UnsupportedOperationException();
  524. }
  525.  
  526. @Override
  527. public Ref getRef(String columnLabel) throws SQLException {
  528. throw new UnsupportedOperationException();
  529. }
  530.  
  531. @Override
  532. public Blob getBlob(String columnLabel) throws SQLException {
  533. throw new UnsupportedOperationException();
  534. }
  535.  
  536. @Override
  537. public Clob getClob(String columnLabel) throws SQLException {
  538. throw new UnsupportedOperationException();
  539. }
  540.  
  541. @Override
  542. public Array getArray(String columnLabel) throws SQLException {
  543. throw new UnsupportedOperationException();
  544. }
  545.  
  546. @Override
  547. public Date getDate(int columnIndex, Calendar cal) throws SQLException {
  548. throw new UnsupportedOperationException();
  549. }
  550.  
  551. @Override
  552. public Date getDate(String columnLabel, Calendar cal) throws SQLException {
  553. throw new UnsupportedOperationException();
  554. }
  555.  
  556. @Override
  557. public Time getTime(int columnIndex, Calendar cal) throws SQLException {
  558. throw new UnsupportedOperationException();
  559. }
  560.  
  561. @Override
  562. public Time getTime(String columnLabel, Calendar cal) throws SQLException {
  563. throw new UnsupportedOperationException();
  564. }
  565.  
  566. @Override
  567. public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException {
  568. throw new UnsupportedOperationException();
  569. }
  570.  
  571. @Override
  572. public Timestamp getTimestamp(String columnLabel, Calendar cal) throws SQLException {
  573. throw new UnsupportedOperationException();
  574. }
  575.  
  576. @Override
  577. public URL getURL(int columnIndex) throws SQLException {
  578. throw new UnsupportedOperationException();
  579. }
  580.  
  581. @Override
  582. public URL getURL(String columnLabel) throws SQLException {
  583. throw new UnsupportedOperationException();
  584. }
  585.  
  586. @Override
  587. public void updateRef(int columnIndex, Ref x) throws SQLException {
  588. throw new UnsupportedOperationException();
  589. }
  590.  
  591. @Override
  592. public void updateRef(String columnLabel, Ref x) throws SQLException {
  593. throw new UnsupportedOperationException();
  594. }
  595.  
  596. @Override
  597. public void updateBlob(int columnIndex, Blob x) throws SQLException {
  598. throw new UnsupportedOperationException();
  599. }
  600.  
  601. @Override
  602. public void updateBlob(String columnLabel, Blob x) throws SQLException {
  603. throw new UnsupportedOperationException();
  604. }
  605.  
  606. @Override
  607. public void updateClob(int columnIndex, Clob x) throws SQLException {
  608. throw new UnsupportedOperationException();
  609. }
  610.  
  611. @Override
  612. public void updateClob(String columnLabel, Clob x) throws SQLException {
  613. throw new UnsupportedOperationException();
  614. }
  615.  
  616. @Override
  617. public void updateArray(int columnIndex, Array x) throws SQLException {
  618. throw new UnsupportedOperationException();
  619. }
  620.  
  621. @Override
  622. public void updateArray(String columnLabel, Array x) throws SQLException {
  623. throw new UnsupportedOperationException();
  624. }
  625.  
  626. @Override
  627. public RowId getRowId(int columnIndex) throws SQLException {
  628. throw new UnsupportedOperationException();
  629. }
  630.  
  631. @Override
  632. public RowId getRowId(String columnLabel) throws SQLException {
  633. throw new UnsupportedOperationException();
  634. }
  635.  
  636. @Override
  637. public void updateRowId(int columnIndex, RowId x) throws SQLException {
  638. throw new UnsupportedOperationException();
  639. }
  640.  
  641. @Override
  642. public void updateRowId(String columnLabel, RowId x) throws SQLException {
  643. throw new UnsupportedOperationException();
  644. }
  645.  
  646. @Override
  647. public int getHoldability() throws SQLException {
  648. throw new UnsupportedOperationException();
  649. }
  650.  
  651. @Override
  652. public boolean getBoolean(int columnIndex) throws SQLException {
  653. throw new UnsupportedOperationException();
  654. }
  655.  
  656. @Override
  657. public byte getByte(int columnIndex) throws SQLException {
  658. throw new UnsupportedOperationException();
  659. }
  660.  
  661. @Override
  662. public short getShort(int columnIndex) throws SQLException {
  663. throw new UnsupportedOperationException();
  664. }
  665.  
  666. @Override
  667. public boolean getBoolean(String columnLabel) throws SQLException {
  668. throw new UnsupportedOperationException();
  669. }
  670.  
  671. @Override
  672. public byte getByte(String columnLabel) throws SQLException {
  673. throw new UnsupportedOperationException();
  674. }
  675.  
  676. @Override
  677. public short getShort(String columnLabel) throws SQLException {
  678. throw new UnsupportedOperationException();
  679. }
  680. @Override
  681. public void updateNString(int columnIndex, String nString) throws SQLException {
  682. throw new UnsupportedOperationException();
  683. }
  684.  
  685. @Override
  686. public void updateNString(String columnLabel, String nString) throws SQLException {
  687. throw new UnsupportedOperationException();
  688. }
  689.  
  690. @Override
  691. public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
  692. throw new UnsupportedOperationException();
  693. }
  694.  
  695. @Override
  696. public void updateNClob(String columnLabel, NClob nClob) throws SQLException {
  697. throw new UnsupportedOperationException();
  698. }
  699.  
  700. @Override
  701. public NClob getNClob(int columnIndex) throws SQLException {
  702. throw new UnsupportedOperationException();
  703. }
  704.  
  705. @Override
  706. public NClob getNClob(String columnLabel) throws SQLException {
  707. throw new UnsupportedOperationException();
  708. }
  709.  
  710. @Override
  711. public SQLXML getSQLXML(int columnIndex) throws SQLException {
  712. throw new UnsupportedOperationException();
  713. }
  714.  
  715. @Override
  716. public SQLXML getSQLXML(String columnLabel) throws SQLException {
  717. throw new UnsupportedOperationException();
  718. }
  719.  
  720. @Override
  721. public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException {
  722. throw new UnsupportedOperationException();
  723. }
  724.  
  725. @Override
  726. public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException {
  727. throw new UnsupportedOperationException();
  728. }
  729.  
  730. @Override
  731. public String getNString(int columnIndex) throws SQLException {
  732. throw new UnsupportedOperationException();
  733. }
  734.  
  735. @Override
  736. public String getNString(String columnLabel) throws SQLException {
  737. throw new UnsupportedOperationException();
  738. }
  739.  
  740. @Override
  741. public Reader getNCharacterStream(int columnIndex) throws SQLException {
  742. throw new UnsupportedOperationException();
  743. }
  744.  
  745. @Override
  746. public Reader getNCharacterStream(String columnLabel) throws SQLException {
  747. throw new UnsupportedOperationException();
  748. }
  749.  
  750. @Override
  751. public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
  752. throw new UnsupportedOperationException();
  753. }
  754.  
  755. @Override
  756. public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {
  757. throw new UnsupportedOperationException();
  758. }
  759.  
  760. @Override
  761. public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException {
  762. throw new UnsupportedOperationException();
  763. }
  764.  
  765. @Override
  766. public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException {
  767. throw new UnsupportedOperationException();
  768. }
  769.  
  770. @Override
  771. public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
  772. throw new UnsupportedOperationException();
  773. }
  774.  
  775. @Override
  776. public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException {
  777. throw new UnsupportedOperationException();
  778. }
  779.  
  780. @Override
  781. public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException {
  782. throw new UnsupportedOperationException();
  783. }
  784.  
  785. @Override
  786. public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {
  787. throw new UnsupportedOperationException();
  788. }
  789.  
  790. @Override
  791. public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException {
  792. throw new UnsupportedOperationException();
  793. }
  794.  
  795. @Override
  796. public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException {
  797. throw new UnsupportedOperationException();
  798. }
  799.  
  800. @Override
  801. public void updateClob(int columnIndex, Reader reader, long length) throws SQLException {
  802. throw new UnsupportedOperationException();
  803. }
  804.  
  805. @Override
  806. public void updateClob(String columnLabel, Reader reader, long length) throws SQLException {
  807. throw new UnsupportedOperationException();
  808. }
  809.  
  810. @Override
  811. public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException {
  812. throw new UnsupportedOperationException();
  813. }
  814.  
  815. @Override
  816. public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException {
  817. throw new UnsupportedOperationException();
  818. }
  819.  
  820. @Override
  821. public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException {
  822. throw new UnsupportedOperationException();
  823. }
  824.  
  825. @Override
  826. public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException {
  827. throw new UnsupportedOperationException();
  828. }
  829.  
  830. @Override
  831. public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException {
  832. throw new UnsupportedOperationException();
  833. }
  834.  
  835. @Override
  836. public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException {
  837. throw new UnsupportedOperationException();
  838. }
  839.  
  840. @Override
  841. public void updateCharacterStream(int columnIndex, Reader x) throws SQLException {
  842. throw new UnsupportedOperationException();
  843. }
  844.  
  845. @Override
  846. public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException {
  847. throw new UnsupportedOperationException();
  848. }
  849.  
  850. @Override
  851. public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException {
  852. throw new UnsupportedOperationException();
  853. }
  854.  
  855. @Override
  856. public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException {
  857. throw new UnsupportedOperationException();
  858. }
  859.  
  860. @Override
  861. public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException {
  862. throw new UnsupportedOperationException();
  863. }
  864.  
  865. @Override
  866. public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException {
  867. throw new UnsupportedOperationException();
  868. }
  869.  
  870. @Override
  871. public void updateClob(int columnIndex, Reader reader) throws SQLException {
  872. throw new UnsupportedOperationException();
  873. }
  874.  
  875. @Override
  876. public void updateClob(String columnLabel, Reader reader) throws SQLException {
  877. throw new UnsupportedOperationException();
  878. }
  879.  
  880. @Override
  881. public void updateNClob(int columnIndex, Reader reader) throws SQLException {
  882. throw new UnsupportedOperationException();
  883. }
  884.  
  885. @Override
  886. public void updateNClob(String columnLabel, Reader reader) throws SQLException {
  887. throw new UnsupportedOperationException();
  888. }
  889.  
  890. @Override
  891. public <T> T getObject(int columnIndex, Class<T> type) throws SQLException {
  892. throw new UnsupportedOperationException();
  893. }
  894.  
  895. @Override
  896. public <T> T getObject(String columnLabel, Class<T> type) throws SQLException {
  897. throw new UnsupportedOperationException();
  898. }
  899.  
  900. @Override
  901. public boolean wasNull() throws SQLException {
  902. throw new UnsupportedOperationException();
  903. }
  904. @Override
  905. public int getRow() throws SQLException {
  906. throw new UnsupportedOperationException();
  907. }
  908.  
  909.  
  910. @Override
  911. public void setFetchDirection(int direction) throws SQLException {
  912. throw new UnsupportedOperationException();
  913. }
  914.  
  915. @Override
  916. public int getFetchDirection() throws SQLException {
  917. throw new UnsupportedOperationException();
  918. }
  919.  
  920. @Override
  921. public void setFetchSize(int rows) throws SQLException {
  922. throw new UnsupportedOperationException();
  923. }
  924.  
  925. @Override
  926. public int getFetchSize() throws SQLException {
  927. throw new UnsupportedOperationException();
  928. }
  929.  
  930. @Override
  931. public int getType() throws SQLException {
  932. throw new UnsupportedOperationException();
  933. }
  934.  
  935. @Override
  936. public int getConcurrency() throws SQLException {
  937. throw new UnsupportedOperationException();
  938. }
  939.  
  940. @Override
  941. public boolean rowUpdated() throws SQLException {
  942. throw new UnsupportedOperationException();
  943. }
  944.  
  945. @Override
  946. public boolean rowInserted() throws SQLException {
  947. throw new UnsupportedOperationException();
  948. }
  949.  
  950. @Override
  951. public boolean rowDeleted() throws SQLException {
  952. throw new UnsupportedOperationException();
  953. }
  954.  
  955. @Override
  956. public void updateNull(int columnIndex) throws SQLException {
  957. throw new UnsupportedOperationException();
  958. }
  959.  
  960. @Override
  961. public void updateBoolean(int columnIndex, boolean x) throws SQLException {
  962. throw new UnsupportedOperationException();
  963. }
  964.  
  965. @Override
  966. public void updateByte(int columnIndex, byte x) throws SQLException {
  967. throw new UnsupportedOperationException();
  968. }
  969.  
  970. @Override
  971. public void updateShort(int columnIndex, short x) throws SQLException {
  972. throw new UnsupportedOperationException();
  973. }
  974.  
  975. @Override
  976. public void updateInt(int columnIndex, int x) throws SQLException {
  977. throw new UnsupportedOperationException();
  978. }
  979.  
  980. @Override
  981. public void updateLong(int columnIndex, long x) throws SQLException {
  982. throw new UnsupportedOperationException();
  983. }
  984.  
  985. @Override
  986. public void updateFloat(int columnIndex, float x) throws SQLException {
  987. throw new UnsupportedOperationException();
  988. }
  989.  
  990. @Override
  991. public void updateDouble(int columnIndex, double x) throws SQLException {
  992. throw new UnsupportedOperationException();
  993. }
  994.  
  995. @Override
  996. public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException {
  997. throw new UnsupportedOperationException();
  998. }
  999.  
  1000. @Override
  1001. public void updateString(int columnIndex, String x) throws SQLException {
  1002. throw new UnsupportedOperationException();
  1003. }
  1004.  
  1005. @Override
  1006. public void updateBytes(int columnIndex, byte[] x) throws SQLException {
  1007. throw new UnsupportedOperationException();
  1008. }
  1009.  
  1010. @Override
  1011. public void updateDate(int columnIndex, Date x) throws SQLException {
  1012. throw new UnsupportedOperationException();
  1013. }
  1014.  
  1015. @Override
  1016. public void updateTime(int columnIndex, Time x) throws SQLException {
  1017. throw new UnsupportedOperationException();
  1018. }
  1019.  
  1020. @Override
  1021. public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException {
  1022. throw new UnsupportedOperationException();
  1023. }
  1024.  
  1025. @Override
  1026. public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException {
  1027. throw new UnsupportedOperationException();
  1028. }
  1029.  
  1030. @Override
  1031. public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException {
  1032. throw new UnsupportedOperationException();
  1033. }
  1034.  
  1035. @Override
  1036. public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException {
  1037. throw new UnsupportedOperationException();
  1038. }
  1039.  
  1040. @Override
  1041. public void updateObject(int columnIndex, Object x, int scaleOrLength) throws SQLException {
  1042. throw new UnsupportedOperationException();
  1043. }
  1044.  
  1045. @Override
  1046. public void updateObject(int columnIndex, Object x) throws SQLException {
  1047. throw new UnsupportedOperationException();
  1048. }
  1049.  
  1050. @Override
  1051. public void updateNull(String columnLabel) throws SQLException {
  1052. throw new UnsupportedOperationException();
  1053. }
  1054.  
  1055. @Override
  1056. public void updateBoolean(String columnLabel, boolean x) throws SQLException {
  1057. throw new UnsupportedOperationException();
  1058. }
  1059.  
  1060. @Override
  1061. public void updateByte(String columnLabel, byte x) throws SQLException {
  1062. throw new UnsupportedOperationException();
  1063. }
  1064.  
  1065. @Override
  1066. public void updateShort(String columnLabel, short x) throws SQLException {
  1067. throw new UnsupportedOperationException();
  1068. }
  1069.  
  1070. @Override
  1071. public void updateInt(String columnLabel, int x) throws SQLException {
  1072. throw new UnsupportedOperationException();
  1073. }
  1074.  
  1075. @Override
  1076. public void updateLong(String columnLabel, long x) throws SQLException {
  1077. throw new UnsupportedOperationException();
  1078. }
  1079.  
  1080. @Override
  1081. public void updateFloat(String columnLabel, float x) throws SQLException {
  1082. throw new UnsupportedOperationException();
  1083. }
  1084.  
  1085. @Override
  1086. public void updateDouble(String columnLabel, double x) throws SQLException {
  1087. throw new UnsupportedOperationException();
  1088. }
  1089.  
  1090. @Override
  1091. public void updateBigDecimal(String columnLabel, BigDecimal x) throws SQLException {
  1092. throw new UnsupportedOperationException();
  1093. }
  1094.  
  1095. @Override
  1096. public void updateString(String columnLabel, String x) throws SQLException {
  1097. throw new UnsupportedOperationException();
  1098. }
  1099.  
  1100. @Override
  1101. public void updateBytes(String columnLabel, byte[] x) throws SQLException {
  1102. throw new UnsupportedOperationException();
  1103. }
  1104.  
  1105. @Override
  1106. public void updateDate(String columnLabel, Date x) throws SQLException {
  1107. throw new UnsupportedOperationException();
  1108. }
  1109.  
  1110. @Override
  1111. public void updateTime(String columnLabel, Time x) throws SQLException {
  1112. throw new UnsupportedOperationException();
  1113. }
  1114.  
  1115. @Override
  1116. public void updateTimestamp(String columnLabel, Timestamp x) throws SQLException {
  1117. throw new UnsupportedOperationException();
  1118. }
  1119.  
  1120. @Override
  1121. public void updateAsciiStream(String columnLabel, InputStream x, int length) throws SQLException {
  1122. throw new UnsupportedOperationException();
  1123. }
  1124.  
  1125. @Override
  1126. public void updateBinaryStream(String columnLabel, InputStream x, int length) throws SQLException {
  1127. throw new UnsupportedOperationException();
  1128. }
  1129.  
  1130. @Override
  1131. public void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException {
  1132. throw new UnsupportedOperationException();
  1133. }
  1134.  
  1135. @Override
  1136. public void updateObject(String columnLabel, Object x, int scaleOrLength) throws SQLException {
  1137. throw new UnsupportedOperationException();
  1138. }
  1139.  
  1140. @Override
  1141. public void updateObject(String columnLabel, Object x) throws SQLException {
  1142. throw new UnsupportedOperationException();
  1143. }
  1144.  
  1145. @Override
  1146. public void insertRow() throws SQLException {
  1147. throw new UnsupportedOperationException();
  1148. }
  1149.  
  1150. @Override
  1151. public void updateRow() throws SQLException {
  1152. throw new UnsupportedOperationException();
  1153. }
  1154.  
  1155. @Override
  1156. public void deleteRow() throws SQLException {
  1157. throw new UnsupportedOperationException();
  1158. }
  1159.  
  1160. @Override
  1161. public void refreshRow() throws SQLException {
  1162. throw new UnsupportedOperationException();
  1163. }
  1164.  
  1165. @Override
  1166. public void cancelRowUpdates() throws SQLException {
  1167. throw new UnsupportedOperationException();
  1168. }
  1169.  
  1170. @Override
  1171. public void moveToInsertRow() throws SQLException {
  1172. throw new UnsupportedOperationException();
  1173. }
  1174.  
  1175. @Override
  1176. public void moveToCurrentRow() throws SQLException {
  1177. throw new UnsupportedOperationException();
  1178. }
  1179.  
  1180. @Override
  1181. public <T> T unwrap(Class<T> iface) throws SQLException {
  1182. throw new UnsupportedOperationException();
  1183. }
  1184.  
  1185. @Override
  1186. public boolean isWrapperFor(Class<?> iface) throws SQLException {
  1187. throw new UnsupportedOperationException();
  1188. }
  1189. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement