Class ParameterMetaDataRelay

  • All Implemented Interfaces:
    Relay<java.sql.ParameterMetaData>, java.sql.ParameterMetaData, java.sql.Wrapper

    public class ParameterMetaDataRelay
    extends java.lang.Object
    implements Relay<java.sql.ParameterMetaData>, java.sql.ParameterMetaData
    • Field Summary

      Fields 
      Modifier and Type Field Description
      com.impossibl.jdbc.spy.ParameterMetaDataListener listener  
      java.sql.ParameterMetaData target  
      • Fields inherited from interface java.sql.ParameterMetaData

        parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown
    • Constructor Summary

      Constructors 
      Constructor Description
      ParameterMetaDataRelay​(java.sql.ParameterMetaData target, com.impossibl.jdbc.spy.ParameterMetaDataListener listener)  
    • Field Detail

      • target

        public java.sql.ParameterMetaData target
      • listener

        public com.impossibl.jdbc.spy.ParameterMetaDataListener listener
    • Constructor Detail

      • ParameterMetaDataRelay

        public ParameterMetaDataRelay​(java.sql.ParameterMetaData target,
                                      com.impossibl.jdbc.spy.ParameterMetaDataListener listener)
    • Method Detail

      • getTarget

        public java.sql.ParameterMetaData getTarget()
        Specified by:
        getTarget in interface Relay<java.sql.ParameterMetaData>
      • getPrecision

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

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

        public boolean isWrapperFor​(java.lang.Class<?> iface)
                             throws java.sql.SQLException
        Specified by:
        isWrapperFor in interface java.sql.Wrapper
        Throws:
        java.sql.SQLException
      • isNullable

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

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

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

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

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

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

        public <T> T unwrap​(java.lang.Class<T> iface)
                     throws java.sql.SQLException
        Specified by:
        unwrap in interface java.sql.Wrapper
        Throws:
        java.sql.SQLException
      • getScale

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