[MINOR] Add omissive param desc on method doc and cleanup redundant code (#1437)
This commit is contained in:
@@ -417,17 +417,4 @@ public abstract class AbstractHoodieWriteClient<T extends HoodieRecordPayload> e
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Refers to different operation types.
|
|
||||||
*/
|
|
||||||
enum OperationType {
|
|
||||||
INSERT,
|
|
||||||
INSERT_PREPPED,
|
|
||||||
UPSERT,
|
|
||||||
UPSERT_PREPPED,
|
|
||||||
DELETE,
|
|
||||||
BULK_INSERT,
|
|
||||||
BULK_INSERT_PREPPED,
|
|
||||||
BOOTSTRAP
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -342,9 +342,10 @@ public class DeltaSync implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* Perform Hoodie Write. Run Cleaner, schedule compaction and syncs to hive if needed.
|
* Perform Hoodie Write. Run Cleaner, schedule compaction and syncs to hive if needed.
|
||||||
*
|
*
|
||||||
* @param records Input Records
|
* @param records Input Records
|
||||||
* @param checkpointStr Checkpoint String
|
* @param checkpointStr Checkpoint String
|
||||||
* @param metrics Metrics
|
* @param metrics Metrics
|
||||||
|
* @param overallTimerContext Timer Context
|
||||||
* @return Option Compaction instant if one is scheduled
|
* @return Option Compaction instant if one is scheduled
|
||||||
*/
|
*/
|
||||||
private Option<String> writeToSink(JavaRDD<HoodieRecord> records, String checkpointStr,
|
private Option<String> writeToSink(JavaRDD<HoodieRecord> records, String checkpointStr,
|
||||||
|
|||||||
Reference in New Issue
Block a user