public abstract static class IcebergIO.ReadRows extends PTransform<PBegin,PCollection<Row>>
| Modifier and Type | Class and Description |
|---|---|
static class |
IcebergIO.ReadRows.StartingStrategy |
annotations, displayData, name, resourceHints| Constructor and Description |
|---|
ReadRows() |
| Modifier and Type | Method and Description |
|---|---|
PCollection<Row> |
expand(PBegin input)
Override this method to specify how this
PTransform should be expanded on the given
InputT. |
IcebergIO.ReadRows |
from(org.apache.iceberg.catalog.TableIdentifier tableIdentifier) |
IcebergIO.ReadRows |
fromSnapshot(@Nullable java.lang.Long fromSnapshot) |
IcebergIO.ReadRows |
fromTimestamp(@Nullable java.lang.Long fromTimestamp) |
IcebergIO.ReadRows |
streaming(@Nullable java.lang.Boolean streaming) |
IcebergIO.ReadRows |
toSnapshot(@Nullable java.lang.Long toSnapshot) |
IcebergIO.ReadRows |
toTimestamp(@Nullable java.lang.Long toTimestamp) |
IcebergIO.ReadRows |
withCdc() |
IcebergIO.ReadRows |
withPollInterval(Duration pollInterval) |
IcebergIO.ReadRows |
withStartingStrategy(@Nullable IcebergIO.ReadRows.StartingStrategy strategy) |
addAnnotation, compose, compose, getAdditionalInputs, getAnnotations, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, populateDisplayData, setDisplayData, setResourceHints, toString, validate, validatepublic IcebergIO.ReadRows withCdc()
public IcebergIO.ReadRows from(org.apache.iceberg.catalog.TableIdentifier tableIdentifier)
public IcebergIO.ReadRows fromSnapshot(@Nullable java.lang.Long fromSnapshot)
public IcebergIO.ReadRows toSnapshot(@Nullable java.lang.Long toSnapshot)
public IcebergIO.ReadRows fromTimestamp(@Nullable java.lang.Long fromTimestamp)
public IcebergIO.ReadRows toTimestamp(@Nullable java.lang.Long toTimestamp)
public IcebergIO.ReadRows withPollInterval(Duration pollInterval)
public IcebergIO.ReadRows streaming(@Nullable java.lang.Boolean streaming)
public IcebergIO.ReadRows withStartingStrategy(@Nullable IcebergIO.ReadRows.StartingStrategy strategy)
public PCollection<Row> expand(PBegin input)
PTransformPTransform should be expanded on the given
InputT.
NOTE: This method should not be called directly. Instead apply the PTransform should
be applied to the InputT using the apply method.
Composite transforms, which are defined in terms of other transforms, should return the output of one of the composed transforms. Non-composite transforms, which do not apply any transforms internally, should return a new unbound output and register evaluators (via backend-specific registration methods).
expand in class PTransform<PBegin,PCollection<Row>>