|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.expression.ParameterRemote
public class ParameterRemote
A client side (remote) parameter.
| Constructor Summary | |
|---|---|
ParameterRemote(int index)
|
|
| Method Summary | |
|---|---|
void |
checkSet()
Check if the value is set. |
int |
getNullable()
Check if this column is nullable. |
Value |
getParamValue()
Get the value of the parameter if set. |
long |
getPrecision()
Get the expected precision of this parameter. |
int |
getScale()
Get the expected scale of this parameter. |
int |
getType()
Get the expected data type of the parameter if no value is set, or the data type of the value if one is set. |
boolean |
isValueSet()
Is the value of a parameter set. |
void |
readMetaData(Transfer transfer)
Write the parameter meta data from the transfer object. |
void |
setValue(Value newValue,
boolean closeOld)
Set the value of the parameter. |
static void |
writeMetaData(Transfer transfer,
ParameterInterface p)
Write the parameter meta data to the transfer object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParameterRemote(int index)
| Method Detail |
|---|
public void setValue(Value newValue,
boolean closeOld)
ParameterInterface
setValue in interface ParameterInterfacenewValue - the new valuecloseOld - if the old value (if one is set) should be closedpublic Value getParamValue()
ParameterInterface
getParamValue in interface ParameterInterfacepublic void checkSet()
ParameterInterface
checkSet in interface ParameterInterfacepublic boolean isValueSet()
ParameterInterface
isValueSet in interface ParameterInterfacepublic int getType()
ParameterInterface
getType in interface ParameterInterfacepublic long getPrecision()
ParameterInterface
getPrecision in interface ParameterInterfacepublic int getScale()
ParameterInterface
getScale in interface ParameterInterfacepublic int getNullable()
ParameterInterface
getNullable in interface ParameterInterface
public void readMetaData(Transfer transfer)
throws java.io.IOException
transfer - the transfer object
java.io.IOException
public static void writeMetaData(Transfer transfer,
ParameterInterface p)
throws java.io.IOException
transfer - the transfer objectp - the parameter
java.io.IOException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||