Class SplitResult<RestrictionT>
java.lang.Object
org.apache.beam.sdk.transforms.splittabledofn.SplitResult<RestrictionT>
A representation of a split result.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract @Nullable RestrictionT
Returns the primary restriction.abstract @Nullable RestrictionT
Returns the residual restriction.static <RestrictionT>
SplitResult<RestrictionT> Returns aSplitResult
for the specified primary and residual restrictions.
-
Constructor Details
-
SplitResult
public SplitResult()
-
-
Method Details
-
of
public static <RestrictionT> SplitResult<RestrictionT> of(@Nullable RestrictionT primary, @Nullable RestrictionT residual) Returns aSplitResult
for the specified primary and residual restrictions. -
getPrimary
Returns the primary restriction. -
getResidual
Returns the residual restriction.
-