类 RestfulPreparedStatement
- java.lang.Object
-
- com.taosdata.jdbc.WrapperImpl
-
- com.taosdata.jdbc.AbstractStatement
-
- com.taosdata.jdbc.rs.RestfulStatement
-
- com.taosdata.jdbc.rs.RestfulPreparedStatement
-
- 所有已实现的接口:
AutoCloseable,PreparedStatement,Statement,Wrapper
public class RestfulPreparedStatement extends RestfulStatement implements PreparedStatement
-
-
字段概要
-
从类继承的字段 com.taosdata.jdbc.AbstractStatement
affectedRows, batchedArgs
-
-
构造器概要
构造器 构造器 说明 RestfulPreparedStatement(RestfulConnection conn, String database, String sql)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddBatch()voidclearParameters()booleanexecute()ResultSetexecuteQuery()intexecuteUpdate()ResultSetMetaDatagetMetaData()ParameterMetaDatagetParameterMetaData()voidsetArray(int parameterIndex, Array x)voidsetAsciiStream(int parameterIndex, InputStream x)voidsetAsciiStream(int parameterIndex, InputStream x, int length)voidsetAsciiStream(int parameterIndex, InputStream x, long length)voidsetBigDecimal(int parameterIndex, BigDecimal x)voidsetBinaryStream(int parameterIndex, InputStream x)voidsetBinaryStream(int parameterIndex, InputStream x, int length)voidsetBinaryStream(int parameterIndex, InputStream x, long length)voidsetBlob(int parameterIndex, InputStream inputStream)voidsetBlob(int parameterIndex, InputStream inputStream, long length)voidsetBlob(int parameterIndex, Blob x)voidsetBoolean(int parameterIndex, boolean x)voidsetByte(int parameterIndex, byte x)voidsetBytes(int parameterIndex, byte[] x)voidsetCharacterStream(int parameterIndex, Reader reader)voidsetCharacterStream(int parameterIndex, Reader reader, int length)voidsetCharacterStream(int parameterIndex, Reader reader, long length)voidsetClob(int parameterIndex, Reader reader)voidsetClob(int parameterIndex, Reader reader, long length)voidsetClob(int parameterIndex, Clob x)voidsetDate(int parameterIndex, Date x)voidsetDate(int parameterIndex, Date x, Calendar cal)voidsetDouble(int parameterIndex, double x)voidsetFloat(int parameterIndex, float x)voidsetInt(int parameterIndex, int x)voidsetLong(int parameterIndex, long x)voidsetNCharacterStream(int parameterIndex, Reader value)voidsetNCharacterStream(int parameterIndex, Reader value, long length)voidsetNClob(int parameterIndex, Reader reader)voidsetNClob(int parameterIndex, Reader reader, long length)voidsetNClob(int parameterIndex, NClob value)voidsetNString(int parameterIndex, String value)voidsetNull(int parameterIndex, int sqlType)voidsetNull(int parameterIndex, int sqlType, String typeName)voidsetObject(int parameterIndex, Object x)voidsetObject(int parameterIndex, Object x, int targetSqlType)voidsetObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength)voidsetRef(int parameterIndex, Ref x)voidsetRowId(int parameterIndex, RowId x)voidsetShort(int parameterIndex, short x)voidsetSQLXML(int parameterIndex, SQLXML xmlObject)voidsetString(int parameterIndex, String x)voidsetTime(int parameterIndex, Time x)voidsetTime(int parameterIndex, Time x, Calendar cal)voidsetTimestamp(int parameterIndex, Timestamp x)voidsetTimestamp(int parameterIndex, Timestamp x, Calendar cal)voidsetUnicodeStream(int parameterIndex, InputStream x, int length)voidsetURL(int parameterIndex, URL x)-
从类继承的方法 com.taosdata.jdbc.rs.RestfulStatement
close, execute, executeQuery, executeUpdate, getConnection, getResultSet, getUpdateCount, isClosed
-
从类继承的方法 com.taosdata.jdbc.AbstractStatement
addBatch, cancel, clearBatch, clearWarnings, closeOnCompletion, execute, execute, execute, executeBatch, executeUpdate, executeUpdate, executeUpdate, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getWarnings, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
-
从类继承的方法 com.taosdata.jdbc.WrapperImpl
isWrapperFor, unwrap
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 java.sql.PreparedStatement
executeLargeUpdate, setObject, setObject
-
从接口继承的方法 java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
-
从接口继承的方法 java.sql.Wrapper
isWrapperFor, unwrap
-
-
-
-
构造器详细资料
-
RestfulPreparedStatement
public RestfulPreparedStatement(RestfulConnection conn, String database, String sql)
-
-
方法详细资料
-
executeQuery
public ResultSet executeQuery() throws SQLException
- 指定者:
executeQuery在接口中PreparedStatement- 抛出:
SQLException
-
executeUpdate
public int executeUpdate() throws SQLException- 指定者:
executeUpdate在接口中PreparedStatement- 抛出:
SQLException
-
setNull
public void setNull(int parameterIndex, int sqlType) throws SQLException- 指定者:
setNull在接口中PreparedStatement- 抛出:
SQLException
-
setBoolean
public void setBoolean(int parameterIndex, boolean x) throws SQLException- 指定者:
setBoolean在接口中PreparedStatement- 抛出:
SQLException
-
setByte
public void setByte(int parameterIndex, byte x) throws SQLException- 指定者:
setByte在接口中PreparedStatement- 抛出:
SQLException
-
setShort
public void setShort(int parameterIndex, short x) throws SQLException- 指定者:
setShort在接口中PreparedStatement- 抛出:
SQLException
-
setInt
public void setInt(int parameterIndex, int x) throws SQLException- 指定者:
setInt在接口中PreparedStatement- 抛出:
SQLException
-
setLong
public void setLong(int parameterIndex, long x) throws SQLException- 指定者:
setLong在接口中PreparedStatement- 抛出:
SQLException
-
setFloat
public void setFloat(int parameterIndex, float x) throws SQLException- 指定者:
setFloat在接口中PreparedStatement- 抛出:
SQLException
-
setDouble
public void setDouble(int parameterIndex, double x) throws SQLException- 指定者:
setDouble在接口中PreparedStatement- 抛出:
SQLException
-
setBigDecimal
public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException- 指定者:
setBigDecimal在接口中PreparedStatement- 抛出:
SQLException
-
setString
public void setString(int parameterIndex, String x) throws SQLException- 指定者:
setString在接口中PreparedStatement- 抛出:
SQLException
-
setBytes
public void setBytes(int parameterIndex, byte[] x) throws SQLException- 指定者:
setBytes在接口中PreparedStatement- 抛出:
SQLException
-
setDate
public void setDate(int parameterIndex, Date x) throws SQLException- 指定者:
setDate在接口中PreparedStatement- 抛出:
SQLException
-
setTime
public void setTime(int parameterIndex, Time x) throws SQLException- 指定者:
setTime在接口中PreparedStatement- 抛出:
SQLException
-
setTimestamp
public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException- 指定者:
setTimestamp在接口中PreparedStatement- 抛出:
SQLException
-
setAsciiStream
public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException- 指定者:
setAsciiStream在接口中PreparedStatement- 抛出:
SQLException
-
setUnicodeStream
public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException- 指定者:
setUnicodeStream在接口中PreparedStatement- 抛出:
SQLException
-
setBinaryStream
public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException- 指定者:
setBinaryStream在接口中PreparedStatement- 抛出:
SQLException
-
clearParameters
public void clearParameters() throws SQLException- 指定者:
clearParameters在接口中PreparedStatement- 抛出:
SQLException
-
setObject
public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException- 指定者:
setObject在接口中PreparedStatement- 抛出:
SQLException
-
setObject
public void setObject(int parameterIndex, Object x) throws SQLException- 指定者:
setObject在接口中PreparedStatement- 抛出:
SQLException
-
execute
public boolean execute() throws SQLException- 指定者:
execute在接口中PreparedStatement- 抛出:
SQLException
-
addBatch
public void addBatch() throws SQLException- 指定者:
addBatch在接口中PreparedStatement- 抛出:
SQLException
-
setCharacterStream
public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException- 指定者:
setCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setRef
public void setRef(int parameterIndex, Ref x) throws SQLException- 指定者:
setRef在接口中PreparedStatement- 抛出:
SQLException
-
setBlob
public void setBlob(int parameterIndex, Blob x) throws SQLException- 指定者:
setBlob在接口中PreparedStatement- 抛出:
SQLException
-
setClob
public void setClob(int parameterIndex, Clob x) throws SQLException- 指定者:
setClob在接口中PreparedStatement- 抛出:
SQLException
-
setArray
public void setArray(int parameterIndex, Array x) throws SQLException- 指定者:
setArray在接口中PreparedStatement- 抛出:
SQLException
-
getMetaData
public ResultSetMetaData getMetaData() throws SQLException
- 指定者:
getMetaData在接口中PreparedStatement- 抛出:
SQLException
-
setDate
public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException- 指定者:
setDate在接口中PreparedStatement- 抛出:
SQLException
-
setTime
public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException- 指定者:
setTime在接口中PreparedStatement- 抛出:
SQLException
-
setTimestamp
public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException- 指定者:
setTimestamp在接口中PreparedStatement- 抛出:
SQLException
-
setNull
public void setNull(int parameterIndex, int sqlType, String typeName) throws SQLException- 指定者:
setNull在接口中PreparedStatement- 抛出:
SQLException
-
setURL
public void setURL(int parameterIndex, URL x) throws SQLException- 指定者:
setURL在接口中PreparedStatement- 抛出:
SQLException
-
getParameterMetaData
public ParameterMetaData getParameterMetaData() throws SQLException
- 指定者:
getParameterMetaData在接口中PreparedStatement- 抛出:
SQLException
-
setRowId
public void setRowId(int parameterIndex, RowId x) throws SQLException- 指定者:
setRowId在接口中PreparedStatement- 抛出:
SQLException
-
setNString
public void setNString(int parameterIndex, String value) throws SQLException- 指定者:
setNString在接口中PreparedStatement- 抛出:
SQLException
-
setNCharacterStream
public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException- 指定者:
setNCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setNClob
public void setNClob(int parameterIndex, NClob value) throws SQLException- 指定者:
setNClob在接口中PreparedStatement- 抛出:
SQLException
-
setClob
public void setClob(int parameterIndex, Reader reader, long length) throws SQLException- 指定者:
setClob在接口中PreparedStatement- 抛出:
SQLException
-
setBlob
public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException- 指定者:
setBlob在接口中PreparedStatement- 抛出:
SQLException
-
setNClob
public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException- 指定者:
setNClob在接口中PreparedStatement- 抛出:
SQLException
-
setSQLXML
public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException- 指定者:
setSQLXML在接口中PreparedStatement- 抛出:
SQLException
-
setObject
public void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws SQLException- 指定者:
setObject在接口中PreparedStatement- 抛出:
SQLException
-
setAsciiStream
public void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException- 指定者:
setAsciiStream在接口中PreparedStatement- 抛出:
SQLException
-
setBinaryStream
public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException- 指定者:
setBinaryStream在接口中PreparedStatement- 抛出:
SQLException
-
setCharacterStream
public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException- 指定者:
setCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setAsciiStream
public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException- 指定者:
setAsciiStream在接口中PreparedStatement- 抛出:
SQLException
-
setBinaryStream
public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException- 指定者:
setBinaryStream在接口中PreparedStatement- 抛出:
SQLException
-
setCharacterStream
public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException- 指定者:
setCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setNCharacterStream
public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException- 指定者:
setNCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setClob
public void setClob(int parameterIndex, Reader reader) throws SQLException- 指定者:
setClob在接口中PreparedStatement- 抛出:
SQLException
-
setBlob
public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException- 指定者:
setBlob在接口中PreparedStatement- 抛出:
SQLException
-
setNClob
public void setNClob(int parameterIndex, Reader reader) throws SQLException- 指定者:
setNClob在接口中PreparedStatement- 抛出:
SQLException
-
-