Uses of Class
org.apache.solr.bench.generators.SolrGen
Packages that use SolrGen
Package
Description
Support for running Solr benchmarks using OpenJDK's JMH
Type random generators that are built upon and maintain compatibility with QuickTheories
-
Uses of SolrGen in org.apache.solr.bench
Methods in org.apache.solr.bench that return SolrGenModifier and TypeMethodDescriptionSolrGenerate.booleans()Booleans solr gen.SolrGenerate.codePoints(int startInclusive, int endInclusive) Code points solr gen.static <T> SolrGen<T> SolrGenerate.constant(T constant) Constant solr gen.static <T> SolrGen<T> Returns a generator that provides a value from a generator chosen with probability in proportion to the weight supplied in thePair.static <T> SolrGen<T> SolrGenerate.frequency(org.quicktheories.api.Pair<Integer, SolrGen<T>> mandatory, org.quicktheories.api.Pair<Integer, SolrGen<T>>... others) Returns a generator that provides a value from a generator chosen with probability in proportion to the weight supplied in thePair.static SolrGen<int[]> Int arrays solr gen.SolrGenerate.longRange(long startInclusive, long endInclusive) Long range solr gen.static <T> SolrGen<T> Returns a generator that provides a value from a random generator provided.static <T> SolrGen<T> Randomly returns one of the supplied valuesSolrGenerate.range(int startInclusive, int endInclusive) Range solr gen.Methods in org.apache.solr.bench with parameters of type SolrGenModifier and TypeMethodDescriptionField docs.static SolrGen<int[]> Int arrays solr gen.static <T> SolrGen<T> Returns a generator that provides a value from a random generator provided.Method parameters in org.apache.solr.bench with type arguments of type SolrGenModifier and TypeMethodDescriptionstatic <T> SolrGen<T> Returns a generator that provides a value from a generator chosen with probability in proportion to the weight supplied in thePair.static <T> SolrGen<T> SolrGenerate.frequency(org.quicktheories.api.Pair<Integer, SolrGen<T>> mandatory, org.quicktheories.api.Pair<Integer, SolrGen<T>>... others) Returns a generator that provides a value from a generator chosen with probability in proportion to the weight supplied in thePair. -
Uses of SolrGen in org.apache.solr.bench.generators
Subclasses of SolrGen in org.apache.solr.bench.generatorsMethods in org.apache.solr.bench.generators that return SolrGenModifier and TypeMethodDescriptionBooleansDSL.all()Generates either true or false randomly.DatesDSL.all()DoublesDSL.all()Generates Doubles inclusively bounded below by Double.NEGATIVE_INFINITY and above by Double.POSITIVE_INFINITY.FloatsDSL.all()Generates Floats inclusively bounded below by Float.NEGATIVE_INFINITY and above by Float.POSITIVE_INFINITY.IntegersDSL.all()Generates all possible integers in Java bounded below by Integer.MIN_VALUE and above by Integer.MAX_VALUE.LongsDSL.all()Generates all possible Longs in Java bounded below by Long.MIN_VALUE and above by Long.MAX_VALUE.IntegersDSL.allPositive()Generates all possible positive integers in Java, bounded above by Integer.MAX_VALUE.IntegersDSL.allPositiveWithMaxCardinality(int maxCardinality) All positive with max cardinality solr gen.IntegersDSL.allWithMaxCardinality(int maxCardinality) All with max cardinality solr gen.DoublesDSL.between(double minInclusive, double maxInclusive) Generates Doubles inclusively between two boundsIntegersDSL.between(int startInclusive, int endInclusive) Generates Integers within the interval specified with an inclusive lower and upper bound.IntegersDSL.between(int startInclusive, int endInclusive, int maxCardinality) Generates Integers within the interval specified with an inclusive lower and upper bound.LongsDSL.between(long startInclusive, long endInclusive) Generates Longs within the interval specified with an inclusive lower and upper bound.SolrGen.describedAs(String description) Described as solr gen.SolrGen.describedAs(org.quicktheories.api.AsString<T> asString) DoublesDSL.fromZeroToOne()Generates Doubles inclusively bounded below by zero and above by one.IntegersDSL.incrementing()Incrementing SolrGen.<R> SolrGen<R> Map solr gen.Mix solr gen.Mix solr gen.StringsDSL.RealisticUnicodeGeneratorBuilder.multi(int count) Multi solr gen.StringsDSL.WordListGeneratorBuilder.multi(int count) Multi solr gen.DoublesDSL.negative()Generates Doubles inclusively bounded below by Double.NEGATIVE_INFINITY and above by a value very close to zero on the negative side.StringsDSL.numeric()Generates integers as Strings, and shrinks towards "0".StringsDSL.numericBetween(int startInclusive, int endInclusive) Generates integers within the interval as Strings.StringsDSL.StringGeneratorBuilder.ofFixedNumberOfCodePoints(int codePoints) Generates Strings of a fixed number of code points.StringsDSL.StringGeneratorBuilder.ofLength(int fixedLength) Generates Strings of a fixed length.StringsDSL.StringGeneratorBuilder.ofLengthBetween(int minLength, int maxLength) Generates Strings of length bounded between minLength and maxLength inclusively.StringsDSL.RealisticUnicodeGeneratorBuilder.ofOne()Of one solr gen.StringsDSL.WordListGeneratorBuilder.ofOne()Of one solr gen.DoublesDSL.positive()Generates Doubles inclusively bounded below by a value very close to zero on the positive side and above by Double.POSITIVE_INFINITY.IntegersDSL.IntegerDomainBuilder.upTo(int endExclusive) Generates integers within the interval specified with an inclusive lower bound and exclusive upper bound.LongsDSL.LongDomainBuilder.upTo(long endExclusive) Generates Longs within the interval specified with an inclusive lower bound and exclusive upper bound.DoublesDSL.DoubleDomainBuilder.upToAndIncluding(double endInclusive) Generates within the interval specified with an inclusive lower and upper bound.IntegersDSL.IntegerDomainBuilder.upToAndIncluding(int endInclusive) Generates integers within the interval specified with an inclusive lower and upper bound.LongsDSL.LongDomainBuilder.upToAndIncluding(long endInclusive) Generates Longs within the interval specified with an inclusive lower and upper bound.SolrGen.withDistribution(Distribution distribution) With distribution solr gen.DatesDSL.withMilliseconds(long millisecondsFromEpoch) Generates Dates inclusively bounded between January 1, 1970, 00:00:00 GMT and new Date(milliSecondsFromEpoch).DatesDSL.withMillisecondsBetween(long millisecondsFromEpochStartInclusive, long millisecondsFromEpochEndInclusive) Generates Dates inclusively bounded between new Date(millisecondsFromEpochStartInclusive) and new Date(millisecondsFromEpochEndInclusive).Methods in org.apache.solr.bench.generators with parameters of type SolrGenModifier and TypeMethodDescription<K,V> MapsDSL.MapGeneratorBuilder <K, V> Creates a ListGeneratorBuilder.Constructor parameters in org.apache.solr.bench.generators with type arguments of type SolrGen