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) |
DseCluster.Builder |
DseCluster.Builder.addContactPointsWithPorts(InetSocketAddress... addresses) |
DseCluster.Builder |
DseCluster.Builder.allowBetaProtocolVersion() |
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.withClientId(UUID id)
An optional configuration for providing a unique identifier for the created client instance.
|
DseCluster.Builder |
DseCluster.Builder.withCloudSecureConnectBundle(File cloudConfigFile) |
DseCluster.Builder |
DseCluster.Builder.withCloudSecureConnectBundle(InputStream cloudConfigInputStream) |
DseCluster.Builder |
DseCluster.Builder.withCloudSecureConnectBundle(URL cloudConfigUrl) |
DseCluster.Builder |
DseCluster.Builder.withClusterId(UUID id)
Deprecated.
Use
withClientId(UUID) } instead. This method was intended to give a
client id not cluster id from the beginning. The withClientId name is more appropriate. |
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.withEndPointFactory(EndPointFactory endPointFactory) |
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.withMonitorReporting(boolean enabled) |
DseCluster.Builder |
DseCluster.Builder.withNettyOptions(NettyOptions nettyOptions) |
DseCluster.Builder |
DseCluster.Builder.withNoCompact() |
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.withThreadingOptions(ThreadingOptions options) |
DseCluster.Builder |
DseCluster.Builder.withTimestampGenerator(TimestampGenerator timestampGenerator) |
Copyright © 2012–2019. All rights reserved.