| Modifier and Type | Field and Description |
|---|---|
protected long |
boundBeforeExecutionNum |
java.util.Calendar |
calendar |
protected boolean |
escapeBytesIfNeeded |
protected boolean |
isLoadDataQuery
Is this query a LOAD DATA query?
|
protected boolean |
isNational |
protected boolean |
isNull
NULL indicator
|
protected boolean |
isSet
has this parameter been set?
|
protected boolean |
keepOrigNanos |
protected long |
scaleOrLength |
protected MysqlType |
targetType |
java.lang.Object |
value
The value to store
|
protected ValueEncoder |
valueEncoder |
| Modifier | Constructor and Description |
|---|---|
protected |
NativeQueryBindValue(NativeQueryBindValue copyMe) |
|
NativeQueryBindValue(Session sess) |
| Modifier and Type | Method and Description |
|---|---|
NativeQueryBindValue |
clone() |
boolean |
escapeBytesIfNeeded() |
long |
getBinaryLength()
Gets the length of this bind value in the binary protocol representation.
|
long |
getBoundBeforeExecutionNum() |
byte[] |
getByteValue() |
java.util.Calendar |
getCalendar() |
Field |
getField() |
int |
getFieldType() |
MysqlType |
getMysqlType() |
java.lang.String |
getName()
Gets the name of this query attribute.
|
long |
getScaleOrLength() |
java.lang.String |
getString()
Get a String representation of the value.
|
long |
getTextLength()
Gets the length of this bind value in the text protocol representation.
|
java.lang.Object |
getValue() |
boolean |
isNational() |
boolean |
isNull() |
boolean |
isSet() |
boolean |
isStream() |
boolean |
keepOrigNanos() |
void |
reset() |
void |
setBinding(java.lang.Object obj,
MysqlType type,
int numberOfExecutions,
java.util.concurrent.atomic.AtomicBoolean sendTypesToServer) |
void |
setCalendar(java.util.Calendar cal) |
void |
setEscapeBytesIfNeeded(boolean val) |
void |
setField(Field field) |
void |
setIsNational(boolean isNational) |
void |
setKeepOrigNanos(boolean value)
Should the value keep original fractional seconds ignoring sendFractionalSeconds and sendFractionalSecondsForTime?
|
void |
setMysqlType(MysqlType type) |
void |
setName(java.lang.String name) |
void |
setNull(boolean isNull) |
void |
setScaleOrLength(long scaleOrLength) |
void |
writeAsBinary(Message intoMessage) |
void |
writeAsQueryAttribute(Message intoMessage) |
void |
writeAsText(Message intoMessage) |
protected boolean isNull
protected boolean isNational
protected MysqlType targetType
public java.lang.Object value
protected boolean isSet
public java.util.Calendar calendar
protected boolean escapeBytesIfNeeded
protected boolean isLoadDataQuery
protected boolean keepOrigNanos
protected ValueEncoder valueEncoder
protected long scaleOrLength
protected long boundBeforeExecutionNum
public NativeQueryBindValue(Session sess)
protected NativeQueryBindValue(NativeQueryBindValue copyMe)
public NativeQueryBindValue clone()
public void setBinding(java.lang.Object obj,
MysqlType type,
int numberOfExecutions,
java.util.concurrent.atomic.AtomicBoolean sendTypesToServer)
setBinding in interface BindValuepublic byte[] getByteValue()
getByteValue in interface BindValuepublic boolean isNational()
isNational in interface BindValuepublic void setIsNational(boolean isNational)
setIsNational in interface BindValuepublic boolean keepOrigNanos()
keepOrigNanos in interface BindValuepublic void setKeepOrigNanos(boolean value)
BindValueIf the value is a part of key for UpdatableResultSet updater, it should keep original milliseconds.
setKeepOrigNanos in interface BindValuepublic MysqlType getMysqlType()
getMysqlType in interface BindValuepublic void setMysqlType(MysqlType type)
setMysqlType in interface BindValuepublic boolean escapeBytesIfNeeded()
escapeBytesIfNeeded in interface BindValuepublic void setEscapeBytesIfNeeded(boolean val)
setEscapeBytesIfNeeded in interface BindValuepublic java.util.Calendar getCalendar()
getCalendar in interface BindValuepublic void setCalendar(java.util.Calendar cal)
setCalendar in interface BindValuepublic int getFieldType()
getFieldType in interface BindValuepublic long getTextLength()
BindValuegetTextLength in interface BindValuepublic long getBinaryLength()
BindValuegetBinaryLength in interface BindValuepublic long getBoundBeforeExecutionNum()
getBoundBeforeExecutionNum in interface BindValuepublic java.lang.String getString()
BindValuepublic long getScaleOrLength()
getScaleOrLength in interface BindValuepublic void setScaleOrLength(long scaleOrLength)
setScaleOrLength in interface BindValuepublic java.lang.String getName()
BindValuepublic void writeAsText(Message intoMessage)
writeAsText in interface BindValuepublic void writeAsBinary(Message intoMessage)
writeAsBinary in interface BindValuepublic void writeAsQueryAttribute(Message intoMessage)
writeAsQueryAttribute in interface BindValue