| Package | Description |
|---|---|
| com.google.cloud.hadoop.gcsio | |
| com.google.cloud.hadoop.gcsio.testing |
| Modifier and Type | Field and Description |
|---|---|
static GoogleCloudStorageItemInfo |
GoogleCloudStorageItemInfo.ROOT_INFO |
| Modifier and Type | Method and Description |
|---|---|
static GoogleCloudStorageItemInfo |
GoogleCloudStorageImpl.createItemInfoForInferredDirectory(StorageResourceId resourceId)
Helper for creating a "found" GoogleCloudStorageItemInfo
for an inferred directory.
|
protected static GoogleCloudStorageItemInfo |
GoogleCloudStorageImpl.createItemInfoForNotFound(StorageResourceId resourceId)
Helper for creating a "not found" GoogleCloudStorageItemInfo for a StorageResourceId.
|
GoogleCloudStorageItemInfo |
FileInfo.getItemInfo()
Gets information about the underlying item.
|
GoogleCloudStorageItemInfo |
CacheEntry.getItemInfo()
Returns the GoogleCloudStorageItemInfo currently held by this CacheEntry; may be null if one
was never provided.
|
GoogleCloudStorageItemInfo |
GoogleCloudStorageImpl.getItemInfo(StorageResourceId resourceId)
See
GoogleCloudStorage.getItemInfo(StorageResourceId) for details about expected
behavior. |
GoogleCloudStorageItemInfo |
GoogleCloudStorage.getItemInfo(StorageResourceId resourceId)
Gets information about an object or a bucket.
|
GoogleCloudStorageItemInfo |
CacheSupplementedGoogleCloudStorage.getItemInfo(StorageResourceId resourceId)
Pure pass-through.
|
GoogleCloudStorageItemInfo |
MetadataReadOnlyGoogleCloudStorage.getItemInfo(StorageResourceId resourceId)
Pure fetch from cache.
|
GoogleCloudStorageItemInfo |
ThrottledGoogleCloudStorage.getItemInfo(StorageResourceId resourceId) |
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> |
GoogleCloudStorage.getItemInfos(List<StorageResourceId> resourceIds)
Gets information about multiple objects and/or buckets.
|
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> |
GoogleCloudStorageImpl.listBucketInfo()
See
GoogleCloudStorage.listBucketInfo() for details about expected behavior. |
List<GoogleCloudStorageItemInfo> |
GoogleCloudStorage.listBucketInfo()
Gets a list of GoogleCloudStorageItemInfo for all buckets of this project.
|
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> |
GoogleCloudStorageImpl.listObjectInfo(String bucketName,
String objectNamePrefix,
String delimiter)
See
GoogleCloudStorage.listObjectInfo(String, String, String)
for details about expected behavior. |
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. |
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> |
GoogleCloudStorageImpl.listObjectInfo(String bucketName,
String objectNamePrefix,
String delimiter,
long maxResults)
See
GoogleCloudStorage.listObjectInfo(String, String, String, long)
for details about expected behavior. |
List<GoogleCloudStorageItemInfo> |
GoogleCloudStorage.listObjectInfo(String bucketName,
String objectNamePrefix,
String delimiter,
long maxResults)
Same name-matching semantics as
listObjectNames except this method
retrieves the full GoogleCloudStorageFileInfo for each item as well. |
List<GoogleCloudStorageItemInfo> |
CacheSupplementedGoogleCloudStorage.listObjectInfo(String bucketName,
String objectNamePrefix,
String delimiter,
long maxResults)
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,
long maxResults)
Uses shared prefix-matching logic to filter entries from the metadata cache.
|
List<GoogleCloudStorageItemInfo> |
ThrottledGoogleCloudStorage.listObjectInfo(String bucketName,
String objectNamePrefix,
String delimiter,
long maxResults) |
List<GoogleCloudStorageItemInfo> |
GoogleCloudStorageImpl.updateItems(List<UpdatableItemInfo> itemInfoList) |
List<GoogleCloudStorageItemInfo> |
GoogleCloudStorage.updateItems(List<UpdatableItemInfo> itemInfoList)
Attempt to update metadata of the objects referenced within the passed itemInfo objects.
|
List<GoogleCloudStorageItemInfo> |
CacheSupplementedGoogleCloudStorage.updateItems(List<UpdatableItemInfo> itemInfoList) |
List<GoogleCloudStorageItemInfo> |
MetadataReadOnlyGoogleCloudStorage.updateItems(List<UpdatableItemInfo> itemInfoList) |
List<GoogleCloudStorageItemInfo> |
ThrottledGoogleCloudStorage.updateItems(List<UpdatableItemInfo> itemInfoList) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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(PathCodec pathCodec,
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 that can be used for temporary contexts
where only object metadata read operations will be used through the GoogleCloudStorage
interface.
|
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudStorageItemInfo |
InMemoryBucketEntry.getInfo()
Gets the
GoogleCloudStorageItemInfo associated with this BucketEntry; the 'size'
of a bucket is always 0. |
GoogleCloudStorageItemInfo |
InMemoryObjectEntry.getInfo()
Gets the
GoogleCloudStorageItemInfo associated with this InMemoryObjectEntry, whose
'size' is only updated when the initial writer has finished closing the channel. |
GoogleCloudStorageItemInfo |
InMemoryGoogleCloudStorage.getItemInfo(StorageResourceId resourceId) |
| Modifier and Type | Method and Description |
|---|---|
List<GoogleCloudStorageItemInfo> |
InMemoryGoogleCloudStorage.getItemInfos(List<StorageResourceId> resourceIds) |
List<GoogleCloudStorageItemInfo> |
InMemoryGoogleCloudStorage.listBucketInfo() |
List<GoogleCloudStorageItemInfo> |
InMemoryGoogleCloudStorage.listObjectInfo(String bucketName,
String objectNamePrefix,
String delimiter) |
List<GoogleCloudStorageItemInfo> |
InMemoryGoogleCloudStorage.listObjectInfo(String bucketName,
String objectNamePrefix,
String delimiter,
long maxResults) |
List<GoogleCloudStorageItemInfo> |
InMemoryGoogleCloudStorage.updateItems(List<UpdatableItemInfo> itemInfoList) |
Copyright © 2016. All rights reserved.