Package com.newrelic.api.agent
Interface DatastoreParameters.SlowQueryParameter
-
- All Superinterfaces:
DatastoreParameters.Build
- All Known Implementing Classes:
DatastoreParameters.Builder
- Enclosing class:
- DatastoreParameters
public static interface DatastoreParameters.SlowQueryParameter extends DatastoreParameters.Build
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DatastoreParameters.SlowQueryWithInputParameternoSlowQuery()No slow query information recorded.<T> DatastoreParameters.SlowQueryWithInputParameterslowQuery(T rawQuery, QueryConverter<T> queryConverter)Set a raw query and queryConverter 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
-
slowQuery
<T> DatastoreParameters.SlowQueryWithInputParameter slowQuery(T rawQuery, QueryConverter<T> queryConverter)
Set a raw query and queryConverter to be used when reporting this call as a slow query- Type Parameters:
T- The type of the query- Parameters:
rawQuery- The raw query object used for transforming into a raw and obfuscated query stringqueryConverter- A converter to transform the rawQuery into a raw and obfuscated query string- Returns:
- the next builder interface
-
noSlowQuery
DatastoreParameters.SlowQueryWithInputParameter noSlowQuery()
No slow query information recorded.- Returns:
- the next builder interface
-
-