| Package | Description |
|---|---|
| com.google.cloud.hadoop.gcsio |
| Modifier and Type | Field and Description |
|---|---|
static FileInfo |
FileInfo.ROOT_INFO |
| Modifier and Type | Method and Description |
|---|---|
static FileInfo |
FileInfo.fromItemInfo(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.
|
FileInfo |
GoogleCloudStorageFileSystem.getFileInfo(URI path)
Gets information about the given path item.
|
| Modifier and Type | Method and Description |
|---|---|
static List<FileInfo> |
FileInfo.fromItemInfos(List<GoogleCloudStorageItemInfo> itemInfos)
Handy factory method for constructing a list of FileInfo from a list of
GoogleCloudStorageItemInfo.
|
List<FileInfo> |
GoogleCloudStorageFileSystem.getFileInfos(List<URI> paths)
Gets information about each path in the given list; more efficient than calling getFileInfo()
on each path individually in a loop.
|
List<FileInfo> |
GoogleCloudStorageFileSystem.listAllFileInfoForPrefix(URI prefix)
Equivalent to a recursive listing of
prefix, except that prefix doesn't
have to represent an actual object but can just be a partial prefix string, and there
is no auto-repair of implicit directories since we can't detect implicit directories
without listing by 'delimiter'. |
List<FileInfo> |
GoogleCloudStorageFileSystem.listFileInfo(URI path,
boolean enableAutoRepair)
If the given path points to a directory then the information about its
children is returned, otherwise information about the given file is returned.
|
| Modifier and Type | Method and Description |
|---|---|
List<URI> |
GoogleCloudStorageFileSystem.listFileNames(FileInfo fileInfo)
If the given item is a directory then the paths of its immediate
children are returned, otherwise the path of the given item is returned.
|
List<URI> |
GoogleCloudStorageFileSystem.listFileNames(FileInfo fileInfo,
boolean recursive)
If the given item is a directory then the paths of its
children are returned, otherwise the path of the given item is returned.
|
Copyright © 2015. All rights reserved.