| Modifier and Type | Field and Description |
|---|---|
static String |
USE_BATCH_API_PROPERTY |
| Constructor and Description |
|---|
WriteWorkload(PhoenixUtil phoenixUtil,
Properties properties,
XMLConfigParser parser,
Scenario scenario,
PherfConstants.GeneratePhoenixStats generateStatistics)
Default the writers to use up all available cores for threads.
|
WriteWorkload(PhoenixUtil util,
XMLConfigParser parser,
PherfConstants.GeneratePhoenixStats generateStatistics) |
WriteWorkload(PhoenixUtil phoenixUtil,
XMLConfigParser parser,
Scenario scenario,
PherfConstants.GeneratePhoenixStats generateStatistics) |
WriteWorkload(XMLConfigParser parser) |
WriteWorkload(XMLConfigParser parser,
PherfConstants.GeneratePhoenixStats generateStatistics) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete()
Use this method to perform any cleanup or forced shutdown of the thread.
|
Runnable |
execute() |
int |
getBatchSize() |
XMLConfigParser |
getParser() |
RulesApplier |
getRulesApplier() |
int |
getThreadPoolSize() |
Future<org.apache.phoenix.pherf.workload.WriteWorkload.Info> |
upsertData(Scenario scenario,
List<Column> columns,
String tableName,
int rowCount,
DataLoadThreadTime dataLoadThreadTime,
boolean useBatchApi) |
public static final String USE_BATCH_API_PROPERTY
public WriteWorkload(XMLConfigParser parser) throws Exception
Exceptionpublic WriteWorkload(XMLConfigParser parser, PherfConstants.GeneratePhoenixStats generateStatistics) throws Exception
Exceptionpublic WriteWorkload(PhoenixUtil util, XMLConfigParser parser, PherfConstants.GeneratePhoenixStats generateStatistics) throws Exception
Exceptionpublic WriteWorkload(PhoenixUtil phoenixUtil, XMLConfigParser parser, Scenario scenario, PherfConstants.GeneratePhoenixStats generateStatistics) throws Exception
Exceptionpublic WriteWorkload(PhoenixUtil phoenixUtil, Properties properties, XMLConfigParser parser, Scenario scenario, PherfConstants.GeneratePhoenixStats generateStatistics) throws Exception
phoenixUtil - PhoenixUtil Query helperproperties - Properties default properties to useparser - XMLConfigParserscenario - Scenario If null is passed
it will run against all scenarios in the parsers list.Exceptionpublic void complete()
Workloadpublic Future<org.apache.phoenix.pherf.workload.WriteWorkload.Info> upsertData(Scenario scenario, List<Column> columns, String tableName, int rowCount, DataLoadThreadTime dataLoadThreadTime, boolean useBatchApi)
public XMLConfigParser getParser()
public RulesApplier getRulesApplier()
public int getBatchSize()
public int getThreadPoolSize()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.