Package com.mysql.cj.jdbc
Interface ParameterBindings
- All Known Implementing Classes:
ParameterBindingsImpl
public interface ParameterBindings
Interface to allow PreparedStatement implementations to expose their parameter bindings to QueryInterceptors.
-
Method Summary
Modifier and Type Method Description java.sql.ArraygetArray(int parameterIndex)java.io.InputStreamgetAsciiStream(int parameterIndex)java.math.BigDecimalgetBigDecimal(int parameterIndex)java.math.BigIntegergetBigInteger(int parameterIndex)java.io.InputStreamgetBinaryStream(int parameterIndex)java.sql.BlobgetBlob(int parameterIndex)booleangetBoolean(int parameterIndex)bytegetByte(int parameterIndex)byte[]getBytes(int parameterIndex)java.io.ReadergetCharacterStream(int parameterIndex)java.sql.ClobgetClob(int parameterIndex)java.sql.DategetDate(int parameterIndex)doublegetDouble(int parameterIndex)floatgetFloat(int parameterIndex)intgetInt(int parameterIndex)longgetLong(int parameterIndex)java.io.ReadergetNCharacterStream(int parameterIndex)java.io.ReadergetNClob(int parameterIndex)java.lang.ObjectgetObject(int parameterIndex)java.sql.RefgetRef(int parameterIndex)shortgetShort(int parameterIndex)java.lang.StringgetString(int parameterIndex)java.sql.TimegetTime(int parameterIndex)java.sql.TimestampgetTimestamp(int parameterIndex)java.net.URLgetURL(int parameterIndex)booleanisNull(int parameterIndex)
-
Method Details
-
getArray
java.sql.Array getArray(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getAsciiStream
java.io.InputStream getAsciiStream(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getBigDecimal
java.math.BigDecimal getBigDecimal(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getBinaryStream
java.io.InputStream getBinaryStream(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getBlob
java.sql.Blob getBlob(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getBoolean
boolean getBoolean(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getByte
byte getByte(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getBytes
byte[] getBytes(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getCharacterStream
java.io.Reader getCharacterStream(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getClob
java.sql.Clob getClob(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getDate
java.sql.Date getDate(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getDouble
double getDouble(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getFloat
float getFloat(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getInt
int getInt(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getBigInteger
java.math.BigInteger getBigInteger(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getLong
long getLong(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getNCharacterStream
java.io.Reader getNCharacterStream(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getNClob
java.io.Reader getNClob(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getObject
java.lang.Object getObject(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getRef
java.sql.Ref getRef(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getShort
short getShort(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getString
java.lang.String getString(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getTime
java.sql.Time getTime(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getTimestamp
java.sql.Timestamp getTimestamp(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getURL
java.net.URL getURL(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
isNull
boolean isNull(int parameterIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-