Package | Description |
---|---|
com.datastax.dse.driver.api.core.graph | |
com.datastax.oss.driver.api.core.config |
The configuration of the driver.
|
com.datastax.oss.driver.api.core.cql | |
com.datastax.oss.driver.api.core.session | |
com.datastax.oss.driver.api.core.tracker | |
com.datastax.oss.driver.api.mapper |
Modifier and Type | Field and Description |
---|---|
protected DriverExecutionProfile |
GraphStatementBuilderBase.executionProfile |
Modifier and Type | Method and Description |
---|---|
SelfT |
GraphStatementBuilderBase.setExecutionProfile(DriverExecutionProfile executionProfile) |
SelfT |
GraphStatement.setExecutionProfile(DriverExecutionProfile executionProfile)
Sets the configuration profile to use for execution.
|
DseGraphRemoteConnectionBuilder |
DseGraphRemoteConnectionBuilder.withExecutionProfile(DriverExecutionProfile executionProfile)
Set a configuration profile that will be used for every traversal built using the remote
connection.
|
Modifier and Type | Method and Description |
---|---|
default DriverExecutionProfile |
DriverConfig.getDefaultProfile()
Alias to get the default profile, which is stored under the name
DEFAULT_NAME and always present. |
DriverExecutionProfile |
DriverConfig.getProfile(String profileName) |
Modifier and Type | Method and Description |
---|---|
Map<String,? extends DriverExecutionProfile> |
DriverConfig.getProfiles()
Returns an immutable view of all named profiles (including the default profile).
|
Modifier and Type | Field and Description |
---|---|
protected DriverExecutionProfile |
StatementBuilder.executionProfile |
Modifier and Type | Method and Description |
---|---|
DriverExecutionProfile |
PrepareRequest.getExecutionProfileForBoundStatements()
The execution profile to use for the bound statements that will be created from the prepared
statement.
|
Modifier and Type | Method and Description |
---|---|
SelfT |
StatementBuilder.setExecutionProfile(DriverExecutionProfile executionProfile) |
SelfT |
Statement.setExecutionProfile(DriverExecutionProfile newProfile)
Sets the execution profile to use for this statement.
|
Constructor and Description |
---|
BoundStatementBuilder(PreparedStatement preparedStatement,
ColumnDefinitions variableDefinitions,
ByteBuffer[] values,
String executionProfileName,
DriverExecutionProfile executionProfile,
CqlIdentifier routingKeyspace,
ByteBuffer routingKey,
Token routingToken,
Map<String,ByteBuffer> customPayload,
Boolean idempotent,
boolean tracing,
long timestamp,
ByteBuffer pagingState,
int pageSize,
ConsistencyLevel consistencyLevel,
ConsistencyLevel serialConsistencyLevel,
Duration timeout,
CodecRegistry codecRegistry,
ProtocolVersion protocolVersion) |
Modifier and Type | Method and Description |
---|---|
DriverExecutionProfile |
Request.getExecutionProfile()
The execution profile to use for this request, or
null if no profile has been set. |
Modifier and Type | Method and Description |
---|---|
default void |
RequestTracker.onError(Request request,
Throwable error,
long latencyNanos,
DriverExecutionProfile executionProfile,
Node node)
Deprecated.
This method only exists for backward compatibility. Override
RequestTracker.onError(Request, Throwable, long, DriverExecutionProfile, Node, String) instead. |
default void |
RequestTracker.onError(Request request,
Throwable error,
long latencyNanos,
DriverExecutionProfile executionProfile,
Node node,
String requestLogPrefix)
Invoked each time a request fails.
|
default void |
RequestTracker.onNodeError(Request request,
Throwable error,
long latencyNanos,
DriverExecutionProfile executionProfile,
Node node)
Deprecated.
This method only exists for backward compatibility. Override
RequestTracker.onNodeError(Request, Throwable, long, DriverExecutionProfile, Node, String) instead. |
default void |
RequestTracker.onNodeError(Request request,
Throwable error,
long latencyNanos,
DriverExecutionProfile executionProfile,
Node node,
String requestLogPrefix)
Invoked each time a request fails at the node level.
|
default void |
RequestTracker.onNodeSuccess(Request request,
long latencyNanos,
DriverExecutionProfile executionProfile,
Node node)
Deprecated.
This method only exists for backward compatibility. Override
RequestTracker.onNodeSuccess(Request, long, DriverExecutionProfile, Node, String) instead. |
default void |
RequestTracker.onNodeSuccess(Request request,
long latencyNanos,
DriverExecutionProfile executionProfile,
Node node,
String requestLogPrefix)
Invoked each time a request succeeds at the node level.
|
default void |
RequestTracker.onSuccess(Request request,
long latencyNanos,
DriverExecutionProfile executionProfile,
Node node)
Deprecated.
This method only exists for backward compatibility. Override
RequestTracker.onSuccess(Request, long, DriverExecutionProfile, Node, String) instead. |
default void |
RequestTracker.onSuccess(Request request,
long latencyNanos,
DriverExecutionProfile executionProfile,
Node node,
String requestLogPrefix)
Invoked each time a request succeeds.
|
Modifier and Type | Field and Description |
---|---|
protected DriverExecutionProfile |
MapperBuilder.defaultExecutionProfile |
Modifier and Type | Method and Description |
---|---|
DriverExecutionProfile |
MapperContext.getExecutionProfile()
If this context belongs to a DAO that was built with a method that takes an execution profile
as parameter, the value of that parameter.
|
Modifier and Type | Method and Description |
---|---|
MapperBuilder<MapperT> |
MapperBuilder.withDefaultExecutionProfile(DriverExecutionProfile executionProfile)
Specifies a default execution profile name that will be used for all DAOs built with this
mapper (unless they specify their own execution profile).
|
Copyright © 2017–2020. All rights reserved.