Class TabletFileUtil
- java.lang.Object
-
- org.apache.accumulo.core.metadata.TabletFileUtil
-
public class TabletFileUtil extends Object
Utility class for validation of metadata tablet files.
-
-
Constructor Summary
Constructors Constructor Description TabletFileUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
validate(String path)
Validate if string is a valid path.static org.apache.hadoop.fs.Path
validate(org.apache.hadoop.fs.Path path)
-
-
-
Method Detail
-
validate
public static String validate(String path)
Validate if string is a valid path. Return normalized string or throw exception if not valid. This was added to facilitate more use of TabletFile over String but this puts the validation in one location in the case where TabletFile can't be used.
-
validate
public static org.apache.hadoop.fs.Path validate(org.apache.hadoop.fs.Path path)
-
-