Package com.winvector.db

Examples of com.winvector.db.DBIterable


      pstmt.setBigDecimal(3,new BigDecimal(BigInteger.TEN));
      pstmt.setBigDecimal(4,new BigDecimal(new BigInteger("123"),2));
      pstmt.setDouble(5,1.7);
      pstmt.executeUpdate();
      pstmt.close();
      final DBIterable it = new DBIterable(stmt,"SELECT * FROM TESTTAB");
      long n = 0;
      for(final BurstMap row: it) {
        final long vIARG = row.getAsLong("IARG");
        final String vSARG = row.getAsString("SARG");
        final long vBIARG = row.getAsLong("BIARG");
View Full Code Here


      tableControl.createTable(dbhandle);
      final Date now = new Date();
      final long nInserted = tableControl.loadData(sourceName,now,new Random(),source, null, dbhandle);
      assertEquals(1,nInserted);
      final Statement stmt = dbhandle.conn.createStatement();
      final DBIterable it = new DBIterable(stmt,"SELECT * FROM TESTTABLE");
      long n = 0;
      for(final BurstMap row: it) {
        final double aV = row.getAsDouble("A");
        final long bV = row.getAsLong("B");
        final String cV = row.getAsString("C");
View Full Code Here

TOP

Related Classes of com.winvector.db.DBIterable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.