[HUDI-379] Refactor the codes based on new JavadocStyle code style rule (#1079)
This commit is contained in:
@@ -28,17 +28,17 @@ import java.io.IOException;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Base class for all AVRO record based payloads, that can be ordered based on a field
|
||||
* Base class for all AVRO record based payloads, that can be ordered based on a field.
|
||||
*/
|
||||
public abstract class BaseAvroPayload implements Serializable {
|
||||
|
||||
/**
|
||||
* Avro data extracted from the source converted to bytes
|
||||
* Avro data extracted from the source converted to bytes.
|
||||
*/
|
||||
protected final byte[] recordBytes;
|
||||
|
||||
/**
|
||||
* For purposes of preCombining
|
||||
* For purposes of preCombining.
|
||||
*/
|
||||
protected final Comparable orderingVal;
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ import java.util.Map;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* Utilities used throughout the data source
|
||||
* Utilities used throughout the data source.
|
||||
*/
|
||||
public class DataSourceUtils {
|
||||
|
||||
@@ -120,7 +120,7 @@ public class DataSourceUtils {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a partition value extractor class via reflection, passing in any configs needed
|
||||
* Create a partition value extractor class via reflection, passing in any configs needed.
|
||||
*/
|
||||
public static PartitionValueExtractor createPartitionExtractor(String partitionExtractorClass) {
|
||||
try {
|
||||
|
||||
@@ -31,7 +31,7 @@ import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* List of helpers to aid, construction of instanttime for read and write operations using datasource
|
||||
* List of helpers to aid, construction of instanttime for read and write operations using datasource.
|
||||
*/
|
||||
public class HoodieDataSourceHelpers {
|
||||
|
||||
@@ -53,7 +53,7 @@ public class HoodieDataSourceHelpers {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the last successful write operation's instant time
|
||||
* Returns the last successful write operation's instant time.
|
||||
*/
|
||||
public static String latestCommit(FileSystem fs, String basePath) {
|
||||
HoodieTimeline timeline = allCompletedCommitsCompactions(fs, basePath);
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.apache.avro.generic.GenericRecord;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Abstract class to extend for plugging in extraction of {@link HoodieKey} from an Avro record
|
||||
* Abstract class to extend for plugging in extraction of {@link HoodieKey} from an Avro record.
|
||||
*/
|
||||
public abstract class KeyGenerator implements Serializable {
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.apache.hudi.exception.HoodieKeyException;
|
||||
import org.apache.avro.generic.GenericRecord;
|
||||
|
||||
/**
|
||||
* Simple Key generator for unpartitioned Hive Tables
|
||||
* Simple Key generator for unpartitioned Hive Tables.
|
||||
*/
|
||||
public class NonpartitionedKeyGenerator extends SimpleKeyGenerator {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user