@InterfaceAudience.Private public class StoreUtils extends Object
Constructor and Description |
---|
StoreUtils() |
Modifier and Type | Method and Description |
---|---|
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
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.