All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.vertexium.accumulo.StreamingPropertyValueHdfsRef Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
package org.vertexium.accumulo;

import org.apache.hadoop.fs.Path;
import org.vertexium.property.StreamingPropertyValue;

public class StreamingPropertyValueHdfsRef extends StreamingPropertyValueRef {
    private String path;

    protected StreamingPropertyValueHdfsRef() {
        super();
        this.path = null;
    }

    public StreamingPropertyValueHdfsRef(String path, StreamingPropertyValue propertyValue) {
        super(propertyValue);
        this.path = path;
    }

    public String getPath() {
        return path;
    }

    @Override
    public StreamingPropertyValue toStreamingPropertyValue(AccumuloGraph graph) {
        return new StreamingPropertyValueHdfs(graph.getFileSystem(), new Path(graph.getDataDir(), getPath()), this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy