Package org.apache.accumulo.core.client
Interface AccumuloClient.ConnectionOptions<T>
- All Superinterfaces:
AccumuloClient.ClientFactory<T>
- All Known Subinterfaces:
AccumuloClient.FromOptions<T>
- Enclosing interface:
- AccumuloClient
Build methods for connection options
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbatchScannerQueryThreads
(int numQueryThreads) Build with default number of query threads for BatchScannerbatchWriterConfig
(BatchWriterConfig batchWriterConfig) Build with BatchWriterConfig defaults for BatchWriter, MultiTableBatchWriter & BatchDeleterscannerBatchSize
(int batchSize) Build with default batch size for ScanneruseSasl()
Build with SASL optionsuseSsl()
Build with SSL/TLS optionszkTimeout
(int timeout) Build using Zookeeper timeoutMethods inherited from interface org.apache.accumulo.core.client.AccumuloClient.ClientFactory
build, withUncaughtExceptionHandler
-
Method Details
-
zkTimeout
Build using Zookeeper timeout- Parameters:
timeout
- Zookeeper timeout (in milliseconds)- Returns:
- this builder
-
useSsl
AccumuloClient.SslOptions<T> useSsl()Build with SSL/TLS options- Returns:
- this builder
-
useSasl
AccumuloClient.SaslOptions<T> useSasl()Build with SASL options- Returns:
- this builder
-
batchWriterConfig
Build with BatchWriterConfig defaults for BatchWriter, MultiTableBatchWriter & BatchDeleter- Parameters:
batchWriterConfig
- BatchWriterConfig- Returns:
- this builder
-
batchScannerQueryThreads
Build with default number of query threads for BatchScanner -
scannerBatchSize
Build with default batch size for Scanner
-