1
0

[MINOR] Fix typo (#2159)

* fix typo

* fix typo
This commit is contained in:
dugenkui
2020-10-10 05:52:55 +08:00
committed by GitHub
parent 1d1d91d444
commit 00271af64e
3 changed files with 15 additions and 15 deletions

View File

@@ -20,13 +20,12 @@ package org.apache.hudi.common.model;
/**
* Type of the Hoodie Table.
* <p>
*
* Currently, 2 types are supported.
* <p>
* COPY_ON_WRITE - Performs upserts by versioning entire files, with later versions containing newer value of a record.
* <p>
* MERGE_ON_READ - Speeds up upserts, by delaying merge until enough work piles up.
* <p>
* <ul>
* <li> COPY_ON_WRITE - Performs upserts by versioning entire files, with later versions containing newer value of a record.
* <li> MERGE_ON_READ - Speeds up upserts, by delaying merge until enough work piles up.
* </ul>
*/
public enum HoodieTableType {
COPY_ON_WRITE, MERGE_ON_READ

View File

@@ -29,10 +29,12 @@ import java.util.List;
/**
* subclass of OverwriteWithLatestAvroPayload used for delta streamer.
* <p>
* 1. preCombine - Picks the latest delta record for a key, based on an ordering field.
* 2. combineAndGetUpdateValue/getInsertValue - overwrite storage for specified fields
*
* <ol>
* <li>preCombine - Picks the latest delta record for a key, based on an ordering field;
* <li>combineAndGetUpdateValue/getInsertValue - overwrite storage for specified fields
* that doesn't equal defaultValue.
* </ol>
*/
public class OverwriteNonDefaultsWithLatestAvroPayload extends OverwriteWithLatestAvroPayload {

View File

@@ -29,16 +29,15 @@ import java.io.IOException;
/**
* Default payload used for delta streamer.
* <p>
* 1. preCombine - Picks the latest delta record for a key, based on an ordering field 2.
* combineAndGetUpdateValue/getInsertValue - Simply overwrites storage with latest delta record
*
* <ol>
* <li> preCombine - Picks the latest delta record for a key, based on an ordering field;
* <li> combineAndGetUpdateValue/getInsertValue - Simply overwrites storage with latest delta record
* </ol>
*/
public class OverwriteWithLatestAvroPayload extends BaseAvroPayload
implements HoodieRecordPayload<OverwriteWithLatestAvroPayload> {
/**
*
*/
public OverwriteWithLatestAvroPayload(GenericRecord record, Comparable orderingVal) {
super(record, orderingVal);
}