1
0

[HUDI-379] Refactor the codes based on new JavadocStyle code style rule (#1079)

This commit is contained in:
lamber-ken
2019-12-06 12:59:28 +08:00
committed by leesf
parent c06d89b648
commit 2745b7552f
137 changed files with 434 additions and 433 deletions

View File

@@ -49,7 +49,7 @@ import java.util.List;
import java.util.stream.Collectors;
/**
* Main REST Handler class that handles local view staleness and delegates calls to slice/data-file/timeline handlers
* Main REST Handler class that handles local view staleness and delegates calls to slice/data-file/timeline handlers.
*/
public class FileSystemViewHandler {
@@ -79,7 +79,7 @@ public class FileSystemViewHandler {
}
/**
* Determines if local view of dataset's timeline is behind that of client's view
* Determines if local view of dataset's timeline is behind that of client's view.
*/
private boolean isLocalViewBehind(Context ctx) {
String basePath = ctx.queryParam(RemoteHoodieTableFileSystemView.BASEPATH_PARAM);
@@ -108,7 +108,7 @@ public class FileSystemViewHandler {
}
/**
* Syncs data-set view if local view is behind
* Syncs data-set view if local view is behind.
*/
private boolean syncIfLocalViewBehind(Context ctx) {
if (isLocalViewBehind(ctx)) {
@@ -141,7 +141,7 @@ public class FileSystemViewHandler {
}
/**
* Register Timeline API calls
* Register Timeline API calls.
*/
private void registerTimelineAPI() {
app.get(RemoteHoodieTableFileSystemView.LAST_INSTANT, new ViewHandler(ctx -> {
@@ -158,7 +158,7 @@ public class FileSystemViewHandler {
}
/**
* Register Data-Files API calls
* Register Data-Files API calls.
*/
private void registerDataFilesAPI() {
app.get(RemoteHoodieTableFileSystemView.LATEST_PARTITION_DATA_FILES_URL, new ViewHandler(ctx -> {
@@ -215,7 +215,7 @@ public class FileSystemViewHandler {
}
/**
* Register File Slices API calls
* Register File Slices API calls.
*/
private void registerFileSlicesAPI() {
app.get(RemoteHoodieTableFileSystemView.LATEST_PARTITION_SLICES_URL, new ViewHandler(ctx -> {

View File

@@ -36,7 +36,7 @@ import java.io.IOException;
import java.io.Serializable;
/**
* A stand alone timeline service exposing File-System View interfaces to clients
* A stand alone timeline service exposing File-System View interfaces to clients.
*/
public class TimelineService {

View File

@@ -30,7 +30,7 @@ import java.util.List;
import java.util.stream.Collectors;
/**
* REST Handler servicing data-file requests
* REST Handler servicing data-file requests.
*/
public class DataFileHandler extends Handler {

View File

@@ -32,7 +32,7 @@ import java.util.List;
import java.util.stream.Collectors;
/**
* REST Handler servicing file-slice requests
* REST Handler servicing file-slice requests.
*/
public class FileSliceHandler extends Handler {

View File

@@ -30,7 +30,7 @@ import java.util.Arrays;
import java.util.List;
/**
* REST Handler servicing timeline requests
* REST Handler servicing timeline requests.
*/
public class TimelineHandler extends Handler {

View File

@@ -32,7 +32,7 @@ import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
/**
* Bring up a remote Timeline Server and run all test-cases of TestHoodieTableFileSystemView against it
* Bring up a remote Timeline Server and run all test-cases of TestHoodieTableFileSystemView against it.
*/
public class TestRemoteHoodieTableFileSystemView extends TestHoodieTableFileSystemView {