Class SQL_NUMERIC_STRUCT

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

    public class SQL_NUMERIC_STRUCT
    extends Struct
    implements NativeResource

    Layout

    
     struct SQL_NUMERIC_STRUCT {
         SQLCHAR precision;
         SQLSCHAR scale;
         SQLCHAR sign;
         SQLCHAR val[16];
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • PRECISION, SCALE, SIGN, VAL

        The struct member offsets.
    • Constructor Detail

      • SQL_NUMERIC_STRUCT

        public SQL_NUMERIC_STRUCT​(java.nio.ByteBuffer container)
        Creates a SQL_NUMERIC_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.