Interface BucketContentFactory
- All Known Implementing Classes:
BaseBucketContentFactory
,ExplicitBucketContentFactory
,NullBucketContentFactory
,NumericBucketContentFactory
,StringBucketContentFactory
public interface BucketContentFactory
Creates content for new buckets.
-
Method Summary
Modifier and TypeMethodDescription@Nullable AbstractWorkBucketContentType
createNextBucketContent
(AbstractWorkBucketContentType lastBucketContent, Integer lastBucketSequentialNumber) Creates a content for the next bucket in a sequence.Estimates total number of buckets.
-
Method Details
-
createNextBucketContent
@Nullable @Nullable AbstractWorkBucketContentType createNextBucketContent(AbstractWorkBucketContentType lastBucketContent, Integer lastBucketSequentialNumber) throws SchemaException Creates a content for the next bucket in a sequence.- Returns:
- null if there is no next bucket
- Throws:
SchemaException
-
estimateNumberOfBuckets
Integer estimateNumberOfBuckets()Estimates total number of buckets.- Returns:
- null if the number cannot be determined
-