| Package | Description |
|---|---|
| com.google.cloud.hadoop.gcsio |
| Modifier and Type | Field and Description |
|---|---|
static StorageResourceId |
StorageResourceId.ROOT |
| Modifier and Type | Method and Description |
|---|---|
static StorageResourceId |
FileInfo.convertToDirectoryPath(StorageResourceId resourceId)
Converts the given resourceId to look like a directory path.
|
StorageResourceId |
GoogleCloudStorageItemInfo.getResourceId()
Gets the resourceId which holds the (possibly null) bucketName and objectName of this object.
|
StorageResourceId |
CacheEntry.getResourceId()
Returns the StorageResourceId associated with this CacheEntry; may identify a Bucket or
StorageObject.
|
StorageResourceId |
UpdatableItemInfo.getStorageResourceId() |
static StorageResourceId |
GoogleCloudStorageFileSystem.validatePathAndGetId(URI path,
boolean allowEmptyObjectName)
Validates the given URI and if valid, returns the associated StorageResourceId.
|
| Modifier and Type | Method and Description |
|---|---|
static StorageResourceId |
FileInfo.convertToDirectoryPath(StorageResourceId resourceId)
Converts the given resourceId to look like a directory path.
|
WritableByteChannel |
GoogleCloudStorageImpl.create(StorageResourceId resourceId)
See
GoogleCloudStorage.create(StorageResourceId) for details about expected behavior. |
WritableByteChannel |
CacheSupplementedGoogleCloudStorage.create(StorageResourceId resourceId)
Wraps the delegate's returned WritableByteChannel in a helper which will update the
resourceCache when close() is called.
|
WritableByteChannel |
MetadataReadOnlyGoogleCloudStorage.create(StorageResourceId resourceId) |
WritableByteChannel |
ThrottledGoogleCloudStorage.create(StorageResourceId resourceId) |
WritableByteChannel |
GoogleCloudStorage.create(StorageResourceId resourceId)
Creates and opens an object for writing.
|
WritableByteChannel |
GoogleCloudStorageImpl.create(StorageResourceId resourceId,
CreateObjectOptions options) |
WritableByteChannel |
CacheSupplementedGoogleCloudStorage.create(StorageResourceId resourceId,
CreateObjectOptions options) |
WritableByteChannel |
MetadataReadOnlyGoogleCloudStorage.create(StorageResourceId resourceId,
CreateObjectOptions options) |
WritableByteChannel |
ThrottledGoogleCloudStorage.create(StorageResourceId resourceId,
CreateObjectOptions options) |
WritableByteChannel |
GoogleCloudStorage.create(StorageResourceId resourceId,
CreateObjectOptions options)
Creates and opens an object for writing.
|
void |
GoogleCloudStorageImpl.createEmptyObject(StorageResourceId resourceId)
See
GoogleCloudStorage.createEmptyObject(StorageResourceId) for details about
expected behavior. |
void |
CacheSupplementedGoogleCloudStorage.createEmptyObject(StorageResourceId resourceId)
Records the resourceId after delegating.
|
void |
MetadataReadOnlyGoogleCloudStorage.createEmptyObject(StorageResourceId resourceId) |
void |
ThrottledGoogleCloudStorage.createEmptyObject(StorageResourceId resourceId) |
void |
GoogleCloudStorage.createEmptyObject(StorageResourceId resourceId)
Creates an empty object, useful for placeholders representing, for example, directories.
|
void |
GoogleCloudStorageImpl.createEmptyObject(StorageResourceId resourceId,
CreateObjectOptions options) |
void |
CacheSupplementedGoogleCloudStorage.createEmptyObject(StorageResourceId resourceId,
CreateObjectOptions options) |
void |
MetadataReadOnlyGoogleCloudStorage.createEmptyObject(StorageResourceId resourceId,
CreateObjectOptions options) |
void |
ThrottledGoogleCloudStorage.createEmptyObject(StorageResourceId resourceId,
CreateObjectOptions options) |
void |
GoogleCloudStorage.createEmptyObject(StorageResourceId resourceId,
CreateObjectOptions options)
Creates an empty object, useful for placeholders representing, for example, directories.
|
CacheEntry |
CachedBucket.get(StorageResourceId resourceId)
Returns the CacheEntry entry corresponding to
resourceId which must be a StorageObject
residing inside this CachedBucket, or null if one doesn't exist. |
CacheEntry |
FileSystemBackedDirectoryListCache.getCacheEntry(StorageResourceId resourceId) |
abstract CacheEntry |
DirectoryListCache.getCacheEntry(StorageResourceId resourceId)
Returns the CacheEntry associated with
resourceId, or null if it doesn't exist. |
CacheEntry |
InMemoryDirectoryListCache.getCacheEntry(StorageResourceId resourceId) |
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.
|
SeekableReadableByteChannel |
GoogleCloudStorageImpl.open(StorageResourceId resourceId)
See
GoogleCloudStorage.open(StorageResourceId) for details about expected behavior. |
SeekableReadableByteChannel |
CacheSupplementedGoogleCloudStorage.open(StorageResourceId resourceId)
Pure pass-through.
|
SeekableReadableByteChannel |
MetadataReadOnlyGoogleCloudStorage.open(StorageResourceId resourceId) |
SeekableReadableByteChannel |
ThrottledGoogleCloudStorage.open(StorageResourceId resourceId) |
SeekableReadableByteChannel |
GoogleCloudStorage.open(StorageResourceId resourceId)
Opens an object for reading.
|
CacheEntry |
CachedBucket.put(StorageResourceId resourceId)
Adds a CacheEntry entry to this bucket corresponding to the StorageObject for
resourceId. |
CacheEntry |
FileSystemBackedDirectoryListCache.putResourceId(StorageResourceId resourceId) |
abstract CacheEntry |
DirectoryListCache.putResourceId(StorageResourceId resourceId)
Adds the names of the Bucket or StorageObject referenced by
resourceId to the cache,
with no attached metadata. |
CacheEntry |
InMemoryDirectoryListCache.putResourceId(StorageResourceId resourceId) |
void |
CachedBucket.remove(StorageResourceId resourceId)
Removes the CacheEntry entry corresponding to
resourceId which must be a StorageObject
residing inside this CachedBucket, if it exists. |
void |
FileSystemBackedDirectoryListCache.removeResourceId(StorageResourceId resourceId) |
abstract void |
DirectoryListCache.removeResourceId(StorageResourceId resourceId)
Removes CacheEntry associated with
resourceId, if it exists. |
void |
InMemoryDirectoryListCache.removeResourceId(StorageResourceId resourceId) |
protected static void |
DirectoryListCache.validateResourceId(StorageResourceId resourceId)
Helper to validate
resourceId which may be a Bucket or StorageObject. |
| Modifier and Type | Method and Description |
|---|---|
void |
GoogleCloudStorageImpl.createEmptyObjects(List<StorageResourceId> resourceIds)
See
GoogleCloudStorage.createEmptyObjects(List) for details about
expected behavior. |
void |
CacheSupplementedGoogleCloudStorage.createEmptyObjects(List<StorageResourceId> resourceIds)
Records the resourceIds after delegating.
|
void |
MetadataReadOnlyGoogleCloudStorage.createEmptyObjects(List<StorageResourceId> resourceIds) |
void |
ThrottledGoogleCloudStorage.createEmptyObjects(List<StorageResourceId> resourceIds) |
void |
GoogleCloudStorage.createEmptyObjects(List<StorageResourceId> resourceIds)
Creates a list of empty objects; see
GoogleCloudStorage.createEmptyObject(StorageResourceId) for
the single-item version of this method. |
void |
GoogleCloudStorageImpl.createEmptyObjects(List<StorageResourceId> resourceIds,
CreateObjectOptions options) |
void |
CacheSupplementedGoogleCloudStorage.createEmptyObjects(List<StorageResourceId> resourceIds,
CreateObjectOptions options) |
void |
MetadataReadOnlyGoogleCloudStorage.createEmptyObjects(List<StorageResourceId> resourceIds,
CreateObjectOptions options) |
void |
ThrottledGoogleCloudStorage.createEmptyObjects(List<StorageResourceId> resourceIds,
CreateObjectOptions options) |
void |
GoogleCloudStorage.createEmptyObjects(List<StorageResourceId> resourceIds,
CreateObjectOptions options)
Creates a list of empty objects; see
GoogleCloudStorage.createEmptyObject(StorageResourceId) for
the single-item version of this method. |
void |
GoogleCloudStorageImpl.deleteObjects(List<StorageResourceId> fullObjectNames)
See
GoogleCloudStorage#deleteObjects(List for details about
expected behavior. |
void |
CacheSupplementedGoogleCloudStorage.deleteObjects(List<StorageResourceId> fullObjectNames)
Removes objects from cache, if they exist.
|
void |
MetadataReadOnlyGoogleCloudStorage.deleteObjects(List<StorageResourceId> fullObjectNames) |
void |
ThrottledGoogleCloudStorage.deleteObjects(List<StorageResourceId> fullObjectNames) |
void |
GoogleCloudStorage.deleteObjects(List<StorageResourceId> fullObjectNames)
Deletes the given objects.
|
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.
|
| Constructor and Description |
|---|
CacheEntry(StorageResourceId resourceId)
Constructs a CacheEntry with no known GoogleCloudStorageItemInfo; callers may have to
fetch the associated GoogleCloudStorageItemInfo on-demand.
|
CacheEntry(StorageResourceId resourceId,
long creationTimeMillis)
Constructs a CacheEntry with no known GoogleCloudStorageItemInfo and an explicit
creationTimeMillis; callers may have to fetch the associated GoogleCloudStorageItemInfo
on-demand.
|
GoogleCloudStorageItemInfo(StorageResourceId resourceId,
long creationTime,
long size,
String location,
String storageClass)
Constructs an instance of GoogleCloudStorageItemInfo.
|
GoogleCloudStorageItemInfo(StorageResourceId resourceId,
long creationTime,
long size,
String location,
String storageClass,
Map<String,byte[]> metadata,
long contentGeneration,
long metaGeneration)
Constructs an instance of GoogleCloudStorageItemInfo.
|
UpdatableItemInfo(StorageResourceId storageResourceId,
Map<String,byte[]> metadata) |
Copyright © 2015. All rights reserved.