| 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 |
|---|---|
GoogleCloudStorageItemInfo |
GoogleCloudStorageImpl.composeObjects(List<StorageResourceId> sources,
StorageResourceId destination,
CreateObjectOptions options) |
GoogleCloudStorageItemInfo |
GoogleCloudStorage.composeObjects(List<StorageResourceId> sources,
StorageResourceId destination,
CreateObjectOptions options)
Composes inputs into a single GCS object.
|
GoogleCloudStorageItemInfo |
PerformanceCachingGoogleCloudStorage.composeObjects(List<StorageResourceId> sources,
StorageResourceId destination,
CreateObjectOptions options) |
GoogleCloudStorageItemInfo |
ForwardingGoogleCloudStorage.composeObjects(List<StorageResourceId> sources,
StorageResourceId destination,
CreateObjectOptions options) |
static GoogleCloudStorageItemInfo |
GoogleCloudStorageItemInfo.createBucket(StorageResourceId resourceId,
long creationTime,
long modificationTime,
String location,
String storageClass)
Factory method for creating a GoogleCloudStorageItemInfo for a bucket.
|
static GoogleCloudStorageItemInfo |
GoogleCloudStorageItemInfo.createInferredDirectory(StorageResourceId resourceId)
Factory method for creating a "found" GoogleCloudStorageItemInfo for an inferred directory.
|
static GoogleCloudStorageItemInfo |
GoogleCloudStorageImpl.createItemInfoForBucket(StorageResourceId resourceId,
com.google.api.services.storage.model.Bucket bucket)
Helper for converting a StorageResourceId + Bucket into a GoogleCloudStorageItemInfo.
|
static GoogleCloudStorageItemInfo |
GoogleCloudStorageImpl.createItemInfoForStorageObject(com.google.api.services.storage.model.StorageObject object) |
static GoogleCloudStorageItemInfo |
GoogleCloudStorageImpl.createItemInfoForStorageObject(StorageResourceId resourceId,
com.google.api.services.storage.model.StorageObject object)
Helper for converting a StorageResourceId + StorageObject into a GoogleCloudStorageItemInfo.
|
static GoogleCloudStorageItemInfo |
GoogleCloudStorageItemInfo.createNotFound(StorageResourceId resourceId)
Factory method for creating a "not found" GoogleCloudStorageItemInfo for a bucket or an object.
|
static GoogleCloudStorageItemInfo |
GoogleCloudStorageItemInfo.createObject(StorageResourceId resourceId,
long creationTime,
long modificationTime,
long size,
String contentType,
String contentEncoding,
Map<String,byte[]> metadata,
long contentGeneration,
long metaGeneration,
VerificationAttributes verificationAttributes)
Factory method for creating a GoogleCloudStorageItemInfo for an object.
|
protected GoogleCloudStorageItemInfo |
GoogleCloudStorageReadChannel.getInitialMetadata()
Returns
GoogleCloudStorageItemInfo used to initialize metadata in constructor or null if GoogleCloudStorageReadOptions.getFastFailOnNotFound() is set to false. |
GoogleCloudStorageItemInfo |
PrefixMappedItemCache.getItem(StorageResourceId id)
Gets the cached item associated with the given resource id.
|
GoogleCloudStorageItemInfo |
GoogleCloudStorageItemInfo.Provider.getItemInfo() |
GoogleCloudStorageItemInfo |
GoogleCloudStorageWriteChannel.getItemInfo()
Returns non-null only if close() has been called and the underlying object has been
successfully committed.
|
GoogleCloudStorageItemInfo |
GoogleCloudStorageGrpcWriteChannel.getItemInfo()
Returns non-null only if close() has been called and the underlying object has been
successfully committed.
|
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 |
PerformanceCachingGoogleCloudStorage.getItemInfo(StorageResourceId resourceId)
This function may return cached copies of GoogleCloudStorageItemInfo.
|
GoogleCloudStorageItemInfo |
ForwardingGoogleCloudStorage.getItemInfo(StorageResourceId resourceId) |
GoogleCloudStorageItemInfo |
PrefixMappedItemCache.putItem(GoogleCloudStorageItemInfo item)
Inserts an item into the cache.
|
GoogleCloudStorageItemInfo |
PrefixMappedItemCache.removeItem(StorageResourceId id)
Removes the item from the cache.
|
| 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> |
PerformanceCachingGoogleCloudStorage.getItemInfos(List<StorageResourceId> resourceIds)
This function may return cached copies of GoogleCloudStorageItemInfo.
|
List<GoogleCloudStorageItemInfo> |
ForwardingGoogleCloudStorage.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> |
PerformanceCachingGoogleCloudStorage.listBucketInfo() |
List<GoogleCloudStorageItemInfo> |
ForwardingGoogleCloudStorage.listBucketInfo() |
default List<GoogleCloudStorageItemInfo> |
GoogleCloudStorage.listObjectInfo(String bucketName,
String objectNamePrefix)
Lists
GoogleCloudStorageItemInfo of objects contained in the given bucket and whose
names begin with the given prefix. |
List<GoogleCloudStorageItemInfo> |
GoogleCloudStorageImpl.listObjectInfo(String bucketName,
String objectNamePrefix,
ListObjectOptions listOptions) |
List<GoogleCloudStorageItemInfo> |
GoogleCloudStorage.listObjectInfo(String bucketName,
String objectNamePrefix,
ListObjectOptions listOptions)
Lists
GoogleCloudStorageItemInfo of objects contained in the given bucket and whose
names begin with the given prefix. |
List<GoogleCloudStorageItemInfo> |
PerformanceCachingGoogleCloudStorage.listObjectInfo(String bucketName,
String objectNamePrefix,
ListObjectOptions listOptions)
This function may return cached copies of
GoogleCloudStorageItemInfo. |
List<GoogleCloudStorageItemInfo> |
ForwardingGoogleCloudStorage.listObjectInfo(String bucketName,
String objectNamePrefix,
ListObjectOptions listOptions) |
GoogleCloudStorage.ListPage<GoogleCloudStorageItemInfo> |
GoogleCloudStorageImpl.listObjectInfoPage(String bucketName,
String objectNamePrefix,
ListObjectOptions listOptions,
String pageToken) |
GoogleCloudStorage.ListPage<GoogleCloudStorageItemInfo> |
GoogleCloudStorage.listObjectInfoPage(String bucketName,
String objectNamePrefix,
ListObjectOptions listOptions,
String pageToken)
The same semantics as
GoogleCloudStorage.listObjectInfo(java.lang.String, java.lang.String), but returns only result of single list request
(1 page). |
GoogleCloudStorage.ListPage<GoogleCloudStorageItemInfo> |
PerformanceCachingGoogleCloudStorage.listObjectInfoPage(String bucketName,
String objectNamePrefix,
ListObjectOptions listOptions,
String pageToken) |
GoogleCloudStorage.ListPage<GoogleCloudStorageItemInfo> |
ForwardingGoogleCloudStorage.listObjectInfoPage(String bucketName,
String objectNamePrefix,
ListObjectOptions listOptions,
String pageToken) |
default GoogleCloudStorage.ListPage<GoogleCloudStorageItemInfo> |
GoogleCloudStorage.listObjectInfoPage(String bucketName,
String objectNamePrefix,
String pageToken)
The same semantics as
GoogleCloudStorage.listObjectInfo(java.lang.String, java.lang.String), but returns only result of single list request
(1 page). |
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> |
PerformanceCachingGoogleCloudStorage.updateItems(List<UpdatableItemInfo> itemInfoList) |
List<GoogleCloudStorageItemInfo> |
ForwardingGoogleCloudStorage.updateItems(List<UpdatableItemInfo> itemInfoList) |
| 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 |
PrefixMappedItemCache.putItem(GoogleCloudStorageItemInfo item)
Inserts an item into the cache.
|
void |
GoogleCloudStorageImpl.updateMetadata(GoogleCloudStorageItemInfo itemInfo,
Map<String,byte[]> metadata) |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudStorageItemInfo |
GcsItemInfoTestBuilder.Builder.build() |
GoogleCloudStorageItemInfo |
InMemoryGoogleCloudStorage.composeObjects(List<StorageResourceId> sources,
StorageResourceId destination,
CreateObjectOptions options) |
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. |
protected GoogleCloudStorageItemInfo |
InMemoryObjectReadChannel.getInitialMetadata() |
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,
ListObjectOptions listOptions) |
GoogleCloudStorage.ListPage<GoogleCloudStorageItemInfo> |
InMemoryGoogleCloudStorage.listObjectInfoPage(String bucketName,
String objectNamePrefix,
ListObjectOptions listOptions,
String pageToken) |
List<GoogleCloudStorageItemInfo> |
InMemoryGoogleCloudStorage.updateItems(List<UpdatableItemInfo> itemInfoList) |
Copyright © 2022. All rights reserved.