Modifier and Type | Method and Description |
---|---|
void |
AbstractMariaDbPrepareStatement.setNull(int parameterIndex,
MariaDbType mysqlType)
Sets the designated parameter to SQL
NULL . |
Modifier and Type | Method and Description |
---|---|
static MariaDbType |
MariaDbType.fromServer(int typeValue)
Convert server Type to server type.
|
static MariaDbType |
MariaDbType.toServer(int javaType)
Convert javatype to MariaDbType.
|
static MariaDbType |
MariaDbType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MariaDbType[] |
MariaDbType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static String |
MariaDbType.getClassName(MariaDbType type,
int len,
boolean signed,
boolean binary,
int flags)
Get class name.
|
static String |
MariaDbType.getColumnTypeName(MariaDbType type,
long len,
boolean signed,
boolean binary)
Get columnTypeName.
|
static boolean |
MariaDbType.isNumeric(MariaDbType type)
Is type numeric.
|
Modifier and Type | Method and Description |
---|---|
MariaDbType |
ColumnInformation.getType() |
Modifier and Type | Method and Description |
---|---|
static ColumnInformation |
ColumnInformation.create(String name,
MariaDbType type)
Constructor.
|
Constructor and Description |
---|
ColumnInformation(MariaDbType type) |
Modifier and Type | Method and Description |
---|---|
MariaDbType |
TimestampParameter.getMariaDbType() |
MariaDbType |
TimeParameter.getMariaDbType() |
MariaDbType |
StringParameter.getMariaDbType() |
MariaDbType |
StreamParameter.getMariaDbType() |
MariaDbType |
ShortParameter.getMariaDbType() |
MariaDbType |
SerializableParameter.getMariaDbType() |
MariaDbType |
ReaderParameter.getMariaDbType() |
abstract MariaDbType |
ParameterHolder.getMariaDbType() |
MariaDbType |
NullParameter.getMariaDbType() |
MariaDbType |
LongParameter.getMariaDbType() |
MariaDbType |
IntParameter.getMariaDbType() |
MariaDbType |
FloatParameter.getMariaDbType() |
MariaDbType |
DoubleParameter.getMariaDbType() |
MariaDbType |
DateParameter.getMariaDbType() |
MariaDbType |
ByteParameter.getMariaDbType() |
MariaDbType |
ByteArrayParameter.getMariaDbType() |
MariaDbType |
BigDecimalParameter.getMariaDbType() |
Constructor and Description |
---|
NullParameter(MariaDbType type) |
Constructor and Description |
---|
SendExecutePrepareStatementPacket(int statementId,
ParameterHolder[] parameters,
int parameterCount,
MariaDbType[] parameterTypeHeader)
Initialize parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
Protocol.executePreparedQuery(String sql,
ExecutionResult executionResult,
ParameterHolder[] parameters,
PrepareResult prepareResult,
MariaDbType[] parameterTypeHeader,
int resultSetScrollType) |
void |
AbstractQueryProtocol.executePreparedQuery(String sql,
ExecutionResult executionResult,
ParameterHolder[] parameters,
PrepareResult prepareResult,
MariaDbType[] parameterTypeHeader,
int resultSetScrollType) |
void |
Protocol.executePreparedQueryAfterFailover(String sql,
ExecutionResult executionResult,
ParameterHolder[] parameters,
PrepareResult prepareResult,
MariaDbType[] parameterTypeHeader,
int resultSetScrollType) |
void |
AbstractQueryProtocol.executePreparedQueryAfterFailover(String sql,
ExecutionResult executionResult,
ParameterHolder[] parameters,
PrepareResult prepareResult,
MariaDbType[] parameterTypeHeader,
int resultSetScrollType) |
Modifier and Type | Method and Description |
---|---|
static ResultSet |
MariaSelectResultSet.createResultSet(String[] columnNames,
MariaDbType[] columnTypes,
String[][] data,
Protocol protocol)
Create a result set from given data.
|
Copyright © 2016. All rights reserved.