Google Cloud Dataflow SDK for Java, version 1.9.1
com.google.cloud.dataflow.sdk.options
Interface ValueProvider<T>
-
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- ValueProvider.NestedValueProvider, ValueProvider.RuntimeValueProvider, ValueProvider.StaticValueProvider
public interface ValueProvider<T> extends Serializable
ValueProvider
is an interface which abstracts the notion of fetching a value that may or may not be currently available. This can be used to parameterize transforms that only read values in at runtime, for example.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface and Description static class
ValueProvider.Deserializer
Deserializer forValueProvider
, which handles type marshalling.static class
ValueProvider.NestedValueProvider<T,X>
ValueProvider.NestedValueProvider
is an implementation ofValueProvider
that allows for wrapping anotherValueProvider
object.static class
ValueProvider.RuntimeValueProvider<T>
ValueProvider.RuntimeValueProvider
is an implementation ofValueProvider
that allows for a value to be provided at execution time rather than at graph construction time.static class
ValueProvider.Serializer
Serializer forValueProvider
.static class
ValueProvider.StaticValueProvider<T>
ValueProvider.StaticValueProvider
is an implementation ofValueProvider
that allows for a static value to be provided.
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
get
T get()
Return the value wrapped by thisValueProvider
.
-
isAccessible
boolean isAccessible()
Whether the contents of thisValueProvider
is available to routines that run at graph construction time.
-
-