Class CustomizedScanInfoBuilder
java.lang.Object
org.apache.hadoop.hbase.regionserver.CustomizedScanInfoBuilder
- All Implemented Interfaces:
ScanOptions
Helper class for CP hooks to change max versions and TTL.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCustomizedScanInfoBuilder(ScanInfo scanInfo) CustomizedScanInfoBuilder(ScanInfo scanInfo, Scan scan) -
Method Summary
Modifier and TypeMethodDescriptionbuild()intintgetScan()Returns a copy of the Scan object.longlonggetTTL()voidsetKeepDeletedCells(KeepDeletedCells keepDeletedCells) voidsetMaxVersions(int maxVersions) voidsetMinVersions(int minVersions) voidsetTimeToPurgeDeletes(long ttl) voidsetTTL(long ttl) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.regionserver.ScanOptions
readAllVersions
-
Field Details
-
scanInfo
-
maxVersions
-
ttl
-
keepDeletedCells
-
minVersions
-
timeToPurgeDeletes
-
scan
-
-
Constructor Details
-
CustomizedScanInfoBuilder
-
CustomizedScanInfoBuilder
-
-
Method Details
-
getMaxVersions
- Specified by:
getMaxVersionsin interfaceScanOptions
-
setMaxVersions
- Specified by:
setMaxVersionsin interfaceScanOptions
-
getTTL
- Specified by:
getTTLin interfaceScanOptions
-
setTTL
- Specified by:
setTTLin interfaceScanOptions
-
build
-
toString
-
setKeepDeletedCells
- Specified by:
setKeepDeletedCellsin interfaceScanOptions
-
getKeepDeletedCells
- Specified by:
getKeepDeletedCellsin interfaceScanOptions
-
getMinVersions
- Specified by:
getMinVersionsin interfaceScanOptions
-
setMinVersions
- Specified by:
setMinVersionsin interfaceScanOptions
-
getTimeToPurgeDeletes
- Specified by:
getTimeToPurgeDeletesin interfaceScanOptions
-
setTimeToPurgeDeletes
- Specified by:
setTimeToPurgeDeletesin interfaceScanOptions
-
getScan
Description copied from interface:ScanOptionsReturns a copy of the Scan object. Modifying it will have no effect.- Specified by:
getScanin interfaceScanOptions
-