@InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving public class NoLimitScannerContext extends ScannerContext
ScannerContext
subclass that is designed to be used globally when
limits should not be enforced during invocations of InternalScanner.next(java.util.List)
or InternalScanner.next(java.util.List)
.
Instances of NoLimitScannerContext
are immutable after construction. Any attempt to
change the limits or progress of a NoLimitScannerContext
will fail silently. The net
effect is that all limit checks will return false, thus indicating that a limit has not been
reached.
ScannerContext.Builder, ScannerContext.LimitScope, ScannerContext.NextState
Constructor and Description |
---|
NoLimitScannerContext() |
Modifier and Type | Method and Description |
---|---|
static ScannerContext |
getInstance() |
getMetrics, isTrackingMetrics, newBuilder, newBuilder, toString
public static final ScannerContext getInstance()
NoLimitScannerContext
to be used whenever
limits should not be enforcedCopyright © 2007–2019 Cloudera. All rights reserved.