Top Fields Constructors Methods
com.mysql.cj.jdbc

public Class ParameterBindingsImpl

extends Object
implements ParameterBindings
Class Inheritance
All Implemented Interfaces
com.mysql.cj.jdbc.ParameterBindings
Imports
java.io.InputStream, .Reader, java.math.BigDecimal, .BigInteger, java.net.URL, java.sql.Array, .Date, .Ref, .ResultSet, .SQLException, .Time, .Timestamp, java.util.ArrayList, .List, com.mysql.cj.BindValue, .CharsetMapping, .PreparedQuery, .QueryBindings, .Session, com.mysql.cj.conf.PropertyKey, .PropertySet, com.mysql.cj.exceptions.ExceptionInterceptor, .MysqlErrorNumbers, com.mysql.cj.jdbc.exceptions.SQLError, com.mysql.cj.jdbc.result.ResultSetFactory, .ResultSetImpl, com.mysql.cj.protocol.a.result.ByteArrayRow, .ResultsetRowsStatic, com.mysql.cj.result.DefaultColumnDefinition, .Field, .Row, com.mysql.cj.util.StringUtils

Field Summary

Modifier and TypeField and Description
private List<Object>
private ResultSetImpl
private BindValue[]
private ExceptionInterceptor
private PropertySet
private QueryBindings

Constructor Summary

AccessConstructor and Description
pack-priv
ParameterBindingsImpl(PreparedQuery query, Session session, ResultSetFactory resultSetFactory)

Method Summary

Modifier and TypeMethod and Description
public Array
public InputStream
public BigDecimal
public BigInteger
public InputStream
public Blob
public boolean
public byte
public byte[]
private byte[]

Returns:

bytes
getBytesRepresentation
(int
parameter index
parameterIndex
)

private byte[]

Returns:

bytes
getBytesRepresentationForBatch
(int
parameter index
parameterIndex
,
int
command index
commandIndex
)

Get bytes representation for a parameter in a statement batch.

public Reader
public Clob
public Date
public double
public float
public int
getInt(int parameterIndex)

Implements com.mysql.cj.jdbc.ParameterBindings.getInt.

public long
public Reader
public Reader
public Object
public Ref
getRef(int parameterIndex)

Implements com.mysql.cj.jdbc.ParameterBindings.getRef.

public short
public String
public Time
public Timestamp
public URL
getURL(int parameterIndex)

Implements com.mysql.cj.jdbc.ParameterBindings.getURL.

public boolean
isNull(int parameterIndex)

Implements com.mysql.cj.jdbc.ParameterBindings.isNull.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

batchedArgsback to summary
private List<Object> batchedArgs
bindingsAsRsback to summary
private ResultSetImpl bindingsAsRs
bindValuesback to summary
private BindValue[] bindValues
exceptionInterceptorback to summary
private ExceptionInterceptor exceptionInterceptor
propertySetback to summary
private PropertySet propertySet
queryBindingsback to summary
private QueryBindings queryBindings

Constructor Detail

ParameterBindingsImplback to summary
pack-priv ParameterBindingsImpl(PreparedQuery query, Session session, ResultSetFactory resultSetFactory) throws SQLException

Method Detail

getArrayback to summary
public Array getArray(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getArray.

Annotations
@Override
getAsciiStreamback to summary
public InputStream getAsciiStream(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getAsciiStream.

Annotations
@Override
getBigDecimalback to summary
public BigDecimal getBigDecimal(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getBigDecimal.

Annotations
@Override
getBigIntegerback to summary
public BigInteger getBigInteger(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getBigInteger.

Annotations
@Override
getBinaryStreamback to summary
public InputStream getBinaryStream(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getBinaryStream.

Annotations
@Override
getBlobback to summary
public Blob getBlob(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getBlob.

Annotations
@Override
getBooleanback to summary
public boolean getBoolean(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getBoolean.

Annotations
@Override
getByteback to summary
public byte getByte(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getByte.

Annotations
@Override
getBytesback to summary
public byte[] getBytes(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getBytes.

Annotations
@Override
getBytesRepresentationback to summary
private byte[] getBytesRepresentation(int parameterIndex)
Parameters
parameterIndex:int

parameter index

Returns:byte[]

bytes

getBytesRepresentationForBatchback to summary
private byte[] getBytesRepresentationForBatch(int parameterIndex, int commandIndex)

Get bytes representation for a parameter in a statement batch.

Parameters
parameterIndex:int

parameter index

commandIndex:int

command index

Returns:byte[]

bytes

getCharacterStreamback to summary
public Reader getCharacterStream(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getCharacterStream.

Annotations
@Override
getClobback to summary
public Clob getClob(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getClob.

Annotations
@Override
getDateback to summary
public Date getDate(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getDate.

Annotations
@Override
getDoubleback to summary
public double getDouble(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getDouble.

Annotations
@Override
getFloatback to summary
public float getFloat(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getFloat.

Annotations
@Override
getIntback to summary
public int getInt(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getInt.

Annotations
@Override
getLongback to summary
public long getLong(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getLong.

Annotations
@Override
getNCharacterStreamback to summary
public Reader getNCharacterStream(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getNCharacterStream.

Annotations
@Override
getNClobback to summary
public Reader getNClob(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getNClob.

Annotations
@Override
getObjectback to summary
public Object getObject(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getObject.

Annotations
@Override
getRefback to summary
public Ref getRef(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getRef.

Annotations
@Override
getShortback to summary
public short getShort(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getShort.

Annotations
@Override
getStringback to summary
public String getString(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getString.

Annotations
@Override
getTimeback to summary
public Time getTime(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getTime.

Annotations
@Override
getTimestampback to summary
public Timestamp getTimestamp(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getTimestamp.

Annotations
@Override
getURLback to summary
public URL getURL(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.getURL.

Annotations
@Override
isNullback to summary
public boolean isNull(int parameterIndex) throws SQLException

Implements com.mysql.cj.jdbc.ParameterBindings.isNull.

Annotations
@Override