mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 12:07:42 +00:00
[improvement](chat) remove nativeQuery config in chat (#394)
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
package com.tencent.supersonic.chat.api.pojo;
|
||||
|
||||
/***
|
||||
* Query Type
|
||||
*/
|
||||
public enum QueryType {
|
||||
/**
|
||||
* queries with metrics included in the select statement
|
||||
*/
|
||||
METRIC,
|
||||
/**
|
||||
* queries with entity unique key included in the select statement
|
||||
*/
|
||||
ENTITY,
|
||||
/**
|
||||
* the other queries
|
||||
*/
|
||||
OTHER
|
||||
}
|
||||
@@ -6,6 +6,7 @@ import com.tencent.supersonic.chat.api.pojo.response.EntityInfo;
|
||||
import com.tencent.supersonic.chat.api.pojo.response.SqlInfo;
|
||||
import com.tencent.supersonic.common.pojo.DateConf;
|
||||
import com.tencent.supersonic.common.pojo.Order;
|
||||
import com.tencent.supersonic.common.pojo.QueryType;
|
||||
import com.tencent.supersonic.common.pojo.enums.AggregateTypeEnum;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Comparator;
|
||||
@@ -34,7 +35,6 @@ public class SemanticParseInfo {
|
||||
private Set<Order> orders = new LinkedHashSet();
|
||||
private DateConf dateInfo;
|
||||
private Long limit;
|
||||
private Boolean nativeQuery = false;
|
||||
private double score;
|
||||
private List<SchemaElementMatch> elementMatches = new ArrayList<>();
|
||||
private Map<String, Object> properties = new HashMap<>();
|
||||
|
||||
Reference in New Issue
Block a user