Interface BucketContentFactory
-
- All Known Implementing Classes:
BaseBucketContentFactory
,ExplicitBucketContentFactory
,NullBucketContentFactory
,NumericBucketContentFactory
,StringBucketContentFactory
public interface BucketContentFactory
Creates content for new buckets.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable AbstractWorkBucketContentType
createNextBucketContent(AbstractWorkBucketContentType lastBucketContent, Integer lastBucketSequentialNumber)
Creates a content for the next bucket in a sequence.Integer
estimateNumberOfBuckets()
Estimates total number of buckets.
-
-
-
Method Detail
-
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
-
-