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 defaultTZ,
java.util.TimeZone serverTZ,
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, setStreamValue
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMysqlType, getOrigByteValue, getStreamLength, getStreamValue, isNull, isSet, isStream, setByteValue, setIsStream, setMysqlType, setNull, setOrigByteValue, setStreamValue
public long boundBeforeExecutionNum
public int bufferType
public java.util.Calendar calendar
protected java.lang.String charEncoding
public ServerPreparedQueryBindValue(java.util.TimeZone defaultTZ, java.util.TimeZone serverTZ, PropertySet pset)
public ServerPreparedQueryBindValue clone()
clone
in interface BindValue
clone
in class ClientPreparedQueryBindValue
public void reset()
reset
in interface BindValue
reset
in class ClientPreparedQueryBindValue
public 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.Object
public 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 BindValue
getByteValue
in class ClientPreparedQueryBindValue