Class SqlServerRecord<TEntity>

  • All Implemented Interfaces:
    com.microsoft.sqlserver.jdbc.ISQLServerBulkRecord, Serializable

    public class SqlServerRecord<TEntity>
    extends Object
    implements com.microsoft.sqlserver.jdbc.ISQLServerBulkRecord
    See Also:
    Serialized Form
    • Method Detail

      • addColumnMetadata

        public void addColumnMetadata​(int positionInSource,
                                      String name,
                                      int jdbcType,
                                      int precision,
                                      int scale,
                                      DateTimeFormatter dateTimeFormatter)
                               throws com.microsoft.sqlserver.jdbc.SQLServerException
        Specified by:
        addColumnMetadata in interface com.microsoft.sqlserver.jdbc.ISQLServerBulkRecord
        Throws:
        com.microsoft.sqlserver.jdbc.SQLServerException
      • addColumnMetadata

        public void addColumnMetadata​(int positionInSource,
                                      String name,
                                      int jdbcType,
                                      int precision,
                                      int scale)
                               throws com.microsoft.sqlserver.jdbc.SQLServerException
        Specified by:
        addColumnMetadata in interface com.microsoft.sqlserver.jdbc.ISQLServerBulkRecord
        Throws:
        com.microsoft.sqlserver.jdbc.SQLServerException
      • setTimestampWithTimezoneFormat

        public void setTimestampWithTimezoneFormat​(String s)
        Specified by:
        setTimestampWithTimezoneFormat in interface com.microsoft.sqlserver.jdbc.ISQLServerBulkRecord
      • setTimestampWithTimezoneFormat

        public void setTimestampWithTimezoneFormat​(DateTimeFormatter dateTimeFormatter)
        Specified by:
        setTimestampWithTimezoneFormat in interface com.microsoft.sqlserver.jdbc.ISQLServerBulkRecord
      • setTimeWithTimezoneFormat

        public void setTimeWithTimezoneFormat​(String s)
        Specified by:
        setTimeWithTimezoneFormat in interface com.microsoft.sqlserver.jdbc.ISQLServerBulkRecord
      • setTimeWithTimezoneFormat

        public void setTimeWithTimezoneFormat​(DateTimeFormatter dateTimeFormatter)
        Specified by:
        setTimeWithTimezoneFormat in interface com.microsoft.sqlserver.jdbc.ISQLServerBulkRecord
      • getColumnDateTimeFormatter

        public DateTimeFormatter getColumnDateTimeFormatter​(int i)
        Specified by:
        getColumnDateTimeFormatter in interface com.microsoft.sqlserver.jdbc.ISQLServerBulkRecord
      • getColumnOrdinals

        public Set<Integer> getColumnOrdinals()
        Specified by:
        getColumnOrdinals in interface com.microsoft.sqlserver.jdbc.ISQLServerBulkRecord
      • getColumnName

        public String getColumnName​(int i)
        Specified by:
        getColumnName in interface com.microsoft.sqlserver.jdbc.ISQLServerBulkRecord
      • getColumnType

        public int getColumnType​(int i)
        Specified by:
        getColumnType in interface com.microsoft.sqlserver.jdbc.ISQLServerBulkRecord
      • getPrecision

        public int getPrecision​(int i)
        Specified by:
        getPrecision in interface com.microsoft.sqlserver.jdbc.ISQLServerBulkRecord
      • getScale

        public int getScale​(int i)
        Specified by:
        getScale in interface com.microsoft.sqlserver.jdbc.ISQLServerBulkRecord
      • isAutoIncrement

        public boolean isAutoIncrement​(int i)
        Specified by:
        isAutoIncrement in interface com.microsoft.sqlserver.jdbc.ISQLServerBulkRecord
      • getRowData

        public Object[] getRowData()
                            throws com.microsoft.sqlserver.jdbc.SQLServerException
        Specified by:
        getRowData in interface com.microsoft.sqlserver.jdbc.ISQLServerBulkRecord
        Throws:
        com.microsoft.sqlserver.jdbc.SQLServerException
      • next

        public boolean next()
                     throws com.microsoft.sqlserver.jdbc.SQLServerException
        Specified by:
        next in interface com.microsoft.sqlserver.jdbc.ISQLServerBulkRecord
        Throws:
        com.microsoft.sqlserver.jdbc.SQLServerException