Class LongRangeBlockBuilder.LongRange

java.lang.Object
org.elasticsearch.compute.data.LongRangeBlockBuilder.LongRange
All Implemented Interfaces:
Comparable<LongRangeBlockBuilder.LongRange>, GenericNamedWriteable, NamedWriteable, VersionedNamedWriteable, Writeable
Enclosing class:
LongRangeBlockBuilder

public static final class LongRangeBlockBuilder.LongRange extends Object implements GenericNamedWriteable, Comparable<LongRangeBlockBuilder.LongRange>
A mutable container for a half-open [from, to) long range.

Instances act both as a value type (used for literals and serialization) and as a reusable scratch passed to LongRangeBlock.getLongRange(int, LongRange). The accessor mutates the scratch in place and returns it, so any reference held by the caller is only valid until the next call.