private MRCompactorAvroKeyDedupJobRunner.DedupKeyOption getDedupKeyOption() {
    if (!this.state.contains(MRCompactorAvroKeyDedupJobRunner.COMPACTION_JOB_DEDUP_KEY)) {
      return MRCompactorAvroKeyDedupJobRunner.DEFAULT_DEDUP_KEY_OPTION;
    }
    Optional<MRCompactorAvroKeyDedupJobRunner.DedupKeyOption> option =
        Enums.getIfPresent(MRCompactorAvroKeyDedupJobRunner.DedupKeyOption.class,
            this.state.getProp(MRCompactorAvroKeyDedupJobRunner.COMPACTION_JOB_DEDUP_KEY).toUpperCase());
    return option.isPresent() ? option.get() : MRCompactorAvroKeyDedupJobRunner.DEFAULT_DEDUP_KEY_OPTION;
  }
private MRCompactorAvroKeyDedupJobRunner . DedupKeyOption getDedupKeyOption ( ) { if ( ! this . state . contains ( MRCompactorAvroKeyDedupJobRunner . COMPACTION_JOB_DEDUP_KEY ) ) { return MRCompactorAvroKeyDedupJobRunner . DEFAULT_DEDUP_KEY_OPTION ; } Optional < MRCompactorAvroKeyDedupJobRunner . DedupKeyOption > option = Enums . getIfPresent ( MRCompactorAvroKeyDedupJobRunner . DedupKeyOption . class , this . state . getProp ( MRCompactorAvroKeyDedupJobRunner . COMPACTION_JOB_DEDUP_KEY ) . toUpperCase ( ) ) ; return option . isPresent ( ) ? option . get ( ) : MRCompactorAvroKeyDedupJobRunner . DEFAULT_DEDUP_KEY_OPTION ; }
Refer to MRCompactorAvroKeyDedupJobRunner#getDedupKeyOption()