Package io.trino.plugin.hive
Class LocationService.WriteInfo
- java.lang.Object
-
- io.trino.plugin.hive.LocationService.WriteInfo
-
- Enclosing interface:
- LocationService
public static class LocationService.WriteInfo extends Object
-
-
Constructor Summary
Constructors Constructor Description WriteInfo(org.apache.hadoop.fs.Path targetPath, org.apache.hadoop.fs.Path writePath, LocationHandle.WriteMode writeMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hadoop.fs.PathgetTargetPath()Target path for the partition, unpartitioned table, or the query.LocationHandle.WriteModegetWriteMode()org.apache.hadoop.fs.PathgetWritePath()Temporary path for writing to the partition, unpartitioned table or the query.
-
-
-
Constructor Detail
-
WriteInfo
public WriteInfo(org.apache.hadoop.fs.Path targetPath, org.apache.hadoop.fs.Path writePath, LocationHandle.WriteMode writeMode)
-
-
Method Detail
-
getTargetPath
public org.apache.hadoop.fs.Path getTargetPath()
Target path for the partition, unpartitioned table, or the query.
-
getWritePath
public org.apache.hadoop.fs.Path getWritePath()
Temporary path for writing to the partition, unpartitioned table or the query.It may be the same as
targetPath.
-
getWriteMode
public LocationHandle.WriteMode getWriteMode()
-
-