| 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 | Interface and Description |
|---|---|
interface |
CachedResultSetMetaData |
interface |
ResultSetInternalMethods
This interface is intended to be used by implementors of statement interceptors so that implementors can create static or dynamic (via
java.lang.reflect.Proxy) proxy instances of ResultSets.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CachedResultSetMetaDataImpl |
class |
ResultSetImpl |
class |
UpdatableResultSet
A result set that is updatable.
|
| Modifier and Type | Method and Description |
|---|---|
ResultSetImpl |
ResultSetFactory.createFromProtocolEntity(ProtocolEntity protocolEntity) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ProtocolEntityReader<T extends ProtocolEntity,M extends Message> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ColumnDefinition
Represents protocol specific result set metadata,
eg., for native protocol, Protocol::ColumnDefinition41 protocol entity.
|
interface |
Resultset
Represents protocol specific result set,
eg., for native protocol, a ProtocolText::Resultset or ProtocolBinary::Resultset entity.
|
interface |
ResultsetRow
Classes that implement this interface represent one row of data from the MySQL server that might be stored in different ways depending on whether the result
set was streaming (so they wrap a reusable packet), or whether the result set was cached or via a server-side cursor (so they represent a byte[][]).
|
interface |
ResultsetRows
This interface abstracts away how row data is accessed by the result set.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends ProtocolEntity> |
Protocol.read(java.lang.Class<Resultset> requiredClass,
int maxRows,
boolean streamResults,
M resultPacket,
boolean isBinaryEncoded,
ColumnDefinition metadata,
ProtocolEntityFactory<T,M> protocolEntityFactory)
Read protocol entity.
|
<T extends ProtocolEntity> |
Protocol.read(java.lang.Class<T> requiredClass,
ProtocolEntityFactory<T,M> protocolEntityFactory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ResultBuilder.addProtocolEntity(ProtocolEntity entity)
Add ProtocolEntity.
|
default T |
ProtocolEntityFactory.createFromProtocolEntity(ProtocolEntity protocolEntity)
Create object from protocol entity.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.Class<? extends ProtocolEntity>,ProtocolEntityReader<? extends ProtocolEntity,? extends Message>> |
NativeProtocol.PROTOCOL_ENTITY_CLASS_TO_BINARY_READER |
protected java.util.Map<java.lang.Class<? extends ProtocolEntity>,ProtocolEntityReader<? extends ProtocolEntity,? extends Message>> |
NativeProtocol.PROTOCOL_ENTITY_CLASS_TO_BINARY_READER |
protected java.util.Map<java.lang.Class<? extends ProtocolEntity>,ProtocolEntityReader<? extends ProtocolEntity,? extends Message>> |
NativeProtocol.PROTOCOL_ENTITY_CLASS_TO_TEXT_READER |
protected java.util.Map<java.lang.Class<? extends ProtocolEntity>,ProtocolEntityReader<? extends ProtocolEntity,? extends Message>> |
NativeProtocol.PROTOCOL_ENTITY_CLASS_TO_TEXT_READER |
| Modifier and Type | Method and Description |
|---|---|
<T extends ProtocolEntity> |
NativeProtocol.read(java.lang.Class<Resultset> requiredClass,
int maxRows,
boolean streamResults,
NativePacketPayload resultPacket,
boolean isBinaryEncoded,
ColumnDefinition metadata,
ProtocolEntityFactory<T,NativePacketPayload> protocolEntityFactory) |
<T extends ProtocolEntity> |
NativeProtocol.read(java.lang.Class<T> requiredClass,
ProtocolEntityFactory<T,NativePacketPayload> protocolEntityFactory) |
<T extends ProtocolEntity> |
NativeProtocol.readNextResultset(T currentProtocolEntity,
int maxRows,
boolean streamResults,
boolean isBinaryEncoded,
ProtocolEntityFactory<T,NativePacketPayload> resultSetFactory)
Read next result set from multi-result chain.
|
| Modifier and Type | Method and Description |
|---|---|
Resultset |
ResultsetFactory.createFromProtocolEntity(ProtocolEntity protocolEntity) |
| Modifier and Type | Class and Description |
|---|---|
class |
ResultsetRowsStreaming<T extends ProtocolEntity>
Provides streaming of Resultset rows.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBufferRow
A ResultSetRow implementation that holds one row packet (which is re-used by the driver, and thus saves memory allocations), and tries when possible to avoid
allocations to break out the results as individual byte[]s.
|
class |
AbstractResultsetRows |
class |
BinaryBufferRow
A BufferRow implementation that holds one row packet from a server-side prepared statement (which is re-used by the driver,
and thus saves memory allocations), and tries when possible to avoid allocations to break out the results as individual byte[]s.
|
class |
ByteArrayRow
A RowHolder implementation that is for cached results (a-la mysql_store_result()).
|
class |
NativeResultset |
class |
OkPacket |
class |
ResultsetRowsCursor
Model for result set data backed by a cursor (see http://dev.mysql.com/doc/refman/5.7/en/cursors.html and
SERVER_STATUS_CURSOR_EXISTS flag description on http://dev.mysql.com/doc/internals/en/status-flags.html).
|
class |
ResultsetRowsStatic
Represents an in-memory result set
|
class |
ResultsetRowsStreaming<T extends ProtocolEntity>
Provides streaming of Resultset rows.
|
class |
TextBufferRow
A ResultSetRow implementation that holds one row packet (which is re-used by the driver, and thus saves memory allocations), and tries when possible to avoid
allocations to break out the results as individual byte[]s.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractResultsetRow |
| Modifier and Type | Class and Description |
|---|---|
class |
FetchDoneEntity
ProtocolEntity representing a
MysqlxResultset.FetchDone message. |
class |
FetchDoneMoreResults
ProtocolEntity representing a
FetchDoneMoreResults message. |
class |
Notice
ProtocolEntity representing a
Notice message. |
static class |
Notice.XSessionStateChanged |
static class |
Notice.XSessionVariableChanged |
static class |
Notice.XWarning |
class |
Ok
ProtocolEntity representing an OK message.
|
class |
StatementExecuteOk
ProtocolEntity representing a
StatementExecuteOk message. |
class |
XProtocolRow
ProtocolEntity representing an X Protocol result row.
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.Class<? extends com.google.protobuf.GeneratedMessageV3>,ProtocolEntityFactory<? extends ProtocolEntity,XMessage>> |
XProtocol.messageToProtocolEntityFactory |
private java.util.Map<java.lang.Class<? extends com.google.protobuf.GeneratedMessageV3>,ProtocolEntityFactory<? extends ProtocolEntity,XMessage>> |
ResultMessageListener.messageToProtocolEntityFactory |
| Modifier and Type | Method and Description |
|---|---|
<T extends ProtocolEntity> |
XProtocol.read(java.lang.Class<Resultset> requiredClass,
int maxRows,
boolean streamResults,
XMessage resultPacket,
boolean isBinaryEncoded,
ColumnDefinition metadata,
ProtocolEntityFactory<T,XMessage> protocolEntityFactory) |
<T extends ProtocolEntity> |
XProtocol.read(java.lang.Class<T> requiredClass,
ProtocolEntityFactory<T,XMessage> protocolEntityFactory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
OkBuilder.addProtocolEntity(ProtocolEntity entity) |
boolean |
StatementExecuteOkBuilder.addProtocolEntity(ProtocolEntity entity) |
| Constructor and Description |
|---|
ResultMessageListener(java.util.Map<java.lang.Class<? extends com.google.protobuf.GeneratedMessageV3>,ProtocolEntityFactory<? extends ProtocolEntity,XMessage>> messageToProtocolEntityFactory,
ResultBuilder<R> resultBuilder,
java.util.concurrent.CompletableFuture<R> future) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Row |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultColumnDefinition
Protocol::ColumnDefinition41 object
|
class |
Field
Field is a class used to describe fields in a ResultSet
|
| Modifier and Type | Field and Description |
|---|---|
(package private) ProtocolEntity |
StreamingSqlResultBuilder.lastEntity |
private ProtocolEntity |
SqlResultBuilder.prevEntity |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.function.Supplier<ProtocolEntity> |
AbstractDataResult.completer |
| Modifier and Type | Method and Description |
|---|---|
boolean |
StreamingRowResultBuilder.addProtocolEntity(ProtocolEntity entity) |
boolean |
DocResultBuilder.addProtocolEntity(ProtocolEntity entity) |
boolean |
StreamingDocResultBuilder.addProtocolEntity(ProtocolEntity entity) |
boolean |
RowResultBuilder.addProtocolEntity(ProtocolEntity entity) |
boolean |
SqlResultBuilder.addProtocolEntity(ProtocolEntity entity) |
boolean |
StreamingSqlResultBuilder.addProtocolEntity(ProtocolEntity entity) |
boolean |
UpdateResultBuilder.addProtocolEntity(ProtocolEntity entity) |
DbDoc |
DbDocFactory.createFromProtocolEntity(ProtocolEntity internalRow) |
Row |
RowFactory.createFromProtocolEntity(ProtocolEntity internalRow) |
| Constructor and Description |
|---|
AbstractDataResult(RowList rows,
java.util.function.Supplier<ProtocolEntity> completer,
ProtocolEntityFactory<T,XMessage> rowToData)
Constructor.
|
DocResultImpl(RowList rows,
java.util.function.Supplier<ProtocolEntity> completer,
PropertySet pset)
Constructor.
|
RowResultImpl(ColumnDefinition metadata,
java.util.TimeZone defaultTimeZone,
RowList rows,
java.util.function.Supplier<ProtocolEntity> completer,
PropertySet pset)
Constructor.
|
SqlSingleResult(ColumnDefinition metadata,
java.util.TimeZone defaultTimeZone,
RowList rows,
java.util.function.Supplier<ProtocolEntity> completer,
PropertySet pset)
Constructor.
|