public static class AbstractFSWALProvider.WALStartTimeComparator extends Object implements Comparator<org.apache.hadoop.fs.Path>
| Constructor and Description | 
|---|
| WALStartTimeComparator() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compare(org.apache.hadoop.fs.Path o1,
       org.apache.hadoop.fs.Path o2) | 
| private static long | getTS(org.apache.hadoop.fs.Path p)Split a path to get the start time
 For example: 10.20.20.171%3A60020.1277499063250
 Could also be a meta WAL which adds a '.meta' suffix or a synchronous replication WAL
 which adds a '.syncrep' suffix. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic WALStartTimeComparator()
public int compare(org.apache.hadoop.fs.Path o1, org.apache.hadoop.fs.Path o2)
compare in interface Comparator<org.apache.hadoop.fs.Path>private static long getTS(org.apache.hadoop.fs.Path p)
p - path to splitCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.