public static class AbstractRelNodeGetRelTypeNameBenchmark.ClassNameState extends Object
RelNode interface.| Modifier and Type | Field and Description |
|---|---|
private String[] |
fullNames |
private Random |
r |
private long |
seed |
| Constructor and Description |
|---|
ClassNameState() |
| Modifier and Type | Method and Description |
|---|---|
String |
nextName()
Returns a pseudo-random class name that corresponds to an implementor of the RelNode
interface.
|
void |
setupRandom()
Sets up the random number generator at the beginning of each iteration.
|
public void setupRandom()
To have relatively comparable results the generator should always use the same seed for the whole duration of the benchmark.
public String nextName()
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.