Class BinaryRowDecoder


  • public class BinaryRowDecoder
    extends RowDecoder
    • Field Detail

      • nullBitmap

        private byte[] nullBitmap
    • Method Detail

      • decode

        public <T> T decode​(Codec<T> codec,
                            java.util.Calendar cal)
                     throws java.sql.SQLException
        Specified by:
        decode in class RowDecoder
        Throws:
        java.sql.SQLException
      • decodeByte

        public byte decodeByte()
                        throws java.sql.SQLException
        Specified by:
        decodeByte in class RowDecoder
        Throws:
        java.sql.SQLException
      • decodeBoolean

        public boolean decodeBoolean()
                              throws java.sql.SQLException
        Specified by:
        decodeBoolean in class RowDecoder
        Throws:
        java.sql.SQLException
      • decodeShort

        public short decodeShort()
                          throws java.sql.SQLException
        Specified by:
        decodeShort in class RowDecoder
        Throws:
        java.sql.SQLException
      • decodeInt

        public int decodeInt()
                      throws java.sql.SQLException
        Specified by:
        decodeInt in class RowDecoder
        Throws:
        java.sql.SQLException
      • decodeLong

        public long decodeLong()
                        throws java.sql.SQLException
        Specified by:
        decodeLong in class RowDecoder
        Throws:
        java.sql.SQLException
      • decodeFloat

        public float decodeFloat()
                          throws java.sql.SQLException
        Specified by:
        decodeFloat in class RowDecoder
        Throws:
        java.sql.SQLException
      • decodeDouble

        public double decodeDouble()
                            throws java.sql.SQLException
        Specified by:
        decodeDouble in class RowDecoder
        Throws:
        java.sql.SQLException
      • setRow

        public void setRow​(byte[] buf)
        Overrides:
        setRow in class RowDecoder
      • setPosition

        public void setPosition​(int newIndex)
        Set length and pos indicator to asked index.
        Specified by:
        setPosition in class RowDecoder
        Parameters:
        newIndex - index (0 is first).