| Package | Description |
|---|---|
| com.mysql.cj.jdbc.result | |
| com.mysql.cj.protocol | |
| com.mysql.cj.protocol.a | |
| com.mysql.cj.protocol.a.result | |
| com.mysql.cj.protocol.result | |
| com.mysql.cj.protocol.x | |
| com.mysql.cj.result | |
| com.mysql.cj.xdevapi |
Java classes for X DevAPI support.
|
| Modifier and Type | Field and Description |
|---|---|
private ValueFactory<java.math.BigDecimal> |
ResultSetImpl.bigDecimalValueFactory |
private ValueFactory<java.io.InputStream> |
ResultSetImpl.binaryStreamValueFactory |
private ValueFactory<java.lang.Boolean> |
ResultSetImpl.booleanValueFactory |
private ValueFactory<java.lang.Byte> |
ResultSetImpl.byteValueFactory |
private ValueFactory<java.time.LocalDateTime> |
ResultSetImpl.defaultLocalDateTimeValueFactory |
private ValueFactory<java.time.LocalDate> |
ResultSetImpl.defaultLocalDateValueFactory |
private ValueFactory<java.time.LocalTime> |
ResultSetImpl.defaultLocalTimeValueFactory |
private ValueFactory<java.time.OffsetDateTime> |
ResultSetImpl.defaultOffsetDateTimeValueFactory |
private ValueFactory<java.time.OffsetTime> |
ResultSetImpl.defaultOffsetTimeValueFactory |
private ValueFactory<java.sql.Timestamp> |
ResultSetImpl.defaultTimestampValueFactory |
private ValueFactory<java.sql.Time> |
ResultSetImpl.defaultTimeValueFactory |
private ValueFactory<java.util.Calendar> |
ResultSetImpl.defaultUtilCalendarValueFactory |
private ValueFactory<java.time.ZonedDateTime> |
ResultSetImpl.defaultZonedDateTimeValueFactory |
private ValueFactory<java.lang.Double> |
ResultSetImpl.doubleValueFactory |
private ValueFactory<java.lang.Float> |
ResultSetImpl.floatValueFactory |
private ValueFactory<java.lang.Integer> |
ResultSetImpl.integerValueFactory |
private ValueFactory<java.lang.Long> |
ResultSetImpl.longValueFactory |
private ValueFactory<java.lang.Short> |
ResultSetImpl.shortValueFactory |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ValueDecoder.decodeBit(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeByteArray(byte[] bytes,
int offset,
int length,
Field f,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeDate(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeDatetime(byte[] bytes,
int offset,
int length,
int scale,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeDecimal(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeDouble(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeFloat(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeInt1(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeInt2(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeInt4(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeInt8(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeSet(byte[] bytes,
int offset,
int length,
Field f,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeTime(byte[] bytes,
int offset,
int length,
int scale,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeTimestamp(byte[] bytes,
int offset,
int length,
int scale,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeUInt1(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeUInt2(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeUInt4(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeUInt8(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeYear(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
MysqlTextValueDecoder.decodeBit(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeBit(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeByteArray(byte[] bytes,
int offset,
int length,
Field f,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeByteArray(byte[] bytes,
int offset,
int length,
Field f,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeDate(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeDate(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeDatetime(byte[] bytes,
int offset,
int length,
int scale,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeDatetime(byte[] bytes,
int offset,
int length,
int scale,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeDecimal(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeDecimal(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeDouble(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeDouble(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeFloat(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeFloat(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeInt1(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeInt1(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeInt2(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeInt2(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeInt4(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeInt4(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeInt8(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeInt8(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeSet(byte[] bytes,
int offset,
int length,
Field f,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeSet(byte[] bytes,
int offset,
int length,
Field f,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeTime(byte[] bytes,
int offset,
int length,
int scale,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeTime(byte[] bytes,
int offset,
int length,
int scale,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeTimestamp(byte[] bytes,
int offset,
int length,
int scale,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeTimestamp(byte[] bytes,
int offset,
int length,
int scale,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeUInt1(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeUInt1(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeUInt2(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeUInt2(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeUInt4(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeUInt4(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeUInt8(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeUInt8(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlTextValueDecoder.decodeYear(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
MysqlBinaryValueDecoder.decodeYear(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ByteArrayRow.getValue(int columnIndex,
ValueFactory<T> vf)
Implementation of getValue() based on the underlying byte array.
|
<T> T |
BinaryBufferRow.getValue(int columnIndex,
ValueFactory<T> vf)
Implementation of getValue() based on the underlying Buffer object.
|
<T> T |
TextBufferRow.getValue(int columnIndex,
ValueFactory<T> vf)
Implementation of getValue() based on the underlying Buffer object.
|
| Modifier and Type | Method and Description |
|---|---|
private <T> T |
AbstractResultsetRow.decodeAndCreateReturnValue(int columnIndex,
byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
Decode the wire-level result bytes and call the value factory.
|
protected <T> T |
AbstractResultsetRow.getValueFromBytes(int columnIndex,
byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
Get a value from a byte array.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
XProtocolDecoder.decodeBit(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeByteArray(byte[] bytes,
int offset,
int length,
Field f,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeDate(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeDatetime(byte[] bytes,
int offset,
int length,
int scale,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeDecimal(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeDouble(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeFloat(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeInt1(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeInt2(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeInt4(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeInt8(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeSet(byte[] bytes,
int offset,
int length,
Field f,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeTime(byte[] bytes,
int offset,
int length,
int scale,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeTimestamp(byte[] bytes,
int offset,
int length,
int scale,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeUInt1(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeUInt2(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeUInt4(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeUInt8(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeYear(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf) |
<T> T |
XProtocolRow.getValue(int columnIndex,
ValueFactory<T> vf) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDateTimeValueFactory<T> |
class |
AbstractNumericValueFactory<T> |
class |
BigDecimalValueFactory
A value factory for creating
BigDecimal values. |
class |
BinaryStreamValueFactory
A value factory for a raw stream of bytes from the value.
|
class |
BooleanValueFactory
A value factory for creating
Boolean values. |
class |
ByteValueFactory
A value factory for creating byte values.
|
class |
DefaultValueFactory<T>
The default value factory provides a base class that can be used for value factories that do not support creation from every type.
|
class |
DoubleValueFactory
A value factory for creating double values.
|
class |
DurationValueFactory
A value factory to create
Duration instances. |
class |
FloatValueFactory
A value factory for creating float values.
|
class |
IntegerValueFactory
A value factory for creating int values.
|
class |
LocalDateTimeValueFactory
Value factory to create
LocalDateTime instances. |
class |
LocalDateValueFactory
A value factory for creating
LocalDate values. |
class |
LocalTimeValueFactory
A value factory to create
LocalTime instances. |
class |
LongValueFactory
A value factory for creating long values.
|
class |
OffsetDateTimeValueFactory
Value factory to create
OffsetDateTime instances. |
class |
OffsetTimeValueFactory
A value factory to create
OffsetTime instances. |
class |
ShortValueFactory
A value factory for creating short values.
|
class |
SqlDateValueFactory
A value factory for creating
Date values. |
class |
SqlTimestampValueFactory
Value factory to create
Timestamp instances. |
class |
SqlTimeValueFactory
A value factory to create
Time instances. |
class |
StringValueFactory
A
ValueFactory implementation to create strings. |
class |
UtilCalendarValueFactory
Value factory to create
Calendar instances. |
class |
ZonedDateTimeValueFactory
Value factory to create
ZonedDateTime instances. |
| Modifier and Type | Field and Description |
|---|---|
(package private) ValueFactory<java.math.BigDecimal> |
BigDecimalValueFactoryTest.vf |
(package private) ValueFactory<java.lang.Short> |
ShortValueFactoryTest.vf |
(package private) ValueFactory<java.lang.Boolean> |
BooleanValueFactoryTest.vf |
(package private) ValueFactory<java.lang.Float> |
FloatValueFactoryTest.vf |
(package private) ValueFactory<java.lang.Byte> |
ByteValueFactoryTest.vf |
(package private) ValueFactory<java.lang.Double> |
DoubleValueFactoryTest.vf |
(package private) ValueFactory<java.lang.Long> |
LongValueFactoryTest.vf |
(package private) ValueFactory<java.time.LocalDate> |
LocalDateValueFactoryTest.vf |
(package private) ValueFactory<java.lang.Integer> |
IntegerValueFactoryTest.vf |
(package private) ValueFactory<java.lang.String> |
StringValueFactoryTest.vf |
(package private) ValueFactory<java.time.LocalDateTime> |
LocalDateTimeValueFactoryTest.vf |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
Row.getValue(int columnIndex,
ValueFactory<T> vf)
Retrieve a value for the given column.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DbDocValueFactory
A
ValueFactory implementation to create DbDocs. |
| Modifier and Type | Field and Description |
|---|---|
private ValueFactory<java.lang.String> |
SchemaImpl.svf |