public class Read
extends java.lang.Object
PTransform for reading from a Source.
 Usage example:
 Pipeline p = Pipeline.create();
 p.apply(Read.from(new MySource().withFoo("foo").withBar("bar")));
 | Modifier and Type | Class and Description | 
|---|---|
| static class  | Read.Bounded<T>PTransformthat reads from aBoundedSource. | 
| static class  | Read.BuilderHelper class for building  Readtransforms. | 
| static class  | Read.Unbounded<T>PTransformthat reads from aUnboundedSource. | 
| Constructor and Description | 
|---|
| Read() | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> Read.Bounded<T> | from(BoundedSource<T> source)Returns a new  Read.BoundedPTransformreading from the givenBoundedSource. | 
| static <T> Read.Unbounded<T> | from(UnboundedSource<T,?> source) | 
public static <T> Read.Bounded<T> from(BoundedSource<T> source)
Read.Bounded PTransform reading from the given BoundedSource.public static <T> Read.Unbounded<T> from(UnboundedSource<T,?> source)