@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, wait
readAllVersions
private 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 ScanOptions
public void setMaxVersions(int maxVersions)
setMaxVersions
in interface ScanOptions
public long getTTL()
getTTL
in interface ScanOptions
public void setTTL(long ttl)
setTTL
in interface ScanOptions
public void setKeepDeletedCells(KeepDeletedCells keepDeletedCells)
setKeepDeletedCells
in interface ScanOptions
public KeepDeletedCells getKeepDeletedCells()
getKeepDeletedCells
in interface ScanOptions
public int getMinVersions()
getMinVersions
in interface ScanOptions
public void setMinVersions(int minVersions)
setMinVersions
in interface ScanOptions
public long getTimeToPurgeDeletes()
getTimeToPurgeDeletes
in interface ScanOptions
public void setTimeToPurgeDeletes(long ttl)
setTimeToPurgeDeletes
in interface ScanOptions
public Scan getScan()
ScanOptions
getScan
in interface ScanOptions
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.