Package org.apache.solr.bench.generators
Class LongsDSL.LongDomainBuilder
java.lang.Object
org.apache.solr.bench.generators.LongsDSL.LongDomainBuilder
- Enclosing class:
LongsDSL
-
Method Summary
Modifier and TypeMethodDescriptionupTo(long endExclusive) Generates Longs within the interval specified with an inclusive lower bound and exclusive upper bound.upToAndIncluding(long endInclusive) Generates Longs within the interval specified with an inclusive lower and upper bound.
-
Method Details
-
upToAndIncluding
Generates Longs within the interval specified with an inclusive lower and upper bound.- Parameters:
endInclusive- - inclusive upper bound of domain- Returns:
- a Source of type Long
-
upTo
Generates Longs 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 Long
-