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.GcpUserCredentialsFactory
GoogleApiDebugOptions.GoogleApiTracer
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.ExecutorService |
getExecutorService()
The ExecutorService instance to use to create threads, can be overridden to specify an
ExecutorService that is compatible with the users environment.
|
java.lang.String |
getGcsEndpoint()
GCS endpoint to use.
|
java.lang.Integer |
getGcsUploadBufferSizeBytes()
The buffer size (in bytes) to use when uploading files to GCS.
|
org.apache.beam.sdk.util.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.
|
java.lang.Class<? extends PathValidator> |
getPathValidatorClass()
The class of the validator that should be created and used to validate paths.
|
void |
setExecutorService(java.util.concurrent.ExecutorService value) |
void |
setGcsEndpoint(java.lang.String value) |
void |
setGcsUploadBufferSizeBytes(java.lang.Integer bytes) |
void |
setGcsUtil(org.apache.beam.sdk.util.GcsUtil value) |
void |
setPathValidator(PathValidator validator) |
void |
setPathValidatorClass(java.lang.Class<? extends PathValidator> validatorClass) |
getAppName, setAppName
getCredentialFactoryClass, getGcpCredential, getGcpTempLocation, getProject, getZone, setCredentialFactoryClass, setGcpCredential, setGcpTempLocation, setProject, setZone
getGoogleApiTrace, setGoogleApiTrace
as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, outputRuntimeOptions, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation
populateDisplayData
@Default.InstanceFactory(value=org.apache.beam.sdk.util.GcsUtil.GcsUtilFactory.class) @Hidden org.apache.beam.sdk.util.GcsUtil getGcsUtil()
void setGcsUtil(org.apache.beam.sdk.util.GcsUtil value)
@Default.InstanceFactory(value=GcsOptions.ExecutorServiceFactory.class) @Hidden java.util.concurrent.ExecutorService getExecutorService()
void setExecutorService(java.util.concurrent.ExecutorService value)
@Hidden java.lang.String getGcsEndpoint()
void setGcsEndpoint(java.lang.String value)
@Nullable java.lang.Integer getGcsUploadBufferSizeBytes()
AbstractGoogleAsyncWriteChannel.setUploadBufferSize(int)
for more information on the
restrictions and performance implications of this value.void setGcsUploadBufferSizeBytes(@Nullable java.lang.Integer bytes)
@Default.Class(value=GcsPathValidator.class) java.lang.Class<? extends PathValidator> getPathValidatorClass()
void setPathValidatorClass(java.lang.Class<? extends PathValidator> validatorClass)
@Default.InstanceFactory(value=GcsOptions.PathValidatorFactory.class) PathValidator getPathValidator()
void setPathValidator(PathValidator validator)