Package org.apache.solr.bench.generators
Class IntegersDSL.IntegerDomainBuilder
- java.lang.Object
-
- org.apache.solr.bench.generators.IntegersDSL.IntegerDomainBuilder
-
- Enclosing class:
- IntegersDSL
public class IntegersDSL.IntegerDomainBuilder extends Object
The type Integer domain builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegersDSL.IntegerDomainBuilder
maxCardinality(int max)
Max cardinality integer domain builder.SolrGen<Integer>
upTo(int endExclusive)
Generates integers within the interval specified with an inclusive lower bound and exclusive upper bound.SolrGen<Integer>
upToAndIncluding(int endInclusive)
Generates integers within the interval specified with an inclusive lower and upper bound.
-
-
-
Method Detail
-
maxCardinality
public IntegersDSL.IntegerDomainBuilder maxCardinality(int max)
Max cardinality integer domain builder.- Parameters:
max
- the max- Returns:
- the integer domain builder
-
upToAndIncluding
public SolrGen<Integer> upToAndIncluding(int endInclusive)
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
-
-