Package org.apache.solr.bench.generators
Class IntegersDSL.IntegerDomainBuilder
java.lang.Object
org.apache.solr.bench.generators.IntegersDSL.IntegerDomainBuilder
- Enclosing class:
IntegersDSL
The type Integer domain builder.
-
Method Summary
Modifier and TypeMethodDescriptionmaxCardinality(int max) Max cardinality integer domain builder.upTo(int endExclusive) Generates integers within the interval specified with an inclusive lower bound and exclusive upper bound.upToAndIncluding(int endInclusive) Generates integers within the interval specified with an inclusive lower and upper bound.
-
Method Details
-
maxCardinality
Max cardinality integer domain builder.- Parameters:
max- the max- Returns:
- the integer domain builder
-
upToAndIncluding
Generates integers within the interval specified with an inclusive lower and upper bound.- Parameters:
endInclusive- - inclusive upper bound of domain- Returns:
- a Source of type Integer
-
upTo
Generates integers within the interval specified with an inclusive lower bound and exclusive upper bound.- Parameters:
endExclusive- - exclusive upper bound of domain- Returns:
- a Source of type Integer
-