public static interface TableOperations.ImportMappingOptions extends TableOperations.ImportOptions
Modifier and Type | Field and Description |
---|---|
static String |
BULK_LOAD_THREADS_DEFAULT
This is the default number of threads used to determine where to load files.
|
Modifier and Type | Method and Description |
---|---|
TableOperations.ImportOptions |
executor(Executor service)
Files are examined to determine where to load them.
|
TableOperations.ImportOptions |
plan(LoadPlan service)
Load files in the directory to the row ranges specified in the plan.
|
TableOperations.ImportOptions |
threads(int numThreads)
Files are examined to determine where to load them.
|
load, tableTime
static final String BULK_LOAD_THREADS_DEFAULT
C
means to multiply by the number of cores.TableOperations.ImportOptions plan(LoadPlan service)
TableOperations.ImportOptions executor(Executor service)
bulk.threads
is used to create a thread pool. This property defaults to
.service
- Use this executor to run file examination taskTableOperations.ImportOptions threads(int numThreads)
bulk.threads
is used to create a thread pool. This property defaults to
.numThreads
- Create a thread pool with this many thread to run file examination task.Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.