Uses of Class
org.apache.accumulo.core.client.BatchWriterConfig
Package
Description
Mock framework for Accumulo
-
Uses of BatchWriterConfig in org.apache.accumulo.core.client
Modifier and TypeMethodDescriptionBatchWriterConfig.setDurability
(Durability durability) Change the durability for the BatchWriter session.BatchWriterConfig.setMaxLatency
(long maxLatency, TimeUnit timeUnit) Sets the maximum amount of time to hold the data in memory before flushing it to servers.
For no maximum, set to zero, orLong.MAX_VALUE
withTimeUnit.MILLISECONDS
.BatchWriterConfig.setMaxMemory
(long maxMemory) Sets the maximum memory to batch before writing.BatchWriterConfig.setMaxWriteThreads
(int maxWriteThreads) Sets the maximum number of threads to use for writing data to the tablet servers.BatchWriterConfig.setTimeout
(long timeout, TimeUnit timeUnit) Sets the maximum amount of time an unresponsive server will be re-tried.Modifier and TypeMethodDescriptionabstract BatchDeleter
Connector.createBatchDeleter
(String tableName, Authorizations authorizations, int numQueryThreads, BatchWriterConfig config) abstract BatchWriter
Connector.createBatchWriter
(String tableName, BatchWriterConfig config) Factory method to create a BatchWriter connected to Accumulo.abstract MultiTableBatchWriter
Connector.createMultiTableBatchWriter
(BatchWriterConfig config) Factory method to create a Multi-Table BatchWriter connected to Accumulo. -
Uses of BatchWriterConfig in org.apache.accumulo.core.client.mapred
Modifier and TypeMethodDescriptionprotected static BatchWriterConfig
AccumuloOutputFormat.getBatchWriterOptions
(org.apache.hadoop.mapred.JobConf job) Gets theBatchWriterConfig
settings.Modifier and TypeMethodDescriptionstatic void
AccumuloOutputFormat.setBatchWriterOptions
(org.apache.hadoop.mapred.JobConf job, BatchWriterConfig bwConfig) Sets the configuration for for the job'sBatchWriter
instances. -
Uses of BatchWriterConfig in org.apache.accumulo.core.client.mapreduce
Modifier and TypeMethodDescriptionprotected static BatchWriterConfig
AccumuloOutputFormat.getBatchWriterOptions
(org.apache.hadoop.mapreduce.JobContext context) Gets theBatchWriterConfig
settings.Modifier and TypeMethodDescriptionstatic void
AccumuloOutputFormat.setBatchWriterOptions
(org.apache.hadoop.mapreduce.Job job, BatchWriterConfig bwConfig) Sets the configuration for for the job'sBatchWriter
instances. -
Uses of BatchWriterConfig in org.apache.accumulo.core.client.mapreduce.lib.util
Modifier and TypeMethodDescriptionstatic BatchWriterConfig
OutputConfigurator.getBatchWriterOptions
(Class<?> implementingClass, org.apache.hadoop.conf.Configuration conf) Deprecated.since 1.6.0; Configure your job with the appropriate InputFormat or OutputFormat.Modifier and TypeMethodDescriptionstatic void
OutputConfigurator.setBatchWriterOptions
(Class<?> implementingClass, org.apache.hadoop.conf.Configuration conf, BatchWriterConfig bwConfig) Deprecated.since 1.6.0; Configure your job with the appropriate InputFormat or OutputFormat. -
Uses of BatchWriterConfig in org.apache.accumulo.core.client.mock
Modifier and TypeMethodDescriptionMockConnector.createBatchDeleter
(String tableName, Authorizations authorizations, int numQueryThreads, BatchWriterConfig config) Deprecated.MockConnector.createBatchWriter
(String tableName, BatchWriterConfig config) Deprecated.MockConnector.createMultiTableBatchWriter
(BatchWriterConfig config) Deprecated.