@InterfaceAudience.Private public class StoreUtils extends Object
| 构造器和说明 |
|---|
StoreUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
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
IOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.