@InterfaceAudience.Private public class ScanInfo extends Object
Modifier and Type | Field and Description |
---|---|
static long |
FIXED_OVERHEAD |
Constructor and Description |
---|
ScanInfo(byte[] family,
int minVersions,
int maxVersions,
long ttl,
KeepDeletedCells keepDeletedCells,
long timeToPurgeDeletes,
KeyValue.KVComparator comparator) |
ScanInfo(HColumnDescriptor family,
long ttl,
long timeToPurgeDeletes,
KeyValue.KVComparator comparator) |
Modifier and Type | Method and Description |
---|---|
KeyValue.KVComparator |
getComparator() |
byte[] |
getFamily() |
KeepDeletedCells |
getKeepDeletedCells() |
int |
getMaxVersions() |
int |
getMinVersions() |
long |
getTimeToPurgeDeletes() |
long |
getTtl() |
public ScanInfo(HColumnDescriptor family, long ttl, long timeToPurgeDeletes, KeyValue.KVComparator comparator)
family
- HColumnDescriptor
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 comparatorpublic ScanInfo(byte[] family, int minVersions, int maxVersions, long ttl, KeepDeletedCells keepDeletedCells, long timeToPurgeDeletes, KeyValue.KVComparator comparator)
family
- Name of this store's column familyminVersions
- Store's MIN_VERSIONS settingmaxVersions
- Store's VERSIONS settingttl
- Store's TTL (in ms)timeToPurgeDeletes
- duration in ms after which a delete marker can
be purged during a major compaction.keepDeletedCells
- Store's keepDeletedCells settingcomparator
- The store's comparatorpublic byte[] getFamily()
public int getMinVersions()
public int getMaxVersions()
public long getTtl()
public KeepDeletedCells getKeepDeletedCells()
public long getTimeToPurgeDeletes()
public KeyValue.KVComparator getComparator()