public static interface PipelineTranslator.TranslationState extends EncoderProvider
EncoderProvider.Factory<T>
Modifier and Type | Method and Description |
---|---|
<T> org.apache.spark.sql.Dataset<org.apache.beam.sdk.util.WindowedValue<T>> |
getDataset(PCollection<T> pCollection) |
PipelineOptions |
getOptions() |
java.util.function.Supplier<PipelineOptions> |
getOptionsSupplier() |
<T> org.apache.spark.broadcast.Broadcast<SideInputValues<T>> |
getSideInputBroadcast(PCollection<T> pCollection,
SideInputValues.Loader<T> loader) |
org.apache.spark.sql.SparkSession |
getSparkSession() |
boolean |
isLeaf(PCollection<?> pCollection) |
default <T> void |
putDataset(PCollection<T> pCollection,
org.apache.spark.sql.Dataset<org.apache.beam.sdk.util.WindowedValue<T>> dataset) |
<T> void |
putDataset(PCollection<T> pCollection,
org.apache.spark.sql.Dataset<org.apache.beam.sdk.util.WindowedValue<T>> dataset,
boolean cache) |
<InT,OutT> void |
putUnresolved(PCollection<OutT> out,
PipelineTranslator.UnresolvedTranslation<InT,OutT> unresolved) |
encoderFactory, encoderOf, encoderOf, keyEncoderOf, kvEncoderOf, valueEncoderOf
<T> org.apache.spark.sql.Dataset<org.apache.beam.sdk.util.WindowedValue<T>> getDataset(PCollection<T> pCollection)
boolean isLeaf(PCollection<?> pCollection)
<InT,OutT> void putUnresolved(PCollection<OutT> out, PipelineTranslator.UnresolvedTranslation<InT,OutT> unresolved)
<T> void putDataset(PCollection<T> pCollection, org.apache.spark.sql.Dataset<org.apache.beam.sdk.util.WindowedValue<T>> dataset, boolean cache)
default <T> void putDataset(PCollection<T> pCollection, org.apache.spark.sql.Dataset<org.apache.beam.sdk.util.WindowedValue<T>> dataset)
<T> org.apache.spark.broadcast.Broadcast<SideInputValues<T>> getSideInputBroadcast(PCollection<T> pCollection, SideInputValues.Loader<T> loader)
java.util.function.Supplier<PipelineOptions> getOptionsSupplier()
PipelineOptions getOptions()
org.apache.spark.sql.SparkSession getSparkSession()