public class BenchmarkUtils extends Object
Constructor and Description |
---|
BenchmarkUtils() |
Modifier and Type | Method and Description |
---|---|
static Map<String,Map<String,Map<String,?>>> |
parseJsonFile(String path)
Loads benchmark configuration maps from the provided json file.
|
static BenchmarkResult |
runBenchmark(org.apache.flink.table.api.bridge.java.StreamTableEnvironment tEnv,
String name,
Map<String,Map<String,?>> params,
boolean dryRun)
Instantiates a benchmark from its parameter map and executes the benchmark in the provided
environment.
|
public static Map<String,Map<String,Map<String,?>>> parseJsonFile(String path) throws IOException
IOException
public static BenchmarkResult runBenchmark(org.apache.flink.table.api.bridge.java.StreamTableEnvironment tEnv, String name, Map<String,Map<String,?>> params, boolean dryRun) throws Exception
Exception
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.