Class DbRequest
java.lang.Object
io.opentelemetry.instrumentation.jdbc.internal.DbRequest
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DbRequeststatic DbRequestcreate(DbInfo dbInfo, String queryText, Long batchSize, Map<String, String> preparedStatementParameters, boolean parameterizedQuery) static DbRequestcreate(DbInfo dbInfo, Collection<String> queryTexts, Long batchSize, Map<String, String> preparedStatementParameters, boolean parameterizedQuery) static DbRequestcreate(PreparedStatement statement, Map<String, String> preparedStatementParameters) static DbRequeststatic DbRequestcreate(Statement statement, String dbQueryString, Long batchSize, Map<String, String> preparedStatementParameters, boolean parameterizedQuery) static DbRequestcreate(Statement statement, Collection<String> queryTexts, Long batchSize, boolean parameterizedQuery) static DbRequestcreateTransaction(DbInfo dbInfo, String operationName) static DbRequestcreateTransaction(Connection connection, String operationName) abstract Longabstract DbInfoabstract Stringabstract Collection<String> abstract boolean
-
Constructor Details
-
DbRequest
public DbRequest()
-
-
Method Details
-
create
-
create
-
create
-
create
public static DbRequest create(Statement statement, Collection<String> queryTexts, Long batchSize, boolean parameterizedQuery) -
create
-
create
-
create
-
createTransaction
-
createTransaction
-
getDbInfo
-
getQueryTexts
-
getBatchSize
-
getOperationName
-
getPreparedStatementParameters
-
isParameterizedQuery
public abstract boolean isParameterizedQuery()
-