Interface Parameter


  • public interface Parameter
    Parameter
    • Method Detail

      • encodeText

        void encodeText​(Writer encoder,
                        org.mariadb.jdbc.client.Context context)
                 throws IOException,
                        SQLException
        Encode parameter in text format
        Parameters:
        encoder - packet writer
        context - connection context
        Throws:
        IOException - if socket error occurs
        SQLException - if other kind of error occurs
      • canEncodeLongData

        boolean canEncodeLongData()
        Can parameter be encoded in binary long format
        Returns:
        can parameter be encoded in binary long format
      • getBinaryEncodeType

        int getBinaryEncodeType()
        return binary encoding type
        Returns:
        binary encoding type
      • isNull

        boolean isNull()
        is parameter null
        Returns:
        is null