public class BenchmarkColumnSchema extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BenchmarkColumnSchema.ValueDistribution
SEQUENTIAL: Generate integer or enumerated values in sequence.
|
Modifier and Type | Method and Description |
---|---|
BenchmarkColumnSchema.ValueDistribution |
getDistributionType() |
Double |
getEndDouble() |
Integer |
getEndInt() |
List<Double> |
getEnumeratedProbabilities() |
List<Object> |
getEnumeratedValues() |
Double |
getMean() |
String |
getName() |
Double |
getNullProbability() |
int |
getRowSize() |
Double |
getStandardDeviation() |
Double |
getStartDouble() |
Integer |
getStartInt() |
ValueType |
getType() |
Double |
getZipfExponent() |
boolean |
isMetric() |
static BenchmarkColumnSchema |
makeContinuousUniform(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
double startDouble,
double endDouble) |
static BenchmarkColumnSchema |
makeDiscreteUniform(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
int startInt,
int endInt) |
static BenchmarkColumnSchema |
makeEnumerated(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
List<Object> enumeratedValues,
List<Double> enumeratedProbabilities) |
static BenchmarkColumnSchema |
makeEnumeratedDiscreteUniform(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
List<Object> enumeratedValues) |
static BenchmarkColumnSchema |
makeEnumeratedSequential(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
List<Object> enumeratedValues) |
static BenchmarkColumnSchema |
makeEnumeratedZipf(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
List<Object> enumeratedValues,
Double zipfExponent) |
BenchmarkColumnValueGenerator |
makeGenerator(long seed) |
static BenchmarkColumnSchema |
makeNormal(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
Double mean,
Double standardDeviation,
boolean useRounding) |
static BenchmarkColumnSchema |
makeSequential(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
int startInt,
int endInt) |
static BenchmarkColumnSchema |
makeZipf(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
int startInt,
int endInt,
Double zipfExponent) |
public BenchmarkColumnValueGenerator makeGenerator(long seed)
public String getName()
public Double getNullProbability()
public ValueType getType()
public boolean isMetric()
public BenchmarkColumnSchema.ValueDistribution getDistributionType()
public int getRowSize()
public Integer getStartInt()
public Integer getEndInt()
public Double getStartDouble()
public Double getEndDouble()
public Double getZipfExponent()
public Double getMean()
public Double getStandardDeviation()
public static BenchmarkColumnSchema makeSequential(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, int startInt, int endInt)
public static BenchmarkColumnSchema makeEnumeratedSequential(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, List<Object> enumeratedValues)
public static BenchmarkColumnSchema makeDiscreteUniform(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, int startInt, int endInt)
public static BenchmarkColumnSchema makeEnumeratedDiscreteUniform(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, List<Object> enumeratedValues)
public static BenchmarkColumnSchema makeContinuousUniform(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, double startDouble, double endDouble)
public static BenchmarkColumnSchema makeNormal(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, Double mean, Double standardDeviation, boolean useRounding)
public static BenchmarkColumnSchema makeZipf(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, int startInt, int endInt, Double zipfExponent)
public static BenchmarkColumnSchema makeEnumeratedZipf(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, List<Object> enumeratedValues, Double zipfExponent)
Copyright © 2011–2017. All rights reserved.