org.apache.hadoop.hbase.regionserver
Class ScanInfo
java.lang.Object
org.apache.hadoop.hbase.regionserver.ScanInfo
@InterfaceAudience.Private
public class ScanInfo
- extends Object
Immutable information for scans over a store.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIXED_OVERHEAD
public static final long FIXED_OVERHEAD
ScanInfo
public ScanInfo(HColumnDescriptor family,
long ttl,
long timeToPurgeDeletes,
KeyValue.KVComparator comparator)
- Parameters:
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 comparator
ScanInfo
public ScanInfo(byte[] family,
int minVersions,
int maxVersions,
long ttl,
KeepDeletedCells keepDeletedCells,
long timeToPurgeDeletes,
KeyValue.KVComparator comparator)
- Parameters:
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 comparator
getFamily
public byte[] getFamily()
getMinVersions
public int getMinVersions()
getMaxVersions
public int getMaxVersions()
getTtl
public long getTtl()
getKeepDeletedCells
public KeepDeletedCells getKeepDeletedCells()
getTimeToPurgeDeletes
public long getTimeToPurgeDeletes()
getComparator
public KeyValue.KVComparator getComparator()
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.