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

com.datastax.data.exploration.common.FileUrl Maven / Gradle / Ivy

The newest version!
package com.datastax.data.exploration.common;


import static com.datastax.data.exploration.config.ConstantConfig.LOCAL_DATA_URL;

class FileUrl {

    /**
     * 数据统计文件路径
     */
    public static String statistic(String fileName) {
        return LOCAL_DATA_URL + fileName + ".statistic";
    }

    /**
     * 数据类型文件路径
     */
    public static String type(String fileName) {
        return LOCAL_DATA_URL + fileName + ".type";
    }

    /**
     * 抽样完整数据集
     */
    static String entireData(String fileName) {
        return LOCAL_DATA_URL + fileName + "-entireData.csv";
    }

    /**
     * 正确数据集
     */
    static String exactData(String fileName) {
        return LOCAL_DATA_URL + fileName + "-exactData.csv";
    }

    /**
     * 正确数据集
     */
    static String errorData(String fileName) {
        return LOCAL_DATA_URL + fileName + "-errorData.csv";
    }

    /**
     * 是否有表头文件
     */
    public static String title(String fileName) {
        return LOCAL_DATA_URL + fileName + ".title";
    }

    /**
     * 数据报告文件
     */
    public static String report(String fileName) {
        return LOCAL_DATA_URL + fileName + ".report";
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy