@InterfaceAudience.Private public class CustomizedScanInfoBuilder extends Object implements ScanOptions
| Modifier and Type | Field and Description |
|---|---|
private KeepDeletedCells |
keepDeletedCells |
private Integer |
maxVersions |
private Integer |
minVersions |
private Scan |
scan |
private ScanInfo |
scanInfo |
private long |
timeToPurgeDeletes |
private Long |
ttl |
| Constructor and Description |
|---|
CustomizedScanInfoBuilder(ScanInfo scanInfo) |
CustomizedScanInfoBuilder(ScanInfo scanInfo,
Scan scan) |
| Modifier and Type | Method and Description |
|---|---|
ScanInfo |
build() |
KeepDeletedCells |
getKeepDeletedCells() |
int |
getMaxVersions() |
int |
getMinVersions() |
Scan |
getScan()
Returns a copy of the Scan object.
|
long |
getTimeToPurgeDeletes() |
long |
getTTL() |
void |
setKeepDeletedCells(KeepDeletedCells keepDeletedCells) |
void |
setMaxVersions(int maxVersions) |
void |
setMinVersions(int minVersions) |
void |
setTimeToPurgeDeletes(long ttl) |
void |
setTTL(long ttl) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadAllVersionsprivate Integer maxVersions
private KeepDeletedCells keepDeletedCells
private Integer minVersions
private long timeToPurgeDeletes
public CustomizedScanInfoBuilder(ScanInfo scanInfo)
public CustomizedScanInfoBuilder(ScanInfo scanInfo, Scan scan)
public int getMaxVersions()
getMaxVersions in interface ScanOptionspublic void setMaxVersions(int maxVersions)
setMaxVersions in interface ScanOptionspublic long getTTL()
getTTL in interface ScanOptionspublic void setTTL(long ttl)
setTTL in interface ScanOptionspublic void setKeepDeletedCells(KeepDeletedCells keepDeletedCells)
setKeepDeletedCells in interface ScanOptionspublic KeepDeletedCells getKeepDeletedCells()
getKeepDeletedCells in interface ScanOptionspublic int getMinVersions()
getMinVersions in interface ScanOptionspublic void setMinVersions(int minVersions)
setMinVersions in interface ScanOptionspublic long getTimeToPurgeDeletes()
getTimeToPurgeDeletes in interface ScanOptionspublic void setTimeToPurgeDeletes(long ttl)
setTimeToPurgeDeletes in interface ScanOptionspublic Scan getScan()
ScanOptionsgetScan in interface ScanOptionsCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.