public static final class ScannerContext.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ScannerContext |
build() |
ScannerContext.Builder |
setBatchLimit(int batchLimit) |
ScannerContext.Builder |
setKeepProgress(boolean keepProgress) |
ScannerContext.Builder |
setSizeLimit(ScannerContext.LimitScope sizeScope,
long sizeLimit) |
ScannerContext.Builder |
setTimeLimit(ScannerContext.LimitScope timeScope,
long timeLimit) |
ScannerContext.Builder |
setTrackMetrics(boolean trackMetrics) |
public ScannerContext.Builder setKeepProgress(boolean keepProgress)
public ScannerContext.Builder setTrackMetrics(boolean trackMetrics)
public ScannerContext.Builder setSizeLimit(ScannerContext.LimitScope sizeScope, long sizeLimit)
public ScannerContext.Builder setTimeLimit(ScannerContext.LimitScope timeScope, long timeLimit)
public ScannerContext.Builder setBatchLimit(int batchLimit)
public ScannerContext build()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.