| Package | Description |
|---|---|
| com.google.cloud.hadoop.gcsio |
| Modifier and Type | Field and Description |
|---|---|
static PathCodec |
GoogleCloudStorageFileSystem.LEGACY_PATH_CODEC
A PathCodec that maintains compatibility with versions of GCS FS < 1.4.5.
|
static PathCodec |
GoogleCloudStorageFileSystem.URI_ENCODED_PATH_CODEC
A PathCodec that expects URIs to be of the form:
gs://authority/properly/encoded/path.
|
| Modifier and Type | Method and Description |
|---|---|
PathCodec |
GoogleCloudStorageFileSystem.getPathCodec()
The PathCodec in use by this file system.
|
PathCodec |
GoogleCloudStorageFileSystemOptions.getPathCodec() |
| Modifier and Type | Method and Description |
|---|---|
static URI |
FileInfo.convertToDirectoryPath(PathCodec pathCodec,
URI path)
Converts the given path to look like a directory path.
|
static FileInfo |
FileInfo.fromItemInfo(PathCodec pathCodec,
GoogleCloudStorageItemInfo itemInfo)
Handy factory method for constructing a FileInfo from a GoogleCloudStorageItemInfo while
potentially returning a singleton instead of really constructing an object for cases like ROOT.
|
static List<FileInfo> |
FileInfo.fromItemInfos(PathCodec pathCodec,
List<GoogleCloudStorageItemInfo> itemInfos)
Handy factory method for constructing a list of FileInfo from a list of
GoogleCloudStorageItemInfo.
|
static URI |
GoogleCloudStorageFileSystem.getParentPath(PathCodec pathCodec,
URI path)
Deprecated.
This static method is included as a transitional utility and the
instance method variant should be preferred.
|
GoogleCloudStorageFileSystemOptions.Builder |
GoogleCloudStorageFileSystemOptions.Builder.setPathCodec(PathCodec pathCodec) |
| Constructor and Description |
|---|
GoogleCloudStorageFileSystemOptions(GoogleCloudStorageOptions cloudStorageOptions,
boolean metadataCacheEnabled,
DirectoryListCache.Type cacheType,
String cacheBasePath,
com.google.common.base.Predicate<String> shouldIncludeInTimestampUpdatesPredicate,
long cacheMaxEntryAgeMillis,
long cacheMaxInfoAgeMillis,
PathCodec pathCodec) |
Copyright © 2016. All rights reserved.