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

org.elasticsearch.plugin.nlpcn.executors.CSVResult Maven / Gradle / Ivy

The newest version!
package org.elasticsearch.plugin.nlpcn.executors;

import java.util.List;

/**
 * Created by Eliran on 27/12/2015.
 */
public class CSVResult {
    private final List headers;
    private final List lines;
    private long count; //对于聚合类型,返回数量为 limit 数量

    public CSVResult(List headers, List lines, long count) {
        this.headers = headers;
        this.lines = lines;
        this.count = count;
    }

    public CSVResult(List headers, List lines) {
        this.headers = headers;
        this.lines = lines;
    }

    public List getHeaders() {
        return headers;
    }

    public List getLines() {
        return lines;
    }

    public long getCount() {
        return count;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy