Package | Description |
---|---|
org.apache.hadoop.hbase.regionserver |
Modifier and Type | Field and Description |
---|---|
private static ScannerContext.LimitScope |
ScannerContext.LimitFields.DEFAULT_SCOPE
Default scope that is assigned to a limit if a scope is not specified.
|
(package private) ScannerContext.LimitScope |
ScannerContext.LimitFields.sizeScope |
(package private) ScannerContext.LimitScope |
ScannerContext.LimitFields.timeScope |
Modifier and Type | Method and Description |
---|---|
(package private) ScannerContext.LimitScope |
ScannerContext.LimitFields.getSizeScope() |
(package private) ScannerContext.LimitScope |
ScannerContext.LimitFields.getTimeScope() |
static ScannerContext.LimitScope |
ScannerContext.LimitScope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScannerContext.LimitScope[] |
ScannerContext.LimitScope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
ScannerContext.LimitFields.canEnforceBatchLimitFromScope(ScannerContext.LimitScope checkerScope) |
(package private) boolean |
ScannerContext.LimitScope.canEnforceLimitFromScope(ScannerContext.LimitScope checkerScope) |
(package private) boolean |
ScannerContext.LimitFields.canEnforceSizeLimitFromScope(ScannerContext.LimitScope checkerScope) |
(package private) boolean |
ScannerContext.LimitFields.canEnforceTimeLimitFromScope(ScannerContext.LimitScope checkerScope) |
(package private) boolean |
ScannerContext.checkAnyLimitReached(ScannerContext.LimitScope checkerScope) |
(package private) boolean |
NoLimitScannerContext.checkAnyLimitReached(ScannerContext.LimitScope checkerScope) |
(package private) boolean |
ScannerContext.checkBatchLimit(ScannerContext.LimitScope checkerScope) |
(package private) boolean |
NoLimitScannerContext.checkBatchLimit(ScannerContext.LimitScope checkerScope) |
(package private) boolean |
ScannerContext.checkSizeLimit(ScannerContext.LimitScope checkerScope) |
(package private) boolean |
NoLimitScannerContext.checkSizeLimit(ScannerContext.LimitScope checkerScope) |
(package private) boolean |
ScannerContext.checkTimeLimit(ScannerContext.LimitScope checkerScope) |
(package private) boolean |
NoLimitScannerContext.checkTimeLimit(ScannerContext.LimitScope checkerScope) |
(package private) boolean |
ScannerContext.hasAnyLimit(ScannerContext.LimitScope checkerScope) |
(package private) boolean |
ScannerContext.hasBatchLimit(ScannerContext.LimitScope checkerScope) |
(package private) boolean |
ScannerContext.hasSizeLimit(ScannerContext.LimitScope checkerScope) |
(package private) boolean |
ScannerContext.hasTimeLimit(ScannerContext.LimitScope checkerScope) |
(package private) void |
ScannerContext.LimitFields.setFields(int batch,
ScannerContext.LimitScope sizeScope,
long dataSize,
long heapSize,
ScannerContext.LimitScope timeScope,
long time)
Set all fields together.
|
ScannerContext.Builder |
ScannerContext.Builder.setSizeLimit(ScannerContext.LimitScope sizeScope,
long dataSizeLimit,
long heapSizeLimit) |
(package private) void |
ScannerContext.setSizeLimitScope(ScannerContext.LimitScope scope) |
(package private) void |
NoLimitScannerContext.setSizeLimitScope(ScannerContext.LimitScope scope) |
(package private) void |
ScannerContext.LimitFields.setSizeScope(ScannerContext.LimitScope scope)
Change the scope in which the size limit is enforced
|
ScannerContext.Builder |
ScannerContext.Builder.setTimeLimit(ScannerContext.LimitScope timeScope,
long timeLimit) |
(package private) void |
ScannerContext.setTimeLimitScope(ScannerContext.LimitScope scope) |
(package private) void |
NoLimitScannerContext.setTimeLimitScope(ScannerContext.LimitScope scope) |
(package private) void |
ScannerContext.LimitFields.setTimeScope(ScannerContext.LimitScope scope)
Change the scope in which the time limit is enforced
|
Constructor and Description |
---|
LimitFields(int batch,
ScannerContext.LimitScope sizeScope,
long size,
long heapSize,
ScannerContext.LimitScope timeScope,
long time) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.