Class ExpansionServiceOptions.ExpansionServiceConfigFactory
java.lang.Object
org.apache.beam.sdk.expansion.service.ExpansionServiceOptions.ExpansionServiceConfigFactory
- All Implemented Interfaces:
DefaultValueFactory<ExpansionServiceConfig>
- Enclosing interface:
ExpansionServiceOptions
public static class ExpansionServiceOptions.ExpansionServiceConfigFactory
extends Object
implements DefaultValueFactory<ExpansionServiceConfig>
Loads the ExpansionService config.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory
.
-
Constructor Details
-
ExpansionServiceConfigFactory
public ExpansionServiceConfigFactory()
-
-
Method Details
-
create
Description copied from interface:DefaultValueFactory
Creates a default value for a getter marked withDefault.InstanceFactory
.- Specified by:
create
in interfaceDefaultValueFactory<ExpansionServiceConfig>
- Parameters:
options
- The current pipeline options.- Returns:
- The default value to be used for the annotated getter.
-