Class LongsDSL.LongDomainBuilder

java.lang.Object
org.apache.solr.bench.generators.LongsDSL.LongDomainBuilder
Enclosing class:
LongsDSL

public class LongsDSL.LongDomainBuilder extends Object
  • Method Details

    • upToAndIncluding

      public SolrGen<Long> upToAndIncluding(long endInclusive)
      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

      public SolrGen<Long> upTo(long endExclusive)
      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