Package com.mysql.cj
Class ClientPreparedQueryBindValue
java.lang.Object
com.mysql.cj.ClientPreparedQueryBindValue
- All Implemented Interfaces:
BindValue
- Direct Known Subclasses:
ServerPreparedQueryBindValue
public class ClientPreparedQueryBindValue extends java.lang.Object implements BindValue
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isNull
NULL indicatorprotected boolean
isSet
has this parameter been set?protected boolean
isStream
java.lang.Object
origValue
protected MysqlType
parameterType
protected long
streamLength
java.lang.Object
value
The value to store -
Constructor Summary
Constructors Modifier Constructor Description ClientPreparedQueryBindValue()
protected
ClientPreparedQueryBindValue(ClientPreparedQueryBindValue copyMe)
-
Method Summary
Modifier and Type Method Description ClientPreparedQueryBindValue
clone()
byte[]
getByteValue()
MysqlType
getMysqlType()
byte[]
getOrigByteValue()
long
getStreamLength()
java.io.InputStream
getStreamValue()
boolean
isNull()
boolean
isSet()
boolean
isStream()
void
reset()
void
setByteValue(byte[] parameterValue)
void
setIsStream(boolean isStream)
void
setMysqlType(MysqlType type)
void
setNull(boolean isNull)
void
setOrigByteValue(byte[] origParamValue)
void
setStreamValue(java.io.InputStream parameterStream, long streamLength)
-
Field Details
-
isNull
protected boolean isNullNULL indicator -
isStream
protected boolean isStream -
parameterType
-
value
public java.lang.Object valueThe value to store -
origValue
public java.lang.Object origValue -
streamLength
protected long streamLength -
isSet
protected boolean isSethas this parameter been set?
-
-
Constructor Details
-
ClientPreparedQueryBindValue
public ClientPreparedQueryBindValue() -
ClientPreparedQueryBindValue
-
-
Method Details
-
clone
-
reset
public void reset() -
isNull
public boolean isNull() -
setNull
public void setNull(boolean isNull) -
isStream
public boolean isStream() -
setIsStream
public void setIsStream(boolean isStream)- Specified by:
setIsStream
in interfaceBindValue
-
getMysqlType
- Specified by:
getMysqlType
in interfaceBindValue
-
setMysqlType
- Specified by:
setMysqlType
in interfaceBindValue
-
getByteValue
public byte[] getByteValue()- Specified by:
getByteValue
in interfaceBindValue
-
setByteValue
public void setByteValue(byte[] parameterValue)- Specified by:
setByteValue
in interfaceBindValue
-
setOrigByteValue
public void setOrigByteValue(byte[] origParamValue)- Specified by:
setOrigByteValue
in interfaceBindValue
-
getOrigByteValue
public byte[] getOrigByteValue()- Specified by:
getOrigByteValue
in interfaceBindValue
-
getStreamValue
public java.io.InputStream getStreamValue()- Specified by:
getStreamValue
in interfaceBindValue
-
setStreamValue
public void setStreamValue(java.io.InputStream parameterStream, long streamLength)- Specified by:
setStreamValue
in interfaceBindValue
-
getStreamLength
public long getStreamLength()- Specified by:
getStreamLength
in interfaceBindValue
-
isSet
public boolean isSet()
-