@InterfaceAudience.Private public class ScanInfo extends Object
Modifier and Type | Field and Description |
---|---|
static long |
FIXED_OVERHEAD |
Constructor and Description |
---|
ScanInfo(org.apache.hadoop.conf.Configuration conf,
byte[] family,
int minVersions,
int maxVersions,
long ttl,
KeepDeletedCells keepDeletedCells,
long timeToPurgeDeletes,
KeyValue.KVComparator comparator) |
ScanInfo(org.apache.hadoop.conf.Configuration conf,
HColumnDescriptor family,
long ttl,
long timeToPurgeDeletes,
KeyValue.KVComparator comparator) |
Modifier and Type | Method and Description |
---|---|
KeyValue.KVComparator |
getComparator() |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
byte[] |
getFamily() |
KeepDeletedCells |
getKeepDeletedCells() |
int |
getMaxVersions() |
int |
getMinVersions() |
long |
getTimeToPurgeDeletes() |
long |
getTtl() |
public ScanInfo(org.apache.hadoop.conf.Configuration conf, HColumnDescriptor family, long ttl, long timeToPurgeDeletes, KeyValue.KVComparator comparator)
conf
- 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(org.apache.hadoop.conf.Configuration conf, byte[] family, int minVersions, int maxVersions, long ttl, KeepDeletedCells keepDeletedCells, long timeToPurgeDeletes, KeyValue.KVComparator comparator)
conf
- 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 org.apache.hadoop.conf.Configuration getConfiguration()
public byte[] getFamily()
public int getMinVersions()
public int getMaxVersions()
public long getTtl()
public KeepDeletedCells getKeepDeletedCells()
public long getTimeToPurgeDeletes()
public KeyValue.KVComparator getComparator()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.