Modifier and Type | Method and Description |
---|---|
void |
BasePrepareStatement.setNull(int parameterIndex,
ColumnType mariadbType)
Sets the designated parameter to SQL
NULL . |
Modifier and Type | Field and Description |
---|---|
(package private) static ColumnType[] |
ColumnType.typeMap |
Modifier and Type | Method and Description |
---|---|
static ColumnType |
ColumnType.fromServer(int typeValue,
int charsetNumber)
Convert server Type to server type.
|
static ColumnType |
ColumnType.toServer(int javaType)
Convert javatype to ColumnType.
|
static ColumnType |
ColumnType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColumnType[] |
ColumnType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ColumnType.getClassName(ColumnType type,
int len,
boolean signed,
boolean binary,
Options options)
Get class name.
|
static java.lang.String |
ColumnType.getColumnTypeName(ColumnType type,
long len,
boolean signed,
boolean binary)
Get columnTypeName.
|
static boolean |
ColumnType.isNumeric(ColumnType type)
Is type numeric.
|
Modifier and Type | Field and Description |
---|---|
private ColumnType |
ColumnInformation.type |
Modifier and Type | Method and Description |
---|---|
ColumnType |
ColumnInformation.getColumnType() |
Modifier and Type | Method and Description |
---|---|
static ColumnInformation |
ColumnInformation.create(java.lang.String name,
ColumnType type)
Constructor.
|
static java.sql.ResultSet |
SelectResultSet.createResultSet(java.lang.String[] columnNames,
ColumnType[] columnTypes,
java.lang.String[][] data,
Protocol protocol)
Create a result set from given data.
|
Modifier and Type | Method and Description |
---|---|
static void |
ComStmtExecute.send(PacketOutputStream pos,
int statementId,
ParameterHolder[] parameters,
int parameterCount,
ColumnType[] parameterTypeHeader,
byte cursorFlag)
Send a prepare statement binary stream.
|
static void |
ComStmtExecute.writeCmd(int statementId,
ParameterHolder[] parameters,
int parameterCount,
ColumnType[] parameterTypeHeader,
PacketOutputStream pos,
byte cursorFlag)
Write COM_STMT_EXECUTE sub-command to output buffer.
|
Modifier and Type | Field and Description |
---|---|
private ColumnType |
NullParameter.type |
Modifier and Type | Method and Description |
---|---|
ColumnType |
ByteParameter.getColumnType() |
ColumnType |
StreamParameter.getColumnType() |
ColumnType |
IntParameter.getColumnType() |
ColumnType |
OffsetTimeParameter.getColumnType() |
ColumnType |
ParameterHolder.getColumnType() |
ColumnType |
StringParameter.getColumnType() |
ColumnType |
TimeParameter.getColumnType() |
ColumnType |
SerializableParameter.getColumnType() |
ColumnType |
NullParameter.getColumnType() |
ColumnType |
TimestampParameter.getColumnType() |
ColumnType |
FloatParameter.getColumnType() |
ColumnType |
DefaultParameter.getColumnType() |
ColumnType |
LongParameter.getColumnType() |
ColumnType |
ShortParameter.getColumnType() |
ColumnType |
ReaderParameter.getColumnType() |
ColumnType |
BigDecimalParameter.getColumnType() |
ColumnType |
ByteArrayParameter.getColumnType() |
ColumnType |
DoubleParameter.getColumnType() |
ColumnType |
ZonedDateTimeParameter.getColumnType() |
ColumnType |
DateParameter.getColumnType() |
Constructor and Description |
---|
NullParameter(ColumnType type) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
StandardPacketInputStream.create(byte[][] rowDatas,
ColumnType[] columnTypes)
Create Buffer with Text protocol values.
|
Modifier and Type | Field and Description |
---|---|
protected ColumnType[] |
AbstractMultiSend.parameterTypeHeader |
Modifier and Type | Field and Description |
---|---|
private ColumnType[] |
ServerPrepareResult.parameterTypeHeader |
Modifier and Type | Method and Description |
---|---|
ColumnType[] |
ServerPrepareResult.getParameterTypeHeader() |