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 |
---|---|
SamplerConfiguration |
ScannerOptions.getSamplerConfiguration() |
SamplerConfiguration |
BaseIteratorEnvironment.getSamplerConfiguration() |
SamplerConfiguration |
TableOperationsImpl.getSamplerConfiguration(String tableName) |
Modifier and Type | Method and Description |
---|---|
void |
ScannerOptions.setSamplerConfiguration(SamplerConfiguration samplerConfig) |
void |
TableOperationsImpl.setSamplerConfiguration(String tableName,
SamplerConfiguration samplerConfiguration) |
Constructor and Description |
---|
ScanState(ClientContext context,
Table.ID tableId,
Authorizations authorizations,
Range range,
SortedSet<Column> fetchedColumns,
int size,
List<IterInfo> serverSideIteratorList,
Map<String,Map<String,String>> serverSideIteratorOptions,
boolean isolated,
long readaheadThreshold,
SamplerConfiguration samplerConfig,
long batchTimeOut,
String classLoaderContext,
Map<String,String> executionHints) |
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 |
Sampler.init(SamplerConfiguration config)
An implementation of Sampler must have a noarg constructor.
|
void |
RowColumnSampler.init(SamplerConfiguration config) |
void |
AbstractHashSampler.init(SamplerConfiguration config)
Subclasses with options should override this method and call
super.init(config) . |
Modifier and Type | Method and Description |
---|---|
SamplerConfiguration |
IteratorEnvironment.getSamplerConfiguration() |
Modifier and Type | Method and Description |
---|---|
static SamplerConfiguration |
SamplerConfigurationImpl.fromThrift(TSamplerConfiguration tsc) |
SamplerConfiguration |
SamplerConfigurationImpl.toSamplerConfiguration() |
Modifier and Type | Method and Description |
---|---|
static TSamplerConfiguration |
SamplerConfigurationImpl.toThrift(SamplerConfiguration samplerConfig) |
Constructor and Description |
---|
SamplerConfigurationImpl(SamplerConfiguration sc) |
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.