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 booleanisNullNULL indicatorprotected booleanisSethas this parameter been set?protected booleanisStreamjava.lang.ObjectorigValueprotected MysqlTypeparameterTypeprotected longstreamLengthjava.lang.ObjectvalueThe value to store -
Constructor Summary
Constructors Modifier Constructor Description ClientPreparedQueryBindValue()protectedClientPreparedQueryBindValue(ClientPreparedQueryBindValue copyMe) -
Method Summary
Modifier and Type Method Description ClientPreparedQueryBindValueclone()byte[]getByteValue()MysqlTypegetMysqlType()byte[]getOrigByteValue()longgetStreamLength()java.io.InputStreamgetStreamValue()booleanisNull()booleanisSet()booleanisStream()voidreset()voidsetByteValue(byte[] parameterValue)voidsetIsStream(boolean isStream)voidsetMysqlType(MysqlType type)voidsetNull(boolean isNull)voidsetOrigByteValue(byte[] origParamValue)voidsetStreamValue(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:
setIsStreamin interfaceBindValue
-
getMysqlType
- Specified by:
getMysqlTypein interfaceBindValue
-
setMysqlType
- Specified by:
setMysqlTypein interfaceBindValue
-
getByteValue
public byte[] getByteValue()- Specified by:
getByteValuein interfaceBindValue
-
setByteValue
public void setByteValue(byte[] parameterValue)- Specified by:
setByteValuein interfaceBindValue
-
setOrigByteValue
public void setOrigByteValue(byte[] origParamValue)- Specified by:
setOrigByteValuein interfaceBindValue
-
getOrigByteValue
public byte[] getOrigByteValue()- Specified by:
getOrigByteValuein interfaceBindValue
-
getStreamValue
public java.io.InputStream getStreamValue()- Specified by:
getStreamValuein interfaceBindValue
-
setStreamValue
public void setStreamValue(java.io.InputStream parameterStream, long streamLength)- Specified by:
setStreamValuein interfaceBindValue
-
getStreamLength
public long getStreamLength()- Specified by:
getStreamLengthin interfaceBindValue
-
isSet
public boolean isSet()
-