| Package | Description |
|---|---|
| org.apache.hadoop.fs.swift.http | |
| org.apache.hadoop.fs.swift.util |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
RestClientBindings.bind(URI fsURI,
Configuration conf)
Build a properties instance bound to the configuration file -using
the filesystem URI as the source of the information.
|
static void |
RestClientBindings.copy(Configuration conf,
String confKey,
Properties props,
String propsKey,
boolean required)
Copy a (trimmed) property from the configuration file to the properties file.
|
static String |
RestClientBindings.extractContainerName(String hostname)
Get the container name from the hostname -the single element before the
first "." in the hostname
|
static String |
RestClientBindings.extractContainerName(URI uri) |
static String |
RestClientBindings.extractServiceName(String hostname)
Get the service name from a longer hostname string
|
static String |
RestClientBindings.extractServiceName(URI uri) |
| Modifier and Type | Method and Description |
|---|---|
static SwiftObjectPath |
SwiftObjectPath.fromPath(URI uri,
Path path)
Create a path tuple of (container, path), where the container is
chosen from the host of the URI.
|
static SwiftObjectPath |
SwiftObjectPath.fromPath(URI uri,
Path path,
boolean addTrailingSlash)
Create a path tuple of (container, path), where the container is
chosen from the host of the URI.
|
static URI |
SwiftTestUtils.getServiceURI(Configuration conf)
Get the test URI
|
Copyright © 2018 CERN. All Rights Reserved.