| Modifier and Type | Field and Description |
|---|---|
| private final int[] | |
| private final SimpleParameterList[] | |
| private final @Positive int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | appendAll(ParameterList
of parameters to append with. list)Implements org. Use this operation to append more parameters to the current list. |
| public void | checkAllParametersSet()
Implements org. Ensure that all parameters in this list have been assigned values. |
| public void | clear()
Implements org. Unbind all parameter values bound in this list. |
| public void | convertFunctionOutParameters()
Implements org. Convert any function output parameters to the correct type (void) and set an ignorable value for it. |
| public ParameterList | copy()
Implements org. Perform a shallow copy of this ParameterList, returning a new instance (still suitable for passing to the owning Query). |
| private int | |
| public int | |
| public @Nullable byte[][] | getEncoding()
Implements org. Return the encoding for each parameter. |
| public @Nullable byte[] | getFlags()
Implements org. Return the flags for each parameter. |
| public @NonNegative int | getInParameterCount()
Implements org. Get the number of IN parameters in this list. |
| public @NonNegative int | getOutParameterCount()
Implements org. Get the number of OUT parameters in this list. |
| public @NonNegative int | getParameterCount()
Implements org. Get the number of parameters in this list. |
| public @Nullable int[] | getParamTypes()
Implements org. Return the parameter type information. |
| public @Nullable SimpleParameterList[] | getSubparams()
Implements org. Return a list of the SimpleParameterList objects that make up this parameter list. |
| public int[] | getTypeOIDs()
Implements org. Return the oids of the parameters in this list. |
| public @Nullable @Nullable Object[] | getValues()
Implements org. Returns the bound parameter values. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String |
| offsets | back to summary |
|---|---|
| private final int[] offsets | |
| subparams | back to summary |
|---|---|
| private final SimpleParameterList[] subparams | |
| total | back to summary |
|---|---|
| private final @Positive int total | |
| CompositeParameterList | back to summary |
|---|---|
| pack-priv CompositeParameterList(SimpleParameterList[] subparams, int[] offsets) | |
| appendAll | back to summary |
|---|---|
| public void appendAll(ParameterList list) throws SQLException Implements org. Doc from org. Use this operation to append more parameters to the current list.
| |
| checkAllParametersSet | back to summary |
|---|---|
| public void checkAllParametersSet() throws SQLException Implements org. Doc from org. Ensure that all parameters in this list have been assigned values. Return silently if all is well, otherwise throw an appropriate exception.
| |
| clear | back to summary |
|---|---|
| public void clear() Implements org. Doc from org. Unbind all parameter values bound in this list.
| |
| convertFunctionOutParameters | back to summary |
|---|---|
| public void convertFunctionOutParameters() Implements org. Doc from org. Convert any function output parameters to the correct type (void) and set an ignorable value for it.
| |
| copy | back to summary |
|---|---|
| public ParameterList copy() Implements org. Doc from org. Perform a shallow copy of this ParameterList, returning a new instance (still suitable for passing to the owning Query). If this ParameterList is immutable, copy() may return the same immutable object.
| |
| findSubParam | back to summary |
|---|---|
| private int findSubParam(@Positive int index) throws SQLException | |
| getDirection | back to summary |
|---|---|
| public int getDirection(int i) | |
| getEncoding | back to summary |
|---|---|
| public @Nullable byte[][] getEncoding() Implements org. Doc from org. Return the encoding for each parameter. | |
| getFlags | back to summary |
|---|---|
| public @Nullable byte[] getFlags() Implements org. Doc from org. Return the flags for each parameter. | |
| getInParameterCount | back to summary |
|---|---|
| public @NonNegative int getInParameterCount() Implements org. Doc from org. Get the number of IN parameters in this list.
| |
| getOutParameterCount | back to summary |
|---|---|
| public @NonNegative int getOutParameterCount() Implements org. Doc from org. Get the number of OUT parameters in this list.
| |
| getParameterCount | back to summary |
|---|---|
| public @NonNegative int getParameterCount() Implements org. Doc from org. Get the number of parameters in this list. This value never changes for a particular instance, and might be zero.
| |
| getParamTypes | back to summary |
|---|---|
| public @Nullable int[] getParamTypes() Implements org. Doc from org. Return the parameter type information.
| |
| getSubparams | back to summary |
|---|---|
| public @Nullable SimpleParameterList[] getSubparams() Implements org. Doc from org. 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).
| |
| getTypeOIDs | back to summary |
|---|---|
| public int[] getTypeOIDs() Implements org. Doc from org. Return the oids of the parameters in this list. May be null for a ParameterList that does not support typing of parameters.
| |
| getValues | back to summary |
|---|---|
| public @Nullable @Nullable Object[] getValues() Implements org. Doc from org. Returns the bound parameter values. | |
| registerOutParameter | back to summary |
|---|---|
public void registerOutParameter(@Positive int index, int sqlType)
| |
| setBinaryParameter | back to summary |
|---|---|
public void setBinaryParameter(@Positive int index, byte[] value, int oid) throws SQLException
| |
| setBytea | back to summary |
|---|---|
public void setBytea(@Positive int index, byte[] data, int offset, @NonNegative int length) throws SQLException
| |
| setBytea | back to summary |
|---|---|
public void setBytea(@Positive int index, InputStream stream, @NonNegative int length) throws SQLException
| |
| setBytea | back to summary |
|---|---|
public void setBytea(@Positive int index, InputStream stream) throws SQLException
| |
| setBytea | back to summary |
|---|---|
public void setBytea(@Positive int index, ByteStreamWriter writer) throws SQLException
| |
| setIntParameter | back to summary |
|---|---|
public void setIntParameter(@Positive int index, int value) throws SQLException
| |
| setLiteralParameter | back to summary |
|---|---|
public void setLiteralParameter(@Positive int index, String value, int oid) throws SQLException
| |
| setNull | back to summary |
|---|---|
public void setNull(@Positive int index, int oid) throws SQLException
| |
| setStringParameter | back to summary |
|---|---|
public void setStringParameter(@Positive int index, String value, int oid) throws SQLException
| |
| setText | back to summary |
|---|---|
public void setText(@Positive int index, InputStream stream) throws SQLException
| |
| toString | back to summary |
|---|---|
public String toString(@Positive int index, boolean standardConformingStrings)
| |