Package org.mariadb.jdbc.codec
Class Parameter<T>
java.lang.Object
org.mariadb.jdbc.codec.Parameter<T>
- Direct Known Subclasses:
ParameterWithCal
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
encodeBinary
(PacketWriter encoder) byte[]
void
encodeLongData
(PacketWriter encoder) void
encodeText
(PacketWriter encoder, Context context) int
boolean
isNull()
-
Field Details
-
NULL_PARAMETER
-
codec
-
value
-
length
-
-
Constructor Details
-
Parameter
-
Parameter
-
-
Method Details
-
encodeText
- Throws:
IOException
SQLException
-
encodeBinary
- Throws:
IOException
SQLException
-
encodeLongData
- Throws:
IOException
SQLException
-
encodeData
- Throws:
IOException
SQLException
-
canEncodeLongData
public boolean canEncodeLongData() -
getBinaryEncodeType
public int getBinaryEncodeType() -
isNull
public boolean isNull()
-