public static class LocationService.WriteInfo extends Object
| Constructor and Description |
|---|
WriteInfo(org.apache.hadoop.fs.Path targetPath,
org.apache.hadoop.fs.Path writePath,
Optional<org.apache.hadoop.fs.Path> tempPath,
com.facebook.presto.hive.LocationHandle.WriteMode writeMode) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.fs.Path |
getTargetPath()
Target path for the partition, unpartitioned table, or the query.
|
Optional<org.apache.hadoop.fs.Path> |
getTempPath()
Temporary path for temp files generated during query processing, for example, sorted table writes.
|
com.facebook.presto.hive.LocationHandle.WriteMode |
getWriteMode() |
org.apache.hadoop.fs.Path |
getWritePath()
Temporary path for writing to the partition, unpartitioned table or the query.
|
public WriteInfo(org.apache.hadoop.fs.Path targetPath,
org.apache.hadoop.fs.Path writePath,
Optional<org.apache.hadoop.fs.Path> tempPath,
com.facebook.presto.hive.LocationHandle.WriteMode writeMode)
public org.apache.hadoop.fs.Path getTargetPath()
public org.apache.hadoop.fs.Path getWritePath()
It may be the same as targetPath.
public Optional<org.apache.hadoop.fs.Path> getTempPath()
public com.facebook.presto.hive.LocationHandle.WriteMode getWriteMode()
Copyright © 2012–2023. All rights reserved.