public interface GcsOptions extends ApplicationNameOptions, GcpOptions, PipelineOptions
| Modifier and Type | Interface and Description |
|---|---|
static class |
GcsOptions.ExecutorServiceFactory
Returns the default
ExecutorService to use within the Apache Beam SDK. |
static class |
GcsOptions.PathValidatorFactory
Creates a
PathValidator object using the class specified in
getPathValidatorClass(). |
GcpOptions.DefaultProjectFactory, GcpOptions.GcpTempLocationFactory, GcpOptions.GcpUserCredentialsFactoryGoogleApiDebugOptions.GoogleApiTracerPipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory| Modifier and Type | Method and Description |
|---|---|
ExecutorService |
getExecutorService()
The ExecutorService instance to use to create threads, can be overridden to specify an
ExecutorService that is compatible with the users environment.
|
String |
getGcsEndpoint()
GCS endpoint to use.
|
Integer |
getGcsUploadBufferSizeBytes()
The buffer size (in bytes) to use when uploading files to GCS.
|
GcsUtil |
getGcsUtil()
The GcsUtil instance that should be used to communicate with Google Cloud Storage.
|
PathValidator |
getPathValidator()
The path validator instance that should be used to validate paths.
|
Class<? extends PathValidator> |
getPathValidatorClass()
The class of the validator that should be created and used to validate paths.
|
void |
setExecutorService(ExecutorService value) |
void |
setGcsEndpoint(String value) |
void |
setGcsUploadBufferSizeBytes(Integer bytes) |
void |
setGcsUtil(GcsUtil value) |
void |
setPathValidator(PathValidator validator) |
void |
setPathValidatorClass(Class<? extends PathValidator> validatorClass) |
getAppName, setAppNamegetCredentialFactoryClass, getGcpCredential, getGcpTempLocation, getProject, getZone, setCredentialFactoryClass, setGcpCredential, setGcpTempLocation, setProject, setZonegetGoogleApiTrace, setGoogleApiTraceas, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, outputRuntimeOptions, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocationpopulateDisplayData@Default.InstanceFactory(value=GcsUtil.GcsUtilFactory.class) @Hidden GcsUtil getGcsUtil()
void setGcsUtil(GcsUtil value)
@Default.InstanceFactory(value=GcsOptions.ExecutorServiceFactory.class) @Hidden ExecutorService getExecutorService()
void setExecutorService(ExecutorService value)
@Hidden String getGcsEndpoint()
void setGcsEndpoint(String value)
@Nullable Integer getGcsUploadBufferSizeBytes()
AbstractGoogleAsyncWriteChannel.setUploadBufferSize(int) for more information on the
restrictions and performance implications of this value.@Default.Class(value=GcsPathValidator.class) Class<? extends PathValidator> getPathValidatorClass()
void setPathValidatorClass(Class<? extends PathValidator> validatorClass)
@Default.InstanceFactory(value=GcsOptions.PathValidatorFactory.class) PathValidator getPathValidator()
void setPathValidator(PathValidator validator)
Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.