Class SegmentNameGeneratorFactory
- java.lang.Object
-
- org.apache.pinot.segment.spi.creator.name.SegmentNameGeneratorFactory
-
public class SegmentNameGeneratorFactory extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringFIXED_SEGMENT_NAME_GENERATORstatic StringNORMALIZED_DATE_SEGMENT_NAME_GENERATORstatic StringSIMPLE_SEGMENT_NAME_GENERATOR
-
Method Summary
Modifier and Type Method Description static SegmentNameGeneratorcreateSegmentNameGenerator(TableConfig tableConfig, Schema schema, String prefix, String postfix, String fixedSegmentName, boolean excludeSequenceId)Create the segment name generator given input configurations
-
-
-
Field Detail
-
FIXED_SEGMENT_NAME_GENERATOR
public static final String FIXED_SEGMENT_NAME_GENERATOR
- See Also:
- Constant Field Values
-
SIMPLE_SEGMENT_NAME_GENERATOR
public static final String SIMPLE_SEGMENT_NAME_GENERATOR
- See Also:
- Constant Field Values
-
NORMALIZED_DATE_SEGMENT_NAME_GENERATOR
public static final String NORMALIZED_DATE_SEGMENT_NAME_GENERATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
createSegmentNameGenerator
public static SegmentNameGenerator createSegmentNameGenerator(TableConfig tableConfig, Schema schema, @Nullable String prefix, @Nullable String postfix, @Nullable String fixedSegmentName, boolean excludeSequenceId)
Create the segment name generator given input configurations
-
-