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
IOExceptionpublic static boolean checkSegmentDir(Path segmentPath, FileSystem fs) throws IOException
IOExceptionpublic static boolean isParsed(Path segment, FileSystem fs) throws IOException
IOExceptionCopyright © 2021 The Apache Software Foundation