程序包 org.apache.iotdb.jdbc

## 类 IoTDBPreparedInsertionStatement

- java.lang.Object
- - org.apache.iotdb.jdbc.IoTDBStatement
  - - org.apache.iotdb.jdbc.IoTDBPreparedStatement
    - - org.apache.iotdb.jdbc.IoTDBPreparedInsertionStatement

所有已实现的接口:
  `java.lang.AutoCloseable`, `java.sql.PreparedStatement`, `java.sql.Statement`, `java.sql.Wrapper`

    public class IoTDBPreparedInsertionStatement
    extends IoTDBPreparedStatement

### 字段概要

### 从类继承的字段 org.apache.iotdb.jdbc.IoTDBStatement

`client, stmtId`

### 从接口继承的字段 java.sql.Statement

`CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO`

### 构造器概要

构造器
`IoTDBPreparedInsertionStatement​(IoTDBConnection connection, org.apache.iotdb.service.rpc.thrift.TSIService.Iface client, org.apache.iotdb.service.rpc.thrift.TS_SessionHandle sessionHandle, java.time.ZoneId zoneId)`

### 方法概要

所有方法 实例方法 具体方法
`boolean` `execute()`
`void` `setDeviceId​(java.lang.String deviceId)`
`void` `setMeasurements​(java.util.List<java.lang.String> measurements)`
`void` `setTimestamp​(long timestamp)`
`void` `setValues​(java.util.List<java.lang.String> values)`

### 从类继承的方法 org.apache.iotdb.jdbc.IoTDBPreparedStatement

`addBatch, clearParameters, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL`

### 从类继承的方法 org.apache.iotdb.jdbc.IoTDBStatement

`addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, 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`

### 构造器详细资料

#### IoTDBPreparedInsertionStatement

    public IoTDBPreparedInsertionStatement​(IoTDBConnection connection,
                                           org.apache.iotdb.service.rpc.thrift.TSIService.Iface client,
                                           org.apache.iotdb.service.rpc.thrift.TS_SessionHandle sessionHandle,
                                           java.time.ZoneId zoneId)
                                    throws java.sql.SQLException

抛出:
  `java.sql.SQLException`

### 方法详细资料

#### execute

    public boolean execute()
                    throws java.sql.SQLException

指定者:
  `execute` 在接口中 `java.sql.PreparedStatement`
覆盖:
  `execute` 在类中 `IoTDBPreparedStatement`
抛出:
  `java.sql.SQLException`

#### setTimestamp

    public void setTimestamp​(long timestamp)

#### setDeviceId

    public void setDeviceId​(java.lang.String deviceId)

#### setMeasurements

    public void setMeasurements​(java.util.List<java.lang.String> measurements)

#### setValues

    public void setValues​(java.util.List<java.lang.String> values)