public class ServerPreparedQueryBindValue extends ClientPreparedQueryBindValue implements BindValue
| Modifier and Type | Field and Description |
|---|---|
long |
boundBeforeExecutionNum |
int |
bufferType |
java.util.Calendar |
calendar |
protected java.lang.String |
charEncoding |
isNull, isSet, isStream, origValue, parameterType, streamLength, value| Constructor and Description |
|---|
ServerPreparedQueryBindValue(java.util.TimeZone defaultTimeZone,
java.util.TimeZone connectionTimeZone,
PropertySet pset) |
| Modifier and Type | Method and Description |
|---|---|
ServerPreparedQueryBindValue |
clone() |
long |
getBoundLength() |
byte[] |
getByteValue() |
void |
reset() |
boolean |
resetToType(int bufType,
long numberOfExecutions)
Reset a bind value to be used for a new value of the given type.
|
void |
storeBinding(NativePacketPayload intoPacket,
boolean isLoadDataQuery,
java.lang.String characterEncoding,
ExceptionInterceptor interceptor) |
java.lang.String |
toString() |
java.lang.String |
toString(boolean quoteIfNeeded) |
getMysqlType, getOrigByteValue, getStreamLength, getStreamValue, isNull, isSet, isStream, setByteValue, setIsStream, setMysqlType, setNull, setOrigByteValue, setStreamValueequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMysqlType, getOrigByteValue, getStreamLength, getStreamValue, isNull, isSet, isStream, setByteValue, setIsStream, setMysqlType, setNull, setOrigByteValue, setStreamValuepublic long boundBeforeExecutionNum
public int bufferType
public java.util.Calendar calendar
protected java.lang.String charEncoding
public ServerPreparedQueryBindValue(java.util.TimeZone defaultTimeZone,
java.util.TimeZone connectionTimeZone,
PropertySet pset)
public ServerPreparedQueryBindValue clone()
clone in interface BindValueclone in class ClientPreparedQueryBindValuepublic void reset()
reset in interface BindValuereset in class ClientPreparedQueryBindValuepublic boolean resetToType(int bufType,
long numberOfExecutions)
bufType - MysqlType.FIELD_TYPE_*numberOfExecutions - current number of PreparedQuery executionspublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(boolean quoteIfNeeded)
public long getBoundLength()
public void storeBinding(NativePacketPayload intoPacket, boolean isLoadDataQuery, java.lang.String characterEncoding, ExceptionInterceptor interceptor)
public byte[] getByteValue()
getByteValue in interface BindValuegetByteValue in class ClientPreparedQueryBindValue