[HUDI-379] Refactor the codes based on new JavadocStyle code style rule (#1079)
This commit is contained in:
@@ -560,12 +560,12 @@ public class TestHoodieDeltaStreamer extends UtilitiesTestBase {
|
||||
}
|
||||
|
||||
/**
|
||||
* UDF to calculate Haversine distance
|
||||
* UDF to calculate Haversine distance.
|
||||
*/
|
||||
public static class DistanceUDF implements UDF4<Double, Double, Double, Double, Double> {
|
||||
|
||||
/**
|
||||
* Returns some random number as distance between the points
|
||||
* Returns some random number as distance between the points.
|
||||
*
|
||||
* @param lat1 Latitiude of source
|
||||
* @param lat2 Latitude of destination
|
||||
@@ -580,7 +580,7 @@ public class TestHoodieDeltaStreamer extends UtilitiesTestBase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a new field "haversine_distance" to the row
|
||||
* Adds a new field "haversine_distance" to the row.
|
||||
*/
|
||||
public static class TripsWithDistanceTransformer implements Transformer {
|
||||
|
||||
@@ -601,7 +601,7 @@ public class TestHoodieDeltaStreamer extends UtilitiesTestBase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Return empty dataset
|
||||
* Return empty dataset.
|
||||
*/
|
||||
public static class DropAllTransformer implements Transformer {
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@ public class UtilitiesTestBase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper to get hive sync config
|
||||
* Helper to get hive sync config.
|
||||
*
|
||||
* @param basePath
|
||||
* @param tableName
|
||||
@@ -140,7 +140,7 @@ public class UtilitiesTestBase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialize Hive DB
|
||||
* Initialize Hive DB.
|
||||
*
|
||||
* @throws IOException
|
||||
*/
|
||||
|
||||
@@ -48,7 +48,7 @@ import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
/**
|
||||
* Basic tests against all subclasses of {@link JsonDFSSource} and {@link ParquetDFSSource}
|
||||
* Basic tests against all subclasses of {@link JsonDFSSource} and {@link ParquetDFSSource}.
|
||||
*/
|
||||
public class TestDFSSource extends UtilitiesTestBase {
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ import java.util.HashMap;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
/**
|
||||
* Tests against {@link AvroKafkaSource}
|
||||
* Tests against {@link AvroKafkaSource}.
|
||||
*/
|
||||
public class TestKafkaSource extends UtilitiesTestBase {
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
package org.apache.hudi.utilities.sources.config;
|
||||
|
||||
/**
|
||||
* Configurations for Test Data Sources
|
||||
* Configurations for Test Data Sources.
|
||||
*/
|
||||
public class TestSourceConfig {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user