org.elasticsearch.plugin.nlpcn.executors.CSVResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elasticsearch-sql Show documentation
Show all versions of elasticsearch-sql Show documentation
Query elasticsearch using SQL
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