public static class Cache.Pair<RequestT,ResponseT>
extends java.lang.Object
PTransform
s. Functionally, these go
together and must at times be instantiated using the same inputs.Modifier and Type | Method and Description |
---|---|
PTransform<PCollection<RequestT>,Result<KV<RequestT,ResponseT>>> |
getRead() |
PTransform<PCollection<KV<RequestT,ResponseT>>,Result<KV<RequestT,ResponseT>>> |
getWrite() |
static <RequestT,ResponseT> |
of(PTransform<PCollection<RequestT>,Result<KV<RequestT,ResponseT>>> read,
PTransform<PCollection<KV<RequestT,ResponseT>>,Result<KV<RequestT,ResponseT>>> write) |
public static <RequestT,ResponseT> Cache.Pair<RequestT,ResponseT> of(PTransform<PCollection<RequestT>,Result<KV<RequestT,ResponseT>>> read, PTransform<PCollection<KV<RequestT,ResponseT>>,Result<KV<RequestT,ResponseT>>> write)
public PTransform<PCollection<RequestT>,Result<KV<RequestT,ResponseT>>> getRead()
public PTransform<PCollection<KV<RequestT,ResponseT>>,Result<KV<RequestT,ResponseT>>> getWrite()