org.apache.hadoop.hbase.regionserver
Class Store.ScanInfo

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.Store.ScanInfo
Enclosing class:
Store

public static class Store.ScanInfo
extends Object

Immutable information for scans over a store.


Field Summary
static long FIXED_OVERHEAD
           
 
Constructor Summary
Store.ScanInfo(byte[] family, int minVersions, int maxVersions, long ttl, boolean keepDeletedCells, long timeToPurgeDeletes, KeyValue.KVComparator comparator)
           
Store.ScanInfo(HColumnDescriptor family, long ttl, long timeToPurgeDeletes, KeyValue.KVComparator comparator)
           
 
Method Summary
 KeyValue.KVComparator getComparator()
           
 byte[] getFamily()
           
 boolean 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

Store.ScanInfo

public Store.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

Store.ScanInfo

public Store.ScanInfo(byte[] family,
                      int minVersions,
                      int maxVersions,
                      long ttl,
                      boolean 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 boolean getKeepDeletedCells()

getTimeToPurgeDeletes

public long getTimeToPurgeDeletes()

getComparator

public KeyValue.KVComparator getComparator()


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.