Interface SegmentNameGenerator
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
FixedSegmentNameGenerator,InputFileSegmentNameGenerator,NormalizedDateSegmentNameGenerator,SimpleSegmentNameGenerator
public interface SegmentNameGenerator extends Serializable
Interface for segment name generator based on the segment sequence id and time range.
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.base.JoinerJOINER
-
Method Summary
Modifier and Type Method Description StringgenerateSegmentName(int sequenceId, Object minTimeValue, Object maxTimeValue)Generates the segment name.
-
-
-
Method Detail
-
generateSegmentName
String generateSegmentName(int sequenceId, @Nullable Object minTimeValue, @Nullable Object maxTimeValue)
Generates the segment name.- Parameters:
sequenceId- Segment sequence id (negative value means INVALID)minTimeValue- Minimum time valuemaxTimeValue- Maximum time value- Returns:
- Segment name generated
-
-