Package | Description |
---|---|
com.datastax.driver.dse |
Modifier and Type | Method and Description |
---|---|
DseCluster.Builder |
DseCluster.Builder.addContactPoint(String address) |
DseCluster.Builder |
DseCluster.Builder.addContactPoints(Collection<InetAddress> addresses) |
DseCluster.Builder |
DseCluster.Builder.addContactPoints(InetAddress... addresses) |
DseCluster.Builder |
DseCluster.Builder.addContactPoints(String... addresses) |
DseCluster.Builder |
DseCluster.Builder.addContactPointsWithPorts(Collection<InetSocketAddress> addresses) |
static DseCluster.Builder |
DseCluster.builder()
Creates a new
DseCluster.Builder instance. |
DseCluster.Builder |
DseCluster.Builder.withAddressTranslator(AddressTranslator translator) |
DseCluster.Builder |
DseCluster.Builder.withApplicationName(String name)
An optional configuration identifying the name of the application using this cluster.
|
DseCluster.Builder |
DseCluster.Builder.withApplicationVersion(String version)
An optional configuration identifying the version of the application using this cluster.
|
DseCluster.Builder |
DseCluster.Builder.withAuthProvider(AuthProvider authProvider) |
DseCluster.Builder |
DseCluster.Builder.withClusterId(UUID id)
An optional configuration for providing a unique identifier for the created cluster instance.
|
DseCluster.Builder |
DseCluster.Builder.withClusterName(String name) |
DseCluster.Builder |
DseCluster.Builder.withCodecRegistry(CodecRegistry codecRegistry) |
DseCluster.Builder |
DseCluster.Builder.withCompression(ProtocolOptions.Compression compression) |
DseCluster.Builder |
DseCluster.Builder.withCredentials(String username,
String password) |
DseCluster.Builder |
DseCluster.Builder.withGraphOptions(GraphOptions graphOptions)
Sets the default options to use with graph queries.
|
DseCluster.Builder |
DseCluster.Builder.withInitialListeners(Collection<Host.StateListener> listeners) |
DseCluster.Builder |
DseCluster.Builder.withLoadBalancingPolicy(LoadBalancingPolicy policy)
Configures the load balancing policy to use for the new DSE cluster.
|
DseCluster.Builder |
DseCluster.Builder.withMaxSchemaAgreementWaitSeconds(int maxSchemaAgreementWaitSeconds) |
DseCluster.Builder |
DseCluster.Builder.withNettyOptions(NettyOptions nettyOptions) |
DseCluster.Builder |
DseCluster.Builder.withoutGeospatialCodecs()
Prevents the registration of
geospatial
codecs with the new cluster. |
DseCluster.Builder |
DseCluster.Builder.withoutJMXReporting() |
DseCluster.Builder |
DseCluster.Builder.withoutMetrics() |
DseCluster.Builder |
DseCluster.Builder.withoutSearchCodecs()
Prevents the registration of search codecs with the new cluster.
|
DseCluster.Builder |
DseCluster.Builder.withPoolingOptions(PoolingOptions options) |
DseCluster.Builder |
DseCluster.Builder.withPort(int port) |
DseCluster.Builder |
DseCluster.Builder.withProtocolVersion(ProtocolVersion version) |
DseCluster.Builder |
DseCluster.Builder.withQueryOptions(QueryOptions options) |
DseCluster.Builder |
DseCluster.Builder.withReconnectionPolicy(ReconnectionPolicy policy) |
DseCluster.Builder |
DseCluster.Builder.withRetryPolicy(RetryPolicy policy) |
DseCluster.Builder |
DseCluster.Builder.withSocketOptions(SocketOptions options) |
DseCluster.Builder |
DseCluster.Builder.withSpeculativeExecutionPolicy(SpeculativeExecutionPolicy policy) |
DseCluster.Builder |
DseCluster.Builder.withSSL() |
DseCluster.Builder |
DseCluster.Builder.withSSL(SSLOptions sslOptions) |
DseCluster.Builder |
DseCluster.Builder.withTimestampGenerator(TimestampGenerator timestampGenerator) |
Copyright © 2012–2018. All rights reserved.