| Package | Description |
|---|---|
| com.google.cloud.hadoop.gcsio | |
| com.google.cloud.hadoop.gcsio.testing |
| 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.
|
static StorageResourceId |
StorageResourceId.fromObjectName(java.lang.String objectName)
Parses
StorageResourceId from specified string. |
static StorageResourceId |
StorageResourceId.fromObjectName(java.lang.String objectName,
long generationId)
Parses
StorageResourceId from specified string and generationId. |
StorageResourceId |
GoogleCloudStorageItemInfo.getResourceId()
Gets the resourceId that holds the (possibly null) bucketName and objectName of this object.
|
StorageResourceId |
UpdatableItemInfo.getStorageResourceId() |
static StorageResourceId |
GoogleCloudStorageFileSystem.validatePathAndGetId(java.net.URI uri,
boolean allowEmptyObjectNames)
Deprecated.
This method is deprecated as each instance of GCS FS can be configured
with a codec.
|
StorageResourceId |
PathCodec.validatePathAndGetId(java.net.URI path,
boolean allowEmptyObjectName)
Validates the given URI and if valid, returns the associated StorageResourceId.
|
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudStorageItemInfo |
GoogleCloudStorageImpl.composeObjects(java.util.List<StorageResourceId> sources,
StorageResourceId destination,
CreateObjectOptions options) |
GoogleCloudStorageItemInfo |
ThrottledGoogleCloudStorage.composeObjects(java.util.List<StorageResourceId> sources,
StorageResourceId destination,
CreateObjectOptions options) |
GoogleCloudStorageItemInfo |
PerformanceCachingGoogleCloudStorage.composeObjects(java.util.List<StorageResourceId> sources,
StorageResourceId destination,
CreateObjectOptions options) |
GoogleCloudStorageItemInfo |
ForwardingGoogleCloudStorage.composeObjects(java.util.List<StorageResourceId> sources,
StorageResourceId destination,
CreateObjectOptions options) |
GoogleCloudStorageItemInfo |
GoogleCloudStorage.composeObjects(java.util.List<StorageResourceId> sources,
StorageResourceId destination,
CreateObjectOptions options)
Composes inputs into a single GCS object.
|
static StorageResourceId |
FileInfo.convertToDirectoryPath(StorageResourceId resourceId)
Converts the given resourceId to look like a directory path.
|
java.nio.channels.WritableByteChannel |
GoogleCloudStorageImpl.create(StorageResourceId resourceId)
See
GoogleCloudStorage.create(StorageResourceId) for details about expected behavior. |
java.nio.channels.WritableByteChannel |
ThrottledGoogleCloudStorage.create(StorageResourceId resourceId) |
java.nio.channels.WritableByteChannel |
ForwardingGoogleCloudStorage.create(StorageResourceId resourceId) |
java.nio.channels.WritableByteChannel |
GoogleCloudStorage.create(StorageResourceId resourceId)
Creates and opens an object for writing.
|
java.nio.channels.WritableByteChannel |
GoogleCloudStorageImpl.create(StorageResourceId resourceId,
CreateObjectOptions options) |
java.nio.channels.WritableByteChannel |
ThrottledGoogleCloudStorage.create(StorageResourceId resourceId,
CreateObjectOptions options) |
java.nio.channels.WritableByteChannel |
ForwardingGoogleCloudStorage.create(StorageResourceId resourceId,
CreateObjectOptions options) |
java.nio.channels.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 |
ThrottledGoogleCloudStorage.createEmptyObject(StorageResourceId resourceId) |
void |
ForwardingGoogleCloudStorage.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 |
ThrottledGoogleCloudStorage.createEmptyObject(StorageResourceId resourceId,
CreateObjectOptions options) |
void |
ForwardingGoogleCloudStorage.createEmptyObject(StorageResourceId resourceId,
CreateObjectOptions options) |
void |
GoogleCloudStorage.createEmptyObject(StorageResourceId resourceId,
CreateObjectOptions options)
Creates an empty object, useful for placeholders representing, for example, directories.
|
static GoogleCloudStorageItemInfo |
GoogleCloudStorageItemInfo.createInferredDirectory(StorageResourceId resourceId)
Helper 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(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)
Helper for creating a "not found" GoogleCloudStorageItemInfo for a StorageResourceId.
|
GoogleCloudStorageItemInfo |
PrefixMappedItemCache.getItem(StorageResourceId id)
Gets the cached item associated with the given resource id.
|
GoogleCloudStorageItemInfo |
GoogleCloudStorageImpl.getItemInfo(StorageResourceId resourceId)
See
GoogleCloudStorage.getItemInfo(StorageResourceId) for details about expected
behavior. |
GoogleCloudStorageItemInfo |
ThrottledGoogleCloudStorage.getItemInfo(StorageResourceId resourceId) |
GoogleCloudStorageItemInfo |
PerformanceCachingGoogleCloudStorage.getItemInfo(StorageResourceId resourceId)
This function may return cached copies of GoogleCloudStorageItemInfo.
|
GoogleCloudStorageItemInfo |
ForwardingGoogleCloudStorage.getItemInfo(StorageResourceId resourceId) |
GoogleCloudStorageItemInfo |
GoogleCloudStorage.getItemInfo(StorageResourceId resourceId)
Gets information about an object or a bucket.
|
java.nio.channels.SeekableByteChannel |
GoogleCloudStorageImpl.open(StorageResourceId resourceId)
See
GoogleCloudStorage.open(StorageResourceId) for details about expected behavior. |
java.nio.channels.SeekableByteChannel |
ThrottledGoogleCloudStorage.open(StorageResourceId resourceId) |
java.nio.channels.SeekableByteChannel |
ForwardingGoogleCloudStorage.open(StorageResourceId resourceId) |
java.nio.channels.SeekableByteChannel |
GoogleCloudStorage.open(StorageResourceId resourceId)
Opens an object for reading.
|
java.nio.channels.SeekableByteChannel |
GoogleCloudStorageImpl.open(StorageResourceId resourceId,
GoogleCloudStorageReadOptions readOptions)
See
GoogleCloudStorage.open(StorageResourceId) for details about expected behavior. |
java.nio.channels.SeekableByteChannel |
ThrottledGoogleCloudStorage.open(StorageResourceId resourceId,
GoogleCloudStorageReadOptions readOptions) |
java.nio.channels.SeekableByteChannel |
ForwardingGoogleCloudStorage.open(StorageResourceId resourceId,
GoogleCloudStorageReadOptions readOptions) |
java.nio.channels.SeekableByteChannel |
GoogleCloudStorage.open(StorageResourceId resourceId,
GoogleCloudStorageReadOptions readOptions)
Opens an object for reading.
|
GoogleCloudStorageItemInfo |
PrefixMappedItemCache.removeItem(StorageResourceId id)
Removes the item from the cache.
|
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudStorageItemInfo |
GoogleCloudStorageImpl.composeObjects(java.util.List<StorageResourceId> sources,
StorageResourceId destination,
CreateObjectOptions options) |
GoogleCloudStorageItemInfo |
ThrottledGoogleCloudStorage.composeObjects(java.util.List<StorageResourceId> sources,
StorageResourceId destination,
CreateObjectOptions options) |
GoogleCloudStorageItemInfo |
PerformanceCachingGoogleCloudStorage.composeObjects(java.util.List<StorageResourceId> sources,
StorageResourceId destination,
CreateObjectOptions options) |
GoogleCloudStorageItemInfo |
ForwardingGoogleCloudStorage.composeObjects(java.util.List<StorageResourceId> sources,
StorageResourceId destination,
CreateObjectOptions options) |
GoogleCloudStorageItemInfo |
GoogleCloudStorage.composeObjects(java.util.List<StorageResourceId> sources,
StorageResourceId destination,
CreateObjectOptions options)
Composes inputs into a single GCS object.
|
void |
GoogleCloudStorageImpl.createEmptyObjects(java.util.List<StorageResourceId> resourceIds)
See
GoogleCloudStorage.createEmptyObjects(List) for details about
expected behavior. |
void |
ThrottledGoogleCloudStorage.createEmptyObjects(java.util.List<StorageResourceId> resourceIds) |
void |
ForwardingGoogleCloudStorage.createEmptyObjects(java.util.List<StorageResourceId> resourceIds) |
void |
GoogleCloudStorage.createEmptyObjects(java.util.List<StorageResourceId> resourceIds)
Creates a list of empty objects; see
GoogleCloudStorage.createEmptyObject(StorageResourceId) for
the single-item version of this method. |
void |
GoogleCloudStorageImpl.createEmptyObjects(java.util.List<StorageResourceId> resourceIds,
CreateObjectOptions options) |
void |
ThrottledGoogleCloudStorage.createEmptyObjects(java.util.List<StorageResourceId> resourceIds,
CreateObjectOptions options) |
void |
ForwardingGoogleCloudStorage.createEmptyObjects(java.util.List<StorageResourceId> resourceIds,
CreateObjectOptions options) |
void |
GoogleCloudStorage.createEmptyObjects(java.util.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(java.util.List<StorageResourceId> fullObjectNames)
See
GoogleCloudStorage.deleteObjects(List) for details about expected behavior. |
void |
ThrottledGoogleCloudStorage.deleteObjects(java.util.List<StorageResourceId> fullObjectNames) |
void |
PerformanceCachingGoogleCloudStorage.deleteObjects(java.util.List<StorageResourceId> fullObjectNames) |
void |
ForwardingGoogleCloudStorage.deleteObjects(java.util.List<StorageResourceId> fullObjectNames) |
void |
GoogleCloudStorage.deleteObjects(java.util.List<StorageResourceId> fullObjectNames)
Deletes the given objects.
|
java.util.List<GoogleCloudStorageItemInfo> |
GoogleCloudStorageImpl.getItemInfos(java.util.List<StorageResourceId> resourceIds)
See
GoogleCloudStorage.getItemInfos(List) for details about expected behavior. |
java.util.List<GoogleCloudStorageItemInfo> |
ThrottledGoogleCloudStorage.getItemInfos(java.util.List<StorageResourceId> resourceIds) |
java.util.List<GoogleCloudStorageItemInfo> |
PerformanceCachingGoogleCloudStorage.getItemInfos(java.util.List<StorageResourceId> resourceIds)
This function may return cached copies of GoogleCloudStorageItemInfo.
|
java.util.List<GoogleCloudStorageItemInfo> |
ForwardingGoogleCloudStorage.getItemInfos(java.util.List<StorageResourceId> resourceIds) |
java.util.List<GoogleCloudStorageItemInfo> |
GoogleCloudStorage.getItemInfos(java.util.List<StorageResourceId> resourceIds)
Gets information about multiple objects and/or buckets.
|
| Constructor and Description |
|---|
GoogleCloudStorageItemInfo(StorageResourceId resourceId,
long creationTime,
long size,
java.lang.String location,
java.lang.String storageClass)
Constructs an instance of GoogleCloudStorageItemInfo.
|
GoogleCloudStorageItemInfo(StorageResourceId resourceId,
long creationTime,
long size,
java.lang.String location,
java.lang.String storageClass,
java.lang.String contentType,
java.lang.String contentEncoding,
java.util.Map<java.lang.String,byte[]> metadata,
long contentGeneration,
long metaGeneration)
Constructs an instance of GoogleCloudStorageItemInfo.
|
GoogleCloudStorageItemInfo(StorageResourceId resourceId,
long creationTime,
long size,
java.lang.String location,
java.lang.String storageClass,
java.lang.String contentType,
java.lang.String contentEncoding,
java.util.Map<java.lang.String,byte[]> metadata,
long contentGeneration,
long metaGeneration,
VerificationAttributes verificationAttributes)
Constructs an instance of GoogleCloudStorageItemInfo.
|
UpdatableItemInfo(StorageResourceId storageResourceId,
java.util.Map<java.lang.String,byte[]> metadata) |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudStorageItemInfo |
InMemoryGoogleCloudStorage.composeObjects(java.util.List<StorageResourceId> sources,
StorageResourceId destination,
CreateObjectOptions options) |
java.nio.channels.WritableByteChannel |
InMemoryGoogleCloudStorage.create(StorageResourceId resourceId) |
java.nio.channels.WritableByteChannel |
InMemoryGoogleCloudStorage.create(StorageResourceId resourceId,
CreateObjectOptions options) |
void |
InMemoryGoogleCloudStorage.createEmptyObject(StorageResourceId resourceId) |
void |
InMemoryGoogleCloudStorage.createEmptyObject(StorageResourceId resourceId,
CreateObjectOptions options) |
GoogleCloudStorageItemInfo |
InMemoryGoogleCloudStorage.getItemInfo(StorageResourceId resourceId) |
java.nio.channels.SeekableByteChannel |
InMemoryGoogleCloudStorage.open(StorageResourceId resourceId) |
java.nio.channels.SeekableByteChannel |
InMemoryGoogleCloudStorage.open(StorageResourceId resourceId,
GoogleCloudStorageReadOptions readOptions) |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudStorageItemInfo |
InMemoryGoogleCloudStorage.composeObjects(java.util.List<StorageResourceId> sources,
StorageResourceId destination,
CreateObjectOptions options) |
void |
InMemoryGoogleCloudStorage.createEmptyObjects(java.util.List<StorageResourceId> resourceIds) |
void |
InMemoryGoogleCloudStorage.createEmptyObjects(java.util.List<StorageResourceId> resourceIds,
CreateObjectOptions options) |
void |
InMemoryGoogleCloudStorage.deleteObjects(java.util.List<StorageResourceId> fullObjectNames) |
java.util.List<GoogleCloudStorageItemInfo> |
InMemoryGoogleCloudStorage.getItemInfos(java.util.List<StorageResourceId> resourceIds) |
Copyright © 2019. All rights reserved.