feat(web): 增加HDFS文件管理器

在页面直接查看HDFS文件和目录,还可以查看和下载
This commit is contained in:
v-zhangjc9
2024-04-28 16:28:48 +08:00
parent 9913943a27
commit 572a1dab9f
11 changed files with 581 additions and 34 deletions

View File

@@ -0,0 +1,92 @@
package com.lanyuanxiaoyao.service.configuration.entity.hudi;
/**
* HDFS文件
*
* @author lanyuanxiaoyao
* @date 2024-04-26
*/
public class HPath {
private String name;
private String path;
private Boolean file;
private Boolean folder;
private Long size;
private String group;
private String owner;
private String permission;
private Integer replication;
private Long modifyTime;
public HPath() {
}
public HPath(String name, String path, Boolean file, Boolean folder, Long size, String group, String owner, String permission, Integer replication, Long modifyTime) {
this.name = name;
this.path = path;
this.file = file;
this.folder = folder;
this.size = size;
this.group = group;
this.owner = owner;
this.permission = permission;
this.replication = replication;
this.modifyTime = modifyTime;
}
public String getName() {
return name;
}
public String getPath() {
return path;
}
public Boolean getFile() {
return file;
}
public Boolean getFolder() {
return folder;
}
public Long getSize() {
return size;
}
public String getGroup() {
return group;
}
public String getOwner() {
return owner;
}
public String getPermission() {
return permission;
}
public Integer getReplication() {
return replication;
}
public Long getModifyTime() {
return modifyTime;
}
@Override
public String toString() {
return "HPath{" +
"name='" + name + '\'' +
", path='" + path + '\'' +
", file=" + file +
", folder=" + folder +
", size=" + size +
", group='" + group + '\'' +
", owner='" + owner + '\'' +
", permission='" + permission + '\'' +
", replication=" + replication +
", modifyTime=" + modifyTime +
'}';
}
}