类 IoTDBPreparedInsertionStatement

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

    public class IoTDBPreparedInsertionStatement
    extends IoTDBPreparedStatement
    • 构造器详细资料

      • 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)