public class SegmentChecker extends Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
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.
|
public static boolean isIndexable(Path segmentPath, FileSystem fs) throws IOException
IOException
public static boolean checkSegmentDir(Path segmentPath, FileSystem fs) throws IOException
IOException
Copyright © 2015 The Apache Software Foundation