public class Util
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION_HINT_FILENAME |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
blockLocations(CombinedScanTask task,
org.apache.hadoop.conf.Configuration conf) |
static java.lang.String[] |
blockLocations(FileIO io,
CombinedScanTask task) |
static org.apache.hadoop.fs.FileSystem |
getFs(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf) |
static java.lang.String |
uriToString(java.net.URI uri)
From Apache Spark
Convert URI to String.
|
public static final java.lang.String VERSION_HINT_FILENAME
public static org.apache.hadoop.fs.FileSystem getFs(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf)
public static java.lang.String[] blockLocations(CombinedScanTask task, org.apache.hadoop.conf.Configuration conf)
public static java.lang.String[] blockLocations(FileIO io, CombinedScanTask task)
public static java.lang.String uriToString(java.net.URI uri)
uri
- the URI of the path