mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 19:51:00 +00:00
[improvement](chat) remove nativeQuery config in chat (#394)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package com.tencent.supersonic.common.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;
|
||||
|
||||
public boolean isNativeAggQuery() {
|
||||
return ENTITY.equals(this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user