Modifier and Type | Method and Description |
---|---|
SamplerConfiguration |
ClientSideIteratorScanner.getIteratorSamplerConfiguration() |
SamplerConfiguration |
ScannerBase.getSamplerConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
ClientSideIteratorScanner.setIteratorSamplerConfiguration(SamplerConfiguration sc)
This is provided for the case where no sampler configuration is set on the scanner, but there
is a need to create iterator deep copies that have sampling enabled.
|
void |
ScannerBase.setSamplerConfiguration(SamplerConfiguration samplerConfig)
Setting this will cause the scanner to read sample data, as long as that sample data was
generated with the given configuration.
|
Modifier and Type | Method and Description |
---|---|
SamplerConfiguration |
TableOperations.getSamplerConfiguration(String tableName)
Reads the sampling configuration properties for a table.
|
Modifier and Type | Method and Description |
---|---|
NewTableConfiguration |
NewTableConfiguration.enableSampling(SamplerConfiguration samplerConfiguration)
Enable building a sample data set on the new table using the given sampler configuration.
|
void |
TableOperations.setSamplerConfiguration(String tableName,
SamplerConfiguration samplerConfiguration)
Set or update the sampler configuration for a table.
|
Modifier and Type | Method and Description |
---|---|
static void |
AccumuloFileOutputFormat.setSampler(org.apache.hadoop.mapred.JobConf job,
SamplerConfiguration samplerConfig)
Specify a sampler to be used when writing out data.
|
static void |
InputFormatBase.setSamplerConfiguration(org.apache.hadoop.mapred.JobConf job,
SamplerConfiguration samplerConfig)
Causes input format to read sample data.
|
Modifier and Type | Method and Description |
---|---|
SamplerConfiguration |
InputTableConfig.getSamplerConfiguration() |
SamplerConfiguration |
RangeInputSplit.getSamplerConfiguration() |
Modifier and Type | Method and Description |
---|---|
static void |
AccumuloFileOutputFormat.setSampler(org.apache.hadoop.mapreduce.Job job,
SamplerConfiguration samplerConfig)
Specify a sampler to be used when writing out data.
|
static void |
InputFormatBase.setSamplerConfiguration(org.apache.hadoop.mapreduce.Job job,
SamplerConfiguration samplerConfig)
Causes input format to read sample data.
|
void |
InputTableConfig.setSamplerConfiguration(SamplerConfiguration samplerConfiguration)
Set the sampler configuration to use when reading from the data.
|
void |
RangeInputSplit.setSamplerConfiguration(SamplerConfiguration samplerConfiguration) |
Modifier and Type | Method and Description |
---|---|
RFile.WriterOptions |
RFile.WriterOptions.withSampler(SamplerConfiguration samplerConf)
An option to store sample data in the generated RFile.
|
Modifier and Type | Method and Description |
---|---|
SamplerConfiguration |
SamplerConfiguration.addOption(String option,
String value) |
SamplerConfiguration |
SamplerConfiguration.setOptions(Map<String,String> options) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractHashSampler.init(SamplerConfiguration config)
Subclasses with options should override this method and call
super.init(config) . |
void |
RowColumnSampler.init(SamplerConfiguration config) |
void |
Sampler.init(SamplerConfiguration config)
An implementation of Sampler must have a noarg constructor.
|
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.