Class NullSizeEstimator<T>
- java.lang.Object
-
- org.apache.beam.sdk.io.gcp.bigtable.changestreams.estimator.NullSizeEstimator<T>
-
- All Implemented Interfaces:
SizeEstimator<T>
@Internal public class NullSizeEstimator<T> extends java.lang.Object implements SizeEstimator<T>
NoOp implementation of a size estimator. This will always return 0 as the size and it will warn users that this is being used (it should not be used in production).
-
-
Constructor Summary
Constructors Constructor Description NullSizeEstimator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longsizeOf(T element)
-
-
-
Method Detail
-
sizeOf
public long sizeOf(T element)
- Specified by:
sizeOfin interfaceSizeEstimator<T>
-
-