Interface SFSqlInput

    • Method Detail

      • unwrap

        static SFSqlInput unwrap​(SQLInput sqlInput)
        Method unwrapping object of class SQLInput to object of class SfSqlInput.
        Parameters:
        sqlInput - SQLInput to consider.
        Returns:
        Object unwrapped to SFSqlInput class.
      • readTimestamp

        Timestamp readTimestamp​(TimeZone tz)
                         throws SQLException
        Reads the next attribute in the stream and returns it as a java.sql.Timestamp object.
        Parameters:
        tz - timezone to consider.
        Returns:
        the attribute; if the value is SQL NULL, returns null
        Throws:
        SQLException - if a database access error occurs
        SQLFeatureNotSupportedException - if the JDBC driver does not support this method
        Since:
        1.2