| Package | Description |
|---|---|
| com.mysql.cj | |
| com.mysql.cj.jdbc | |
| com.mysql.cj.jdbc.result | |
| com.mysql.cj.protocol | |
| com.mysql.cj.protocol.a | |
| 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 Field |
NativeQueryBindValue.field |
private Field[] |
ServerPreparedQuery.parameterFields
Field-level metadata for parameters
|
| Modifier and Type | Method and Description |
|---|---|
Field |
BindValue.getField() |
Field |
NativeQueryBindValue.getField() |
Field[] |
ServerPreparedQuery.getParameterFields() |
| Modifier and Type | Method and Description |
|---|---|
void |
BindValue.setField(Field field) |
void |
NativeQueryBindValue.setField(Field field) |
void |
ServerPreparedQuery.setParameterFields(Field[] parameterFields) |
void |
QueryBindings.setTimestamp(int parameterIndex,
java.sql.Timestamp x,
java.util.Calendar targetCalendar,
Field field,
MysqlType targetMysqlType) |
void |
NativeQueryBindings.setTimestamp(int parameterIndex,
java.sql.Timestamp x,
java.util.Calendar targetCalendar,
Field field,
MysqlType targetMysqlType) |
| Modifier and Type | Method and Description |
|---|---|
protected Field[] |
DatabaseMetaData.createColumnsFields() |
protected Field[] |
DatabaseMetaData.createFieldMetadataForGetProcedures() |
protected Field[] |
DatabaseMetaData.createFkMetadataFields() |
protected Field[] |
DatabaseMetaData.createFunctionColumnsFields() |
protected Field[] |
DatabaseMetaData.createIndexInfoFields() |
protected Field[] |
DatabaseMetaData.createProcedureColumnsFields() |
protected Field[] |
DatabaseMetaData.getColumnPrivilegesFields() |
protected Field[] |
DatabaseMetaData.getFunctionsFields() |
protected Field[] |
DatabaseMetaData.getPrimaryKeysFields() |
protected Field[] |
DatabaseMetaData.getVersionColumnsFields() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DatabaseMetaData.convertToJdbcFunctionList(java.sql.ResultSet proceduresRs,
java.util.List<DatabaseMetaData.ComparableWrapper<java.lang.String,Row>> procedureRows,
Field[] fields) |
protected java.sql.ResultSet |
DatabaseMetaData.getProcedureOrFunctionColumns(Field[] fields,
java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String procedureOrFunctionNamePattern,
java.lang.String columnNamePattern,
boolean returnProcedures,
boolean returnFunctions) |
protected java.sql.ResultSet |
DatabaseMetaData.getProceduresAndOrFunctions(Field[] fields,
java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String procedureNamePattern,
boolean returnProcedures,
boolean returnFunctions) |
| Constructor and Description |
|---|
MysqlParameterMetadata(Session session,
Field[] fieldInfo,
int parameterCount,
ExceptionInterceptor exceptionInterceptor) |
| Modifier and Type | Field and Description |
|---|---|
private Field[] |
ResultSetMetaData.fields |
| Modifier and Type | Method and Description |
|---|---|
protected Field |
ResultSetMetaData.getField(int columnIndex)
Returns the field instance for the given column index
|
Field[] |
ResultSetMetaData.getFields() |
| Modifier and Type | Method and Description |
|---|---|
private static int |
ResultSetMetaData.clampedGetLength(Field f) |
private void |
UpdatableResultSet.setParamValue(ClientPreparedStatement ps,
int psIdx,
Row row,
int rsIdx,
Field field) |
| Constructor and Description |
|---|
ResultSetMetaData(Session session,
Field[] fields,
boolean useOldAliasBehavior,
boolean treatYearAsDate,
ExceptionInterceptor exceptionInterceptor)
Initialize for a result with a tuple set and a field descriptor set
|
| Modifier and Type | Method and Description |
|---|---|
Field[] |
ColumnDefinition.getFields() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ValueDecoder.decodeByteArray(byte[] bytes,
int offset,
int length,
Field f,
ValueFactory<T> vf) |
<T> T |
ValueDecoder.decodeSet(byte[] bytes,
int offset,
int length,
Field f,
ValueFactory<T> vf) |
void |
ColumnDefinition.setFields(Field[] fields) |
| Modifier and Type | Method and Description |
|---|---|
protected Field |
ColumnDefinitionReader.unpackField(NativePacketPayload packet,
java.lang.String characterSetMetadata)
Unpacks the Field information from the given packet.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.time.Duration |
AbstractValueEncoder.adjustDuration(java.time.Duration x,
Field f) |
protected java.time.LocalDateTime |
AbstractValueEncoder.adjustLocalDateTime(java.time.LocalDateTime x,
Field f) |
protected java.time.LocalTime |
AbstractValueEncoder.adjustLocalTime(java.time.LocalTime x,
Field f) |
protected java.sql.Timestamp |
AbstractValueEncoder.adjustTimestamp(java.sql.Timestamp x,
Field f,
boolean keepOrigNanos) |
ColumnDefinition |
MergingColumnDefinitionFactory.createFromFields(Field[] fields) |
ColumnDefinition |
ColumnDefinitionFactory.createFromFields(Field[] fields) |
<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.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) |
private void |
BinaryRowFactory.extractNativeEncodedColumn(NativePacketPayload binaryData,
Field[] fields,
int columnIndex,
byte[][] unpackedRowData)
Copy the raw result bytes from the
|
private ResultsetRow |
BinaryRowFactory.unpackBinaryResultSetRow(Field[] fields,
NativePacketPayload binaryData)
Un-packs binary-encoded result set data for one row
|
| Modifier and Type | Method and Description |
|---|---|
private Field |
FieldFactory.columnMetaDataToField(MysqlxResultset.ColumnMetaData col,
java.lang.String characterSet)
Convert a X Protocol
MysqlxResultset.ColumnMetaData message to a C/J Field object. |
Field |
FieldFactory.createFromMessage(XMessage message) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
XProtocolDecoder.decodeByteArray(byte[] bytes,
int offset,
int length,
Field f,
ValueFactory<T> vf) |
<T> T |
XProtocolDecoder.decodeSet(byte[] bytes,
int offset,
int length,
Field f,
ValueFactory<T> vf) |
ColumnDefinition |
XProtocol.readMetadata(Field f,
java.util.function.Consumer<Notice> noticeConsumer) |
| Modifier and Type | Field and Description |
|---|---|
protected Field[] |
DefaultColumnDefinition.fields |
| Modifier and Type | Method and Description |
|---|---|
Field[] |
DefaultColumnDefinition.getFields() |
| Modifier and Type | Method and Description |
|---|---|
T |
ValueFactory.createFromBytes(byte[] bytes,
int offset,
int length,
Field f) |
java.time.OffsetTime |
OffsetTimeValueFactory.createFromBytes(byte[] bytes,
int offset,
int length,
Field f) |
T |
AbstractDateTimeValueFactory.createFromBytes(byte[] bytes,
int offset,
int length,
Field f) |
java.io.InputStream |
BinaryStreamValueFactory.createFromBytes(byte[] bytes,
int offset,
int length,
Field f) |
java.lang.Byte |
ByteValueFactory.createFromBytes(byte[] bytes,
int offset,
int length,
Field f) |
java.lang.Boolean |
BooleanValueFactory.createFromBytes(byte[] bytes,
int offset,
int length,
Field f) |
T |
AbstractNumericValueFactory.createFromBytes(byte[] bytes,
int offset,
int length,
Field f) |
java.time.OffsetDateTime |
OffsetDateTimeValueFactory.createFromBytes(byte[] bytes,
int offset,
int length,
Field f) |
java.time.ZonedDateTime |
ZonedDateTimeValueFactory.createFromBytes(byte[] bytes,
int offset,
int length,
Field f) |
java.lang.String |
StringValueFactory.createFromBytes(byte[] bytes,
int offset,
int length,
Field f)
Interpret the given byte array as a string.
|
void |
DefaultColumnDefinition.setFields(Field[] fields) |
| Constructor and Description |
|---|
DefaultColumnDefinition(Field[] fields) |
| Modifier and Type | Field and Description |
|---|---|
private Field |
ColumnImpl.field |
| Modifier and Type | Field and Description |
|---|---|
private java.util.ArrayList<Field> |
StreamingRowResultBuilder.fields |
private java.util.ArrayList<Field> |
DocResultBuilder.fields |
private java.util.ArrayList<Field> |
StreamingDocResultBuilder.fields |
private java.util.ArrayList<Field> |
RowResultBuilder.fields |
private java.util.ArrayList<Field> |
SqlResultBuilder.fields |
| Modifier and Type | Method and Description |
|---|---|
DbDoc |
DbDocValueFactory.createFromBytes(byte[] bytes,
int offset,
int length,
Field f)
Interpret the given byte array as a string.
|
| Constructor and Description |
|---|
ColumnImpl(Field f)
Constructor.
|