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 |
Modifier and Type | Field and Description |
---|---|
protected DriverExecutionProfile |
GraphStatementBuilderBase.executionProfile |
Modifier and Type | Method and Description |
---|---|
SelfT |
GraphStatement.setExecutionProfile(DriverExecutionProfile executionProfile)
Sets the configuration profile to use for execution.
|
SelfT |
GraphStatementBuilderBase.setExecutionProfile(DriverExecutionProfile executionProfile) |
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) |
default DriverExecutionProfile |
DriverExecutionProfile.withBoolean(DriverOption option,
boolean value) |
default DriverExecutionProfile |
DriverExecutionProfile.withBooleanList(DriverOption option,
List<Boolean> value) |
default DriverExecutionProfile |
DriverExecutionProfile.withBytes(DriverOption option,
long value) |
default DriverExecutionProfile |
DriverExecutionProfile.withBytesList(DriverOption option,
List<Long> value) |
default DriverExecutionProfile |
DriverExecutionProfile.withDouble(DriverOption option,
double value) |
default DriverExecutionProfile |
DriverExecutionProfile.withDoubleList(DriverOption option,
List<Double> value) |
default DriverExecutionProfile |
DriverExecutionProfile.withDuration(DriverOption option,
Duration value) |
default DriverExecutionProfile |
DriverExecutionProfile.withDurationList(DriverOption option,
List<Duration> value) |
default DriverExecutionProfile |
DriverExecutionProfile.withInt(DriverOption option,
int value) |
default DriverExecutionProfile |
DriverExecutionProfile.withIntList(DriverOption option,
List<Integer> value) |
default DriverExecutionProfile |
DriverExecutionProfile.withLong(DriverOption option,
long value) |
default DriverExecutionProfile |
DriverExecutionProfile.withLongList(DriverOption option,
List<Long> value) |
default DriverExecutionProfile |
DriverExecutionProfile.without(DriverOption option) |
default DriverExecutionProfile |
DriverExecutionProfile.withString(DriverOption option,
String value) |
default DriverExecutionProfile |
DriverExecutionProfile.withStringList(DriverOption option,
List<String> value) |
default DriverExecutionProfile |
DriverExecutionProfile.withStringMap(DriverOption option,
Map<String,String> value) |
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.
|
Copyright © 2017–2024. All rights reserved.