|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.regionserver.StoreUtils
public class StoreUtils
Utility functions for region server storage layer.
Constructor Summary | |
---|---|
StoreUtils()
|
Method Summary | |
---|---|
static Integer |
getDeterministicRandomSeed(Collection<StoreFile> files)
Creates a deterministic hash code for store file collection. |
static long |
getLowestTimestamp(Collection<StoreFile> candidates)
Gets lowest timestamp from candidate StoreFiles |
static boolean |
hasReferences(Collection<StoreFile> files)
Determines whether any files in the collection are references. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StoreUtils()
Method Detail |
---|
public static Integer getDeterministicRandomSeed(Collection<StoreFile> files)
public static boolean hasReferences(Collection<StoreFile> files)
files
- The files.public static long getLowestTimestamp(Collection<StoreFile> candidates) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |