@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 blockSize,
long timeToPurgeDeletes,
CellComparator comparator,
boolean newVersionBehavior) |
ScanInfo(org.apache.hadoop.conf.Configuration conf,
ColumnFamilyDescriptor family,
long ttl,
long timeToPurgeDeletes,
CellComparator comparator) |
Modifier and Type | Method and Description |
---|---|
CellComparator |
getComparator() |
byte[] |
getFamily() |
KeepDeletedCells |
getKeepDeletedCells() |
int |
getMaxVersions() |
int |
getMinVersions() |
long |
getTimeToPurgeDeletes() |
long |
getTtl() |
boolean |
isNewVersionBehavior() |
public ScanInfo(org.apache.hadoop.conf.Configuration conf, ColumnFamilyDescriptor family, long ttl, long timeToPurgeDeletes, CellComparator comparator)
conf
- 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 comparatorpublic 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)
conf
- 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 comparatorpublic byte[] getFamily()
public int getMinVersions()
public int getMaxVersions()
public long getTtl()
public KeepDeletedCells getKeepDeletedCells()
public long getTimeToPurgeDeletes()
public CellComparator getComparator()
public boolean isNewVersionBehavior()
Copyright © 2007–2019 Cloudera. All rights reserved.