Class SQL_TIME_STRUCT

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class SQL_TIME_STRUCT
    extends Struct
    implements NativeResource

    Layout

    
     struct SQL_TIME_STRUCT {
         SQLUSMALLINT hour;
         SQLUSMALLINT minute;
         SQLUSMALLINT second;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • HOUR, MINUTE, SECOND

        The struct member offsets.
    • Constructor Detail

      • SQL_TIME_STRUCT

        public SQL_TIME_STRUCT​(java.nio.ByteBuffer container)
        Creates a SQL_TIME_STRUCT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.