Package org.postgresql.core.v3
Interface V3ParameterList
- All Superinterfaces:
ParameterList
- All Known Implementing Classes:
CompositeParameterList
,SimpleParameterList
Common interface for all V3 parameter list implementations.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Ensure that all parameters in this list have been assigned values.void
Convert any function output parameters to the correct type (void) and set an ignorable value for it.byte[][]
Return the encoding for each parameter.byte[]
getFlags()
Return the flags for each parameter.int[]
Return the parameter type information.Return a list of the SimpleParameterList objects that make up this parameter list.Methods inherited from interface org.postgresql.core.ParameterList
appendAll, clear, copy, getInParameterCount, getOutParameterCount, getParameterCount, getTypeOIDs, getValues, registerOutParameter, setBinaryParameter, setBytea, setBytea, setBytea, setBytea, setIntParameter, setLiteralParameter, setNull, setStringParameter, setText, toString
-
Method Details
-
checkAllParametersSet
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.
-