Interface V3ParameterList

All Superinterfaces:
ParameterList
All Known Implementing Classes:
CompositeParameterList, SimpleParameterList

interface V3ParameterList extends ParameterList
Common interface for all V3 parameter list implementations.
  • Method Details

    • checkAllParametersSet

      void checkAllParametersSet() throws SQLException
      Ensure that all parameters in this list have been assigned values. Return silently if all is well, otherwise throw an appropriate exception.
      Throws:
      SQLException - if not all parameters are set.
    • convertFunctionOutParameters

      void convertFunctionOutParameters()
      Convert any function output parameters to the correct type (void) and set an ignorable value for it.
    • getSubparams

      SimpleParameterList[] getSubparams()
      Return a list of the SimpleParameterList objects that make up this parameter list. If this object is already a SimpleParameterList, returns null (avoids an extra array construction in the common case).
      Returns:
      an array of single-statement parameter lists, or null if this object is already a single-statement parameter list.
    • getParamTypes

      int[] getParamTypes()
      Return the parameter type information.
      Returns:
      an array of Oid type information
    • getFlags

      byte[] getFlags()
      Return the flags for each parameter.
      Returns:
      an array of bytes used to store flags.
    • getEncoding

      byte[][] getEncoding()
      Return the encoding for each parameter.
      Returns:
      nested byte array of bytes with encoding information.