| Package | Description |
|---|---|
| com.google.cloud.hadoop.gcsio | |
| com.google.cloud.hadoop.gcsio.cooplock |
| 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.listFileInfo(URI path)
If the given path points to a directory then the information about its children is returned,
otherwise information about the given file is returned.
|
List<FileInfo> |
GoogleCloudStorageFileSystem.listFileInfo(URI path,
ListFileOptions listOptions)
If the given path points to a directory then the information about its children is returned,
otherwise information about the given file is returned.
|
List<FileInfo> |
GoogleCloudStorageFileSystem.listFileInfoForPrefix(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. |
List<FileInfo> |
GoogleCloudStorageFileSystem.listFileInfoForPrefix(URI prefix,
ListFileOptions listOptions)
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. |
GoogleCloudStorage.ListPage<FileInfo> |
GoogleCloudStorageFileSystem.listFileInfoForPrefixPage(URI prefix,
ListFileOptions listOptions,
String pageToken)
Equivalent to
GoogleCloudStorageFileSystem.listFileInfoForPrefix(java.net.URI) but returns FileInfos listed by single
request (1 page). |
GoogleCloudStorage.ListPage<FileInfo> |
GoogleCloudStorageFileSystem.listFileInfoForPrefixPage(URI prefix,
String pageToken)
Equivalent to
GoogleCloudStorageFileSystem.listFileInfoForPrefix(java.net.URI) but returns FileInfos listed by single
request (1 page). |
| Modifier and Type | Method and Description |
|---|---|
void |
CoopLockOperationDelete.persistAndScheduleRenewal(List<FileInfo> itemsToDelete,
List<FileInfo> bucketsToDelete) |
void |
CoopLockOperationDelete.persistAndScheduleRenewal(List<FileInfo> itemsToDelete,
List<FileInfo> bucketsToDelete) |
void |
CoopLockOperationRename.persistAndScheduleRenewal(Map<FileInfo,URI> srcToDstItemNames,
Map<FileInfo,URI> srcToDstMarkerItemNames) |
void |
CoopLockOperationRename.persistAndScheduleRenewal(Map<FileInfo,URI> srcToDstItemNames,
Map<FileInfo,URI> srcToDstMarkerItemNames) |
Future<?> |
CoopLockOperationDao.persistDeleteOperation(String operationId,
Instant operationInstant,
StorageResourceId resourceId,
List<FileInfo> itemsToDelete,
List<FileInfo> bucketsToDelete) |
Future<?> |
CoopLockOperationDao.persistDeleteOperation(String operationId,
Instant operationInstant,
StorageResourceId resourceId,
List<FileInfo> itemsToDelete,
List<FileInfo> bucketsToDelete) |
Future<?> |
CoopLockOperationDao.persistRenameOperation(String operationId,
Instant operationInstant,
StorageResourceId src,
StorageResourceId dst,
Map<FileInfo,URI> srcToDstItemNames,
Map<FileInfo,URI> srcToDstMarkerItemNames) |
Future<?> |
CoopLockOperationDao.persistRenameOperation(String operationId,
Instant operationInstant,
StorageResourceId src,
StorageResourceId dst,
Map<FileInfo,URI> srcToDstItemNames,
Map<FileInfo,URI> srcToDstMarkerItemNames) |
Copyright © 2024. All rights reserved.