Interface LocationProvider
- All Known Implementing Classes:
FileMetadata
,RowGroupMetadata
,SegmentMetadata
public interface LocationProvider
A metadata which has specific location.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.fs.Path
Returns location of the metadata.org.apache.hadoop.fs.Path
getPath()
Returns path of the metadata.
-
Method Details
-
getPath
org.apache.hadoop.fs.Path getPath()Returns path of the metadata. For files and row groups - full path to the file including file name. For segments - path to the segment directory.- Returns:
- metadata path
-
getLocation
org.apache.hadoop.fs.Path getLocation()Returns location of the metadata. For files and row groups - path to the parent directory they reside it. For segments - path to the segment directory.- Returns:
- metadata location
-