Package com.newrelic.api.agent
Class SlowQueryDatastoreParameters<T>
- java.lang.Object
-
- com.newrelic.api.agent.DatastoreParameters
-
- com.newrelic.api.agent.SlowQueryDatastoreParameters<T>
-
- All Implemented Interfaces:
ExternalParameters
- Direct Known Subclasses:
SlowQueryWithInputDatastoreParameters
public class SlowQueryDatastoreParameters<T> extends DatastoreParameters
The input parameters required to report a slow datastore query on theTracedMethod
. Do not use this class directly. Instead useDatastoreParameters
.- Since:
- 3.36.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.newrelic.api.agent.DatastoreParameters
DatastoreParameters.Build, DatastoreParameters.Builder, DatastoreParameters.CollectionParameter, DatastoreParameters.DatabaseParameter, DatastoreParameters.InstanceParameter, DatastoreParameters.OperationParameter, DatastoreParameters.SlowQueryParameter, DatastoreParameters.SlowQueryWithInputParameter
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SlowQueryDatastoreParameters(DatastoreParameters datastoreParameters, T rawQuery, QueryConverter<T> queryConverter)
protected
SlowQueryDatastoreParameters(SlowQueryDatastoreParameters<T> slowQueryDatastoreParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryConverter<T>
getQueryConverter()
Returns the converter implementation used to transform the raw query into a stringT
getRawQuery()
Returns the raw query object used for processing.-
Methods inherited from class com.newrelic.api.agent.DatastoreParameters
getCloudResourceId, getCollection, getDatabaseName, getHost, getOperation, getPathOrId, getPort, getProduct, product
-
-
-
-
Constructor Detail
-
SlowQueryDatastoreParameters
protected SlowQueryDatastoreParameters(DatastoreParameters datastoreParameters, T rawQuery, QueryConverter<T> queryConverter)
-
SlowQueryDatastoreParameters
protected SlowQueryDatastoreParameters(SlowQueryDatastoreParameters<T> slowQueryDatastoreParameters)
-
-
Method Detail
-
getRawQuery
public T getRawQuery()
Returns the raw query object used for processing.- Returns:
- raw query object
- Since:
- 3.36.0
-
getQueryConverter
public QueryConverter<T> getQueryConverter()
Returns the converter implementation used to transform the raw query into a string- Returns:
- query converter implementation
- Since:
- 3.36.0
-
-