public class SegmentChecker extends Object
Constructor and Description |
---|
SegmentChecker() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkSegmentDir(Path segmentPath,
FileSystem fs)
Check the segment to see if it is valid based on the sub directories.
|
static boolean |
isIndexable(Path segmentPath,
FileSystem fs)
Check if the segment is indexable.
|
static boolean |
isParsed(Path segment,
FileSystem fs)
Check the segment to see if it is has been parsed before.
|
public static boolean isIndexable(Path segmentPath, FileSystem fs) throws IOException
IOException
public static boolean checkSegmentDir(Path segmentPath, FileSystem fs) throws IOException
IOException
public static boolean isParsed(Path segment, FileSystem fs) throws IOException
IOException
Copyright © 2021 The Apache Software Foundation