Class HsqldbDaqNumericReader

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.marid.db.dao.DaqMXBean, org.marid.db.dao.DaqReader<java.lang.Double>, org.marid.db.dao.NumericReader

    public class HsqldbDaqNumericReader
    extends HsqldbDaqAbstractReader<java.lang.Double>
    implements org.marid.db.dao.NumericReader
    Author:
    Dmitry Ovchinnikov.
    • Constructor Summary

      Constructors 
      Constructor Description
      HsqldbDaqNumericReader​(javax.sql.DataSource dataSource, java.lang.String table)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getSqlTypeName()  
      protected java.lang.Double getValue​(java.sql.ResultSet resultSet, int index)  
      protected void setValue​(java.sql.PreparedStatement statement, int index, java.lang.Double value)  
      protected byte[] toByteArray​(@NotNull java.lang.Double value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.AutoCloseable

        close
      • Methods inherited from interface org.marid.db.dao.DaqMXBean

        getRecordCount
      • Methods inherited from interface org.marid.db.dao.DaqReader

        fetchRecord, fetchRecords, hash, tagCount, tags
    • Constructor Detail

      • HsqldbDaqNumericReader

        public HsqldbDaqNumericReader​(javax.sql.DataSource dataSource,
                                      java.lang.String table)
    • Method Detail

      • setValue

        protected void setValue​(java.sql.PreparedStatement statement,
                                int index,
                                java.lang.Double value)
                         throws java.sql.SQLException
        Specified by:
        setValue in class HsqldbDaqAbstractReader<java.lang.Double>
        Throws:
        java.sql.SQLException
      • getValue

        protected java.lang.Double getValue​(java.sql.ResultSet resultSet,
                                            int index)
                                     throws java.sql.SQLException
        Specified by:
        getValue in class HsqldbDaqAbstractReader<java.lang.Double>
        Throws:
        java.sql.SQLException