Package com.newrelic.api.agent
Interface DatastoreParameters.SlowQueryWithInputParameter
-
- All Superinterfaces:
DatastoreParameters.Build
- All Known Implementing Classes:
DatastoreParameters.Builder
- Enclosing class:
- DatastoreParameters
public static interface DatastoreParameters.SlowQueryWithInputParameter extends DatastoreParameters.Build
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> DatastoreParameters.Build
slowQueryWithInput(java.lang.String inputQueryLabel, T rawInputQuery, QueryConverter<T> rawInputQueryConverter)
Set an input query and converter to be used when reporting this call as a slow query.-
Methods inherited from interface com.newrelic.api.agent.DatastoreParameters.Build
build, cloudResourceId
-
-
-
-
Method Detail
-
slowQueryWithInput
<T> DatastoreParameters.Build slowQueryWithInput(java.lang.String inputQueryLabel, T rawInputQuery, QueryConverter<T> rawInputQueryConverter)
Set an input query and converter to be used when reporting this call as a slow query. The input query could be anything from "Hibernate HQL" to a custom query language that gets converted into SQL.- Type Parameters:
T
- The type of the input query- Parameters:
inputQueryLabel
- The label used to display this input query in the UI.rawInputQuery
- The raw input query object used for transforming into a raw and obfuscated input query stringrawInputQueryConverter
- A converter to transform the rawInputQuery into a raw and obfuscated input query string- Returns:
- the next builder interface
-
-