Class FBParameterMetaData

    • Constructor Detail

      • FBParameterMetaData

        protected FBParameterMetaData​(RowDescriptor rowDescriptor,
                                      FBConnection connection)
                               throws java.sql.SQLException
        Creates a new FBParameterMetaData instance.
        Parameters:
        rowDescriptor - a row descriptor
        connection - a FBConnection value
        Throws:
        java.sql.SQLException - if an error occurs
    • Method Detail

      • getParameterCount

        public int getParameterCount()
                              throws java.sql.SQLException
        Specified by:
        getParameterCount in interface java.sql.ParameterMetaData
        Throws:
        java.sql.SQLException
      • isNullable

        public int isNullable​(int parameter)
                       throws java.sql.SQLException
        Specified by:
        isNullable in interface java.sql.ParameterMetaData
        Throws:
        java.sql.SQLException
      • isSigned

        public boolean isSigned​(int parameter)
                         throws java.sql.SQLException
        Specified by:
        isSigned in interface java.sql.ParameterMetaData
        Throws:
        java.sql.SQLException
      • getPrecision

        public int getPrecision​(int parameter)
                         throws java.sql.SQLException

        NOTE For NUMERIC and DECIMAL the reported precision is the maximum precision allowed by the underlying storage data type, it is not the declared precision.

        Specified by:
        getPrecision in interface java.sql.ParameterMetaData
        Throws:
        java.sql.SQLException
      • getScale

        public int getScale​(int parameter)
                     throws java.sql.SQLException
        Specified by:
        getScale in interface java.sql.ParameterMetaData
        Throws:
        java.sql.SQLException
      • getParameterType

        public int getParameterType​(int parameter)
                             throws java.sql.SQLException
        Specified by:
        getParameterType in interface java.sql.ParameterMetaData
        Throws:
        java.sql.SQLException
      • getParameterTypeName

        public java.lang.String getParameterTypeName​(int parameter)
                                              throws java.sql.SQLException
        Specified by:
        getParameterTypeName in interface java.sql.ParameterMetaData
        Throws:
        java.sql.SQLException
      • getParameterClassName

        public java.lang.String getParameterClassName​(int parameter)
                                               throws java.sql.SQLException
        Specified by:
        getParameterClassName in interface java.sql.ParameterMetaData
        Throws:
        java.sql.SQLException
      • getParameterMode

        public int getParameterMode​(int parameter)
                             throws java.sql.SQLException
        Specified by:
        getParameterMode in interface java.sql.ParameterMetaData
        Throws:
        java.sql.SQLException