@Override
  public String generateSegmentName(int sequenceId, @Nullable Object minTimeValue, @Nullable Object maxTimeValue) {
    return Joiner.on(DELIMITER).join(_prefix, _tableName, _partitionId, _creationTimeMillis,
        StringUtils.isBlank(_suffix) ? sequenceId : _suffix);
  }
@Test
  public void testGenerateSegmentName() {
    String tableName = "tableName";
    int partitionId = 1;
    long creationTimeMillis = 1234567890L;
    int sequenceId = 2;

    UploadedRealtimeSegmentNameGenerator generator =
        new UploadedRealtimeSegmentNameGenerator(tableName, partitionId, creationTimeMillis, "prefix", "suffix");
    String expectedSegmentName = "prefix__tableName__1__1234567890__suffix";

    String actualSegmentName = generator.generateSegmentName(sequenceId, null, null);

    assertEquals(actualSegmentName, expectedSegmentName);
  }