org.nlpcn.es4sql.domain.Order Maven / Gradle / Ivy
package org.nlpcn.es4sql.domain;
import org.elasticsearch.search.sort.ScriptSortBuilder;
/**
* 排序规则
* @author ansj
*
*/
public class Order {
private String nestedPath;
private String name;
private String type;
private ScriptSortBuilder.ScriptSortType scriptSortType;
public Order(String nestedPath, String name, String type) {
this.nestedPath = nestedPath;
this.name = name;
this.type = type;
}
public String getNestedPath() {
return nestedPath;
}
public void setNestedPath(String nestedPath) {
this.nestedPath = nestedPath;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public ScriptSortBuilder.ScriptSortType getScriptSortType() {
return scriptSortType;
}
public void setScriptSortType(ScriptSortBuilder.ScriptSortType scriptSortType) {
this.scriptSortType = scriptSortType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy