Class ScanInfo
java.lang.Object
org.apache.hadoop.hbase.regionserver.ScanInfo
Immutable information for scans over a store.
-
Field Summary
Modifier and TypeFieldDescriptionprivate long
private CellComparator
private byte[]
static final long
private KeepDeletedCells
private int
private int
private final boolean
private boolean
private final long
private long
private long
private long
private boolean
-
Constructor Summary
ModifierConstructorDescriptionprivate
ScanInfo
(byte[] family, int minVersions, int maxVersions, long ttl, KeepDeletedCells keepDeletedCells, long timeToPurgeDeletes, CellComparator comparator, long tableMaxRowSize, boolean usePread, long cellsPerTimeoutCheck, boolean parallelSeekEnabled, long preadMaxBytes, boolean newVersionBehavior) ScanInfo
(org.apache.hadoop.conf.Configuration conf, byte[] family, int minVersions, int maxVersions, long ttl, KeepDeletedCells keepDeletedCells, long blockSize, long timeToPurgeDeletes, CellComparator comparator, boolean newVersionBehavior) ScanInfo
(org.apache.hadoop.conf.Configuration conf, ColumnFamilyDescriptor family, long ttl, long timeToPurgeDeletes, CellComparator comparator) -
Method Summary
Modifier and TypeMethodDescription(package private) ScanInfo
customize
(int maxVersions, long ttl, KeepDeletedCells keepDeletedCells) Used by CP users for customizing max versions, ttl and keepDeletedCells.(package private) ScanInfo
customize
(int maxVersions, long ttl, KeepDeletedCells keepDeletedCells, int minVersions, long timeToPurgeDeletes) Used by CP users for customizing max versions, ttl, keepDeletedCells, min versions, and time to purge deletes.(package private) long
private static long
getCellsPerTimeoutCheck
(org.apache.hadoop.conf.Configuration conf) byte[]
int
int
(package private) long
(package private) long
long
long
getTtl()
boolean
(package private) boolean
(package private) boolean
toString()
-
Field Details
-
family
-
minVersions
-
maxVersions
-
ttl
-
keepDeletedCells
-
timeToPurgeDeletes
-
comparator
-
tableMaxRowSize
-
usePread
-
cellsPerTimeoutCheck
-
parallelSeekEnabled
-
preadMaxBytes
-
newVersionBehavior
-
FIXED_OVERHEAD
-
-
Constructor Details
-
ScanInfo
public ScanInfo(org.apache.hadoop.conf.Configuration conf, ColumnFamilyDescriptor family, long ttl, long timeToPurgeDeletes, CellComparator comparator) - Parameters:
family
-ColumnFamilyDescriptor
describing the column familyttl
- Store's TTL (in ms)timeToPurgeDeletes
- duration in ms after which a delete marker can be purged during a major compaction.comparator
- The store's comparator
-
ScanInfo
public ScanInfo(org.apache.hadoop.conf.Configuration conf, byte[] family, int minVersions, int maxVersions, long ttl, KeepDeletedCells keepDeletedCells, long blockSize, long timeToPurgeDeletes, CellComparator comparator, boolean newVersionBehavior) - Parameters:
family
- Name of this store's column familyminVersions
- Store's MIN_VERSIONS settingmaxVersions
- Store's VERSIONS settingttl
- Store's TTL (in ms)blockSize
- Store's block sizetimeToPurgeDeletes
- duration in ms after which a delete marker can be purged during a major compaction.keepDeletedCells
- Store's keepDeletedCells settingcomparator
- The store's comparator
-
ScanInfo
private ScanInfo(byte[] family, int minVersions, int maxVersions, long ttl, KeepDeletedCells keepDeletedCells, long timeToPurgeDeletes, CellComparator comparator, long tableMaxRowSize, boolean usePread, long cellsPerTimeoutCheck, boolean parallelSeekEnabled, long preadMaxBytes, boolean newVersionBehavior)
-
-
Method Details
-
getCellsPerTimeoutCheck
-
getTableMaxRowSize
long getTableMaxRowSize() -
isUsePread
boolean isUsePread() -
getCellsPerTimeoutCheck
long getCellsPerTimeoutCheck() -
isParallelSeekEnabled
boolean isParallelSeekEnabled() -
getFamily
-
getMinVersions
-
getMaxVersions
-
getTtl
-
getKeepDeletedCells
-
getTimeToPurgeDeletes
-
getComparator
-
getPreadMaxBytes
long getPreadMaxBytes() -
isNewVersionBehavior
-
customize
Used by CP users for customizing max versions, ttl and keepDeletedCells. -
customize
ScanInfo customize(int maxVersions, long ttl, KeepDeletedCells keepDeletedCells, int minVersions, long timeToPurgeDeletes) Used by CP users for customizing max versions, ttl, keepDeletedCells, min versions, and time to purge deletes. -
toString
-