类 DatabendPreparedStatement
java.lang.Object
com.databend.jdbc.DatabendStatement
com.databend.jdbc.DatabendPreparedStatement
- 所有已实现的接口:
AutoCloseable,PreparedStatement,Statement,Wrapper
-
字段概要
-
方法概要
修饰符和类型方法说明voidaddBatch()static com.databend.client.StageAttachmentbuildStateAttachment(DatabendConnection connection, String stagePath) This method is used to build a StageAttachment object which represents a stage in Databend.voidvoidvoidclose()static StringconvertArrayListToString(ArrayList<?> arrayList) static StringconvertArrayToString(Array array) static StringconvertSQLWithBatchValues(String baseSql, List<String[]> batchValues) static StringconvertToJsonString(Map<?, ?> map) booleanexecute()protected booleanexecute(List<StatementInfoWrapper> statements) int[]int[]int[]int[]intprotected voidvoidvoidsetAsciiStream(int i, InputStream inputStream) voidsetAsciiStream(int i, InputStream inputStream, int i1) voidsetAsciiStream(int i, InputStream inputStream, long l) voidsetBigDecimal(int i, BigDecimal bigDecimal) voidsetBinaryStream(int i, InputStream inputStream) voidsetBinaryStream(int i, InputStream inputStream, int i1) voidsetBinaryStream(int i, InputStream inputStream, long l) voidsetBlob(int i, InputStream inputStream) voidsetBlob(int i, InputStream inputStream, long l) voidvoidsetBoolean(int i, boolean b) voidsetByte(int i, byte b) voidsetBytes(int i, byte[] bytes) voidsetCharacterStream(int i, Reader reader) voidsetCharacterStream(int i, Reader reader, int i1) voidsetCharacterStream(int i, Reader reader, long l) voidvoidvoidvoidvoidvoidsetDouble(int i, double v) voidsetFloat(int i, float v) voidsetInt(int i, int i1) voidsetLong(int i, long l) voidsetNCharacterStream(int i, Reader reader) voidsetNCharacterStream(int i, Reader reader, long l) voidvoidvoidvoidsetNString(int i, String s) voidsetNull(int i, int i1) voidvoidvoidvoidvoidvoidvoidsetShort(int i, short i1) voidvoidvoidvoidvoidsetTimestamp(int i, Timestamp timestamp) voidsetTimestamp(int i, Timestamp timestamp, Calendar calendar) voidsetUnicodeStream(int i, InputStream inputStream, int i1) void从类继承的方法 com.databend.jdbc.DatabendStatement
addBatch, cancel, checkOpen, clearWarnings, closeOnCompletion, connection, execute, execute, execute, execute, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, optionalConnection, 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, clearWarnings, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, 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
-
方法详细资料
-
close
- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Statement- 覆盖:
close在类中DatabendStatement- 抛出:
SQLException
-
buildStateAttachment
public static com.databend.client.StageAttachment buildStateAttachment(DatabendConnection connection, String stagePath) This method is used to build a StageAttachment object which represents a stage in Databend. A stage in Databend is a temporary storage area where data files are stored before being loaded into the Databend database.- 参数:
connection- The DatabendConnection object which contains the connection details to the Databend database.stagePath- The path of the stage in the Databend database.- 返回:
- A StageAttachment object which contains the details of the stage.
-
executeBatchByAttachment
- 抛出:
SQLException
-
executeBatchByCopyInto
- 抛出:
SQLException
-
executeBatchDelete
- 抛出:
SQLException
-
convertSQLWithBatchValues
-
executeBatch
- 指定者:
executeBatch在接口中Statement- 覆盖:
executeBatch在类中DatabendStatement- 抛出:
SQLException
-
executeQuery
- 指定者:
executeQuery在接口中PreparedStatement- 抛出:
SQLException
-
execute
- 指定者:
execute在接口中PreparedStatement- 抛出:
SQLException
-
execute
- 抛出:
SQLException
-
handleBatchInsert
- 抛出:
SQLException
-
executeUpdate
- 指定者:
executeUpdate在接口中PreparedStatement- 抛出:
SQLException
-
setNull
- 指定者:
setNull在接口中PreparedStatement- 抛出:
SQLException
-
setBoolean
- 指定者:
setBoolean在接口中PreparedStatement- 抛出:
SQLException
-
setByte
- 指定者:
setByte在接口中PreparedStatement- 抛出:
SQLException
-
setShort
- 指定者:
setShort在接口中PreparedStatement- 抛出:
SQLException
-
setInt
- 指定者:
setInt在接口中PreparedStatement- 抛出:
SQLException
-
setLong
- 指定者:
setLong在接口中PreparedStatement- 抛出:
SQLException
-
setFloat
- 指定者:
setFloat在接口中PreparedStatement- 抛出:
SQLException
-
setDouble
- 指定者:
setDouble在接口中PreparedStatement- 抛出:
SQLException
-
setBigDecimal
- 指定者:
setBigDecimal在接口中PreparedStatement- 抛出:
SQLException
-
setString
- 指定者:
setString在接口中PreparedStatement- 抛出:
SQLException
-
setBytes
- 指定者:
setBytes在接口中PreparedStatement- 抛出:
SQLException
-
setDate
- 指定者:
setDate在接口中PreparedStatement- 抛出:
SQLException
-
setTime
- 指定者:
setTime在接口中PreparedStatement- 抛出:
SQLException
-
setTimestamp
- 指定者:
setTimestamp在接口中PreparedStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中PreparedStatement- 抛出:
SQLException
-
setUnicodeStream
- 指定者:
setUnicodeStream在接口中PreparedStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中PreparedStatement- 抛出:
SQLException
-
clearParameters
- 指定者:
clearParameters在接口中PreparedStatement- 抛出:
SQLException
-
setObject
- 指定者:
setObject在接口中PreparedStatement- 抛出:
SQLException
-
setObject
- 指定者:
setObject在接口中PreparedStatement- 抛出:
SQLException
-
convertToJsonString
-
convertArrayToString
-
convertArrayListToString
-
addBatch
- 指定者:
addBatch在接口中PreparedStatement- 抛出:
SQLException
-
clearBatch
- 指定者:
clearBatch在接口中Statement- 覆盖:
clearBatch在类中DatabendStatement- 抛出:
SQLException
-
setCharacterStream
- 指定者:
setCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setRef
- 指定者:
setRef在接口中PreparedStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中PreparedStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中PreparedStatement- 抛出:
SQLException
-
setArray
- 指定者:
setArray在接口中PreparedStatement- 抛出:
SQLException
-
getMetaData
- 指定者:
getMetaData在接口中PreparedStatement- 抛出:
SQLException
-
setDate
- 指定者:
setDate在接口中PreparedStatement- 抛出:
SQLException
-
setTime
- 指定者:
setTime在接口中PreparedStatement- 抛出:
SQLException
-
setTimestamp
- 指定者:
setTimestamp在接口中PreparedStatement- 抛出:
SQLException
-
setNull
- 指定者:
setNull在接口中PreparedStatement- 抛出:
SQLException
-
setURL
- 指定者:
setURL在接口中PreparedStatement- 抛出:
SQLException
-
getParameterMetaData
- 指定者:
getParameterMetaData在接口中PreparedStatement- 抛出:
SQLException
-
setRowId
- 指定者:
setRowId在接口中PreparedStatement- 抛出:
SQLException
-
setNString
- 指定者:
setNString在接口中PreparedStatement- 抛出:
SQLException
-
setNCharacterStream
- 指定者:
setNCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中PreparedStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中PreparedStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中PreparedStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中PreparedStatement- 抛出:
SQLException
-
setSQLXML
- 指定者:
setSQLXML在接口中PreparedStatement- 抛出:
SQLException
-
setObject
- 指定者:
setObject在接口中PreparedStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中PreparedStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中PreparedStatement- 抛出:
SQLException
-
setCharacterStream
- 指定者:
setCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中PreparedStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中PreparedStatement- 抛出:
SQLException
-
setCharacterStream
- 指定者:
setCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setNCharacterStream
- 指定者:
setNCharacterStream在接口中PreparedStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中PreparedStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中PreparedStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中PreparedStatement- 抛出:
SQLException
-