| Package | Description |
|---|---|
| com.google.cloud.hadoop.gcsio |
| Modifier and Type | Field and Description |
|---|---|
static GoogleCloudStorageItemInfo |
GoogleCloudStorageItemInfo.ROOT_INFO |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudStorageItemInfo |
CacheEntry.getItemInfo()
Returns the GoogleCloudStorageItemInfo currently held by this CacheEntry; may be null if one
was never provided.
|
GoogleCloudStorageItemInfo |
FileInfo.getItemInfo()
Gets information about the underlying item.
|
GoogleCloudStorageItemInfo |
GoogleCloudStorageImpl.getItemInfo(StorageResourceId resourceId)
See
GoogleCloudStorage.getItemInfo(StorageResourceId) for details about expected
behavior. |
GoogleCloudStorageItemInfo |
CacheSupplementedGoogleCloudStorage.getItemInfo(StorageResourceId resourceId)
Pure pass-through.
|
GoogleCloudStorageItemInfo |
MetadataReadOnlyGoogleCloudStorage.getItemInfo(StorageResourceId resourceId)
Pure fetch from cache.
|
GoogleCloudStorageItemInfo |
ThrottledGoogleCloudStorage.getItemInfo(StorageResourceId resourceId) |
GoogleCloudStorageItemInfo |
GoogleCloudStorage.getItemInfo(StorageResourceId resourceId)
Gets information about an object or a bucket.
|
GoogleCloudStorageItemInfo |
CacheEntry.setItemInfo(GoogleCloudStorageItemInfo newItemInfo)
Sets the GoogleCloudStorageItemInfo corresponding to this CacheEntry's StorageResourceId,
and updates the itemInfoUpdateTimeMillis.
|
| Modifier and Type | Method and Description |
|---|---|
List<GoogleCloudStorageItemInfo> |
GoogleCloudStorageImpl.getItemInfos(List<StorageResourceId> resourceIds)
See
GoogleCloudStorage#getItemInfos(List for details about expected
behavior. |
List<GoogleCloudStorageItemInfo> |
CacheSupplementedGoogleCloudStorage.getItemInfos(List<StorageResourceId> resourceIds)
Pure pass-through.
|
List<GoogleCloudStorageItemInfo> |
MetadataReadOnlyGoogleCloudStorage.getItemInfos(List<StorageResourceId> resourceIds)
Pure fetch from cache.
|
List<GoogleCloudStorageItemInfo> |
ThrottledGoogleCloudStorage.getItemInfos(List<StorageResourceId> resourceIds) |
List<GoogleCloudStorageItemInfo> |
GoogleCloudStorage.getItemInfos(List<StorageResourceId> resourceIds)
Gets information about multiple objects and/or buckets.
|
List<GoogleCloudStorageItemInfo> |
GoogleCloudStorageImpl.listBucketInfo()
See
GoogleCloudStorage.listBucketInfo() for details about expected behavior. |
List<GoogleCloudStorageItemInfo> |
CacheSupplementedGoogleCloudStorage.listBucketInfo()
Supplements the list returned by the delegate with cached bucket infos; may trigger fetching
of any metadata not already available in the cache.
|
List<GoogleCloudStorageItemInfo> |
MetadataReadOnlyGoogleCloudStorage.listBucketInfo() |
List<GoogleCloudStorageItemInfo> |
ThrottledGoogleCloudStorage.listBucketInfo() |
List<GoogleCloudStorageItemInfo> |
GoogleCloudStorage.listBucketInfo()
Gets a list of GoogleCloudStorageItemInfo for all buckets of this project.
|
List<GoogleCloudStorageItemInfo> |
GoogleCloudStorageImpl.listObjectInfo(String bucketName,
String objectNamePrefix,
String delimiter)
See
GoogleCloudStorage.listObjectInfo(String, String, String) for details about
expected behavior. |
List<GoogleCloudStorageItemInfo> |
CacheSupplementedGoogleCloudStorage.listObjectInfo(String bucketName,
String objectNamePrefix,
String delimiter)
Supplements the list returned by the delegate with cached object infos; may trigger fetching
of any metadata not already available in the cache.
|
List<GoogleCloudStorageItemInfo> |
MetadataReadOnlyGoogleCloudStorage.listObjectInfo(String bucketName,
String objectNamePrefix,
String delimiter)
Uses shared prefix-matching logic to filter entries from the metadata cache.
|
List<GoogleCloudStorageItemInfo> |
ThrottledGoogleCloudStorage.listObjectInfo(String bucketName,
String objectNamePrefix,
String delimiter) |
List<GoogleCloudStorageItemInfo> |
GoogleCloudStorage.listObjectInfo(String bucketName,
String objectNamePrefix,
String delimiter)
Same name-matching semantics as
listObjectNames except this method retrieves the full
GoogleCloudStorageFileInfo for each item as well; generally the info is already available from
the same "list()" calls, so the only additional cost is dispatching an extra batch request to
retrieve object metadata for all listed *directories*, since these are originally listed as
String prefixes without attached metadata. |
List<GoogleCloudStorageItemInfo> |
GoogleCloudStorageImpl.updateItems(List<UpdatableItemInfo> itemInfoList) |
List<GoogleCloudStorageItemInfo> |
CacheSupplementedGoogleCloudStorage.updateItems(List<UpdatableItemInfo> itemInfoList) |
List<GoogleCloudStorageItemInfo> |
MetadataReadOnlyGoogleCloudStorage.updateItems(List<UpdatableItemInfo> itemInfoList) |
List<GoogleCloudStorageItemInfo> |
ThrottledGoogleCloudStorage.updateItems(List<UpdatableItemInfo> itemInfoList) |
List<GoogleCloudStorageItemInfo> |
GoogleCloudStorage.updateItems(List<UpdatableItemInfo> itemInfoList)
Attempt to update metadata of the objects referenced within the passed itemInfo objects.
|
| 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.
|
GoogleCloudStorageItemInfo |
CacheEntry.setItemInfo(GoogleCloudStorageItemInfo newItemInfo)
Sets the GoogleCloudStorageItemInfo corresponding to this CacheEntry's StorageResourceId,
and updates the itemInfoUpdateTimeMillis.
|
| 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.
|
| Constructor and Description |
|---|
CachedBucket(GoogleCloudStorageItemInfo bucketItemInfo)
Constructs a CachedBucket with the provided GoogleCloudStorageItemInfo for the bucket.
|
CacheEntry(GoogleCloudStorageItemInfo itemInfo) |
| Constructor and Description |
|---|
MetadataReadOnlyGoogleCloudStorage(Collection<GoogleCloudStorageItemInfo> itemInfos)
Constructs a MetadataReadOnlyGoogleCloudStorage which can be used for temporary contexts
where only object metadata read operations will be used through the GoogleCloudStorage
interface.
|
Copyright © 2015. All rights reserved.