public class DataLoader extends Object
| Constructor and Description |
|---|
DataLoader(PhoenixUtil phoenixUtil,
Properties properties,
XMLConfigParser parser)
Default the writers to use up all available cores for threads.
|
DataLoader(PhoenixUtil phoenixUtil,
XMLConfigParser parser) |
DataLoader(XMLConfigParser parser) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
int |
getBatchSize() |
XMLConfigParser |
getParser() |
RulesApplier |
getRulesApplier() |
int |
getThreadPoolSize() |
void |
updatePhoenixStats(String tableName)
TODO Move this method to PhoenixUtil
Update Phoenix table stats
|
Future<org.apache.phoenix.pherf.loaddata.DataLoader.Info> |
upsertData(Scenario scenario,
List<Column> columns,
String tableName,
int rowCount,
DataLoadThreadTime dataLoadThreadTime) |
public DataLoader(XMLConfigParser parser) throws Exception
Exceptionpublic DataLoader(PhoenixUtil phoenixUtil, XMLConfigParser parser) throws Exception
Exceptionpublic DataLoader(PhoenixUtil phoenixUtil, Properties properties, XMLConfigParser parser) throws Exception
parser - Exceptionpublic void updatePhoenixStats(String tableName) throws Exception
tableName - Exceptionpublic Future<org.apache.phoenix.pherf.loaddata.DataLoader.Info> upsertData(Scenario scenario, List<Column> columns, String tableName, int rowCount, DataLoadThreadTime dataLoadThreadTime)
public XMLConfigParser getParser()
public RulesApplier getRulesApplier()
public int getBatchSize()
public int getThreadPoolSize()
Copyright © 2015 Apache Software Foundation. All Rights Reserved.