fix(hudi-query): 修复写hdfs文件内容取值错误
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package com.lanyuanxiaoyao.service.forest.service;
|
||||
|
||||
import com.dtflys.forest.annotation.BaseRequest;
|
||||
import com.dtflys.forest.annotation.Body;
|
||||
import com.dtflys.forest.annotation.BodyType;
|
||||
import com.dtflys.forest.annotation.Get;
|
||||
import com.dtflys.forest.annotation.Post;
|
||||
import com.dtflys.forest.annotation.Query;
|
||||
@@ -77,11 +79,11 @@ public interface HudiService {
|
||||
@Get("/hdfs/read")
|
||||
String read(@Query("root") String root);
|
||||
|
||||
@Post("/hdfs/write")
|
||||
String write(@Query("root") String root, String text);
|
||||
@Post(value = "/hdfs/write", contentType = "plain/text")
|
||||
String write(@Query("root") String root, @Body String text);
|
||||
|
||||
@Post("/hdfs/write")
|
||||
String write(@Query("root") String root, String text, @Query("overwrite") Boolean overwrite);
|
||||
@Post(value = "/hdfs/write", contentType = "plain/text")
|
||||
String write(@Query("root") String root, @Body String text, @Query("overwrite") Boolean overwrite);
|
||||
|
||||
@Get("/hdfs/download")
|
||||
InputStream download(@Query("root") String root);
|
||||
|
||||
Reference in New Issue
Block a user