Google Cloud Dataflow SDK for Java, version 1.9.1
com.google.cloud.dataflow.sdk.options
Class ValueProvider.NestedValueProvider<T,X>
- java.lang.Object
-
- com.google.cloud.dataflow.sdk.options.ValueProvider.NestedValueProvider<T,X>
-
- All Implemented Interfaces:
- ValueProvider<T>, Serializable
- Enclosing interface:
- ValueProvider<T>
public static class ValueProvider.NestedValueProvider<T,X> extends Object implements ValueProvider<T>, Serializable
ValueProvider.NestedValueProvider
is an implementation ofValueProvider
that allows for wrapping anotherValueProvider
object.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.cloud.dataflow.sdk.options.ValueProvider
ValueProvider.Deserializer, ValueProvider.NestedValueProvider<T,X>, ValueProvider.RuntimeValueProvider<T>, ValueProvider.Serializer, ValueProvider.StaticValueProvider<T>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description T
get()
Return the value wrapped by thisValueProvider
.boolean
isAccessible()
Whether the contents of thisValueProvider
is available to routines that run at graph construction time.static <T,X> ValueProvider.NestedValueProvider<T,X>
of(ValueProvider<X> value, SerializableFunction<X,T> translator)
Creates aValueProvider.NestedValueProvider
that wraps the provided value.String
propertyName()
Return the property name associated with this provider.String
toString()
-
-
-
Method Detail
-
of
public static <T,X> ValueProvider.NestedValueProvider<T,X> of(ValueProvider<X> value, SerializableFunction<X,T> translator)
Creates aValueProvider.NestedValueProvider
that wraps the provided value.
-
get
public T get()
Description copied from interface:ValueProvider
Return the value wrapped by thisValueProvider
.- Specified by:
get
in interfaceValueProvider<T>
-
isAccessible
public boolean isAccessible()
Description copied from interface:ValueProvider
Whether the contents of thisValueProvider
is available to routines that run at graph construction time.- Specified by:
isAccessible
in interfaceValueProvider<T>
-
propertyName
public String propertyName()
Return the property name associated with this provider.
-
-