com.facebook.presto.lakesoul.pojo.Path Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lakesoul-presto Show documentation
Show all versions of lakesoul-presto Show documentation
A Table Structure Storage to Unify Batch and Streaming Data Processing
// SPDX-FileCopyrightText: 2023 LakeSoul Contributors
//
// SPDX-License-Identifier: Apache-2.0
package com.facebook.presto.lakesoul.pojo;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Path extends org.apache.hadoop.fs.Path {
private String filename;
@JsonCreator
public Path(@JsonProperty("filename") String filename) {
super(filename);
this.filename = filename;
}
@JsonProperty
public String getFilename(){
return this.filename;
}
}