org.apache.hadoop.hbase.regionserver
Class ScanInfo

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.ScanInfo

@InterfaceAudience.Private
public class ScanInfo
extends Object

Immutable information for scans over a store.


Field Summary
static long FIXED_OVERHEAD
           
 
Constructor Summary
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)
           
 
Method Summary
 KeyValue.KVComparator getComparator()
           
 byte[] getFamily()
           
 KeepDeletedCells getKeepDeletedCells()
           
 int getMaxVersions()
           
 int getMinVersions()
           
 long getTimeToPurgeDeletes()
           
 long getTtl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIXED_OVERHEAD

public static final long FIXED_OVERHEAD
Constructor Detail

ScanInfo

public ScanInfo(HColumnDescriptor family,
                long ttl,
                long timeToPurgeDeletes,
                KeyValue.KVComparator comparator)
Parameters:
family - HColumnDescriptor describing the column family
ttl - 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 family
minVersions - Store's MIN_VERSIONS setting
maxVersions - Store's VERSIONS setting
ttl - 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 setting
comparator - The store's comparator
Method Detail

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 © 2015 The Apache Software Foundation. All rights reserved.