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()
Returns
ScannerContext.LimitScope indicating scope in which the size limit is enforced |
(package private) ScannerContext.LimitScope |
ScannerContext.LimitFields.getTimeScope()
Returns
ScannerContext.LimitScope indicating scope in which the time limit is enforced |
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)
n * @return true when the limit can be enforced from the scope of the checker
|
(package private) boolean |
ScannerContext.LimitScope.canEnforceLimitFromScope(ScannerContext.LimitScope checkerScope) |
(package private) boolean |
ScannerContext.LimitFields.canEnforceSizeLimitFromScope(ScannerContext.LimitScope checkerScope)
n * @return true when the limit can be enforced from the scope of the checker
|
(package private) boolean |
ScannerContext.LimitFields.canEnforceTimeLimitFromScope(ScannerContext.LimitScope checkerScope)
n * @return true when the limit can be enforced from the scope of the checker
|
(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)
n * @return true if any limit can be enforced within the checker's scope
|
(package private) boolean |
ScannerContext.hasBatchLimit(ScannerContext.LimitScope checkerScope)
n * @return true if the batch limit can be enforced in the checker's scope
|
(package private) boolean |
ScannerContext.hasSizeLimit(ScannerContext.LimitScope checkerScope)
n * @return true if the size limit can be enforced in the checker's scope
|
(package private) boolean |
ScannerContext.hasTimeLimit(ScannerContext.LimitScope checkerScope)
n * @return true if the time limit can be enforced in the checker's scope
|
(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
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.