mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser, improved clickhouse support & mysql repository support
This commit is contained in:
@@ -23,6 +23,7 @@ import com.alibaba.druid.sql.dialect.ads.visitor.AdsOutputVisitor;
|
||||
import com.alibaba.druid.sql.dialect.antspark.visitor.AntsparkOutputVisitor;
|
||||
import com.alibaba.druid.sql.dialect.antspark.visitor.AntsparkSchemaStatVisitor;
|
||||
import com.alibaba.druid.sql.dialect.blink.vsitor.BlinkOutputVisitor;
|
||||
import com.alibaba.druid.sql.dialect.clickhouse.visitor.ClickSchemaStatVisitor;
|
||||
import com.alibaba.druid.sql.dialect.clickhouse.visitor.ClickhouseOutputVisitor;
|
||||
import com.alibaba.druid.sql.dialect.db2.visitor.DB2OutputVisitor;
|
||||
import com.alibaba.druid.sql.dialect.db2.visitor.DB2SchemaStatVisitor;
|
||||
@@ -547,6 +548,8 @@ public class SQLUtils {
|
||||
return new HiveSchemaStatVisitor(repository);
|
||||
case antspark:
|
||||
return new AntsparkSchemaStatVisitor(repository);
|
||||
case clickhouse:
|
||||
return new ClickSchemaStatVisitor(repository);
|
||||
default:
|
||||
return new SchemaStatVisitor(repository);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.alibaba.druid.sql.ast;
|
||||
|
||||
import com.alibaba.druid.sql.visitor.SQLASTVisitor;
|
||||
|
||||
public class SQLJSONValueExpr extends SQLExprImpl {
|
||||
private SQLExpr json;
|
||||
private SQLExpr path;
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void accept0(SQLASTVisitor v) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public SQLExpr clone() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
+80
@@ -0,0 +1,80 @@
|
||||
package com.alibaba.druid.sql.dialect.clickhouse.ast;
|
||||
|
||||
import com.alibaba.druid.DbType;
|
||||
import com.alibaba.druid.sql.ast.SQLExpr;
|
||||
import com.alibaba.druid.sql.ast.SQLOrderBy;
|
||||
import com.alibaba.druid.sql.ast.statement.SQLAssignItem;
|
||||
import com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement;
|
||||
import com.alibaba.druid.sql.dialect.clickhouse.visitor.ClickhouseVisitor;
|
||||
import com.alibaba.druid.sql.visitor.SQLASTVisitor;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class ClickhouseCreateTableStatement extends SQLCreateTableStatement {
|
||||
protected final List<SQLAssignItem> settings = new ArrayList<SQLAssignItem>();
|
||||
private SQLOrderBy orderBy;
|
||||
private SQLExpr partitionBy;
|
||||
private SQLExpr sampleBy;
|
||||
|
||||
public ClickhouseCreateTableStatement() {
|
||||
super(DbType.clickhouse);
|
||||
}
|
||||
|
||||
public SQLOrderBy getOrderBy() {
|
||||
return orderBy;
|
||||
}
|
||||
|
||||
public void setOrderBy(SQLOrderBy x) {
|
||||
if (x != null) {
|
||||
x.setParent(this);
|
||||
}
|
||||
|
||||
this.orderBy = x;
|
||||
}
|
||||
|
||||
public SQLExpr getPartitionBy() {
|
||||
return partitionBy;
|
||||
}
|
||||
|
||||
public void setPartitionBy(SQLExpr x) {
|
||||
if (x != null) {
|
||||
x.setParent(this);
|
||||
}
|
||||
|
||||
this.partitionBy = x;
|
||||
}
|
||||
|
||||
public SQLExpr getSampleBy() {
|
||||
return sampleBy;
|
||||
}
|
||||
|
||||
public void setSampleBy(SQLExpr x) {
|
||||
if (x != null) {
|
||||
x.setParent(this);
|
||||
}
|
||||
|
||||
this.sampleBy = x;
|
||||
}
|
||||
|
||||
public List<SQLAssignItem> getSettings() {
|
||||
return settings;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void accept0(SQLASTVisitor v) {
|
||||
if (v instanceof ClickhouseVisitor) {
|
||||
ClickhouseVisitor vv = (ClickhouseVisitor) v;
|
||||
if (vv.visit(this)) {
|
||||
acceptChild(vv);
|
||||
}
|
||||
vv.endVisit(this);
|
||||
return;
|
||||
}
|
||||
|
||||
if (v.visit(this)) {
|
||||
acceptChild(v);
|
||||
}
|
||||
v.endVisit(this);
|
||||
}
|
||||
}
|
||||
+69
@@ -0,0 +1,69 @@
|
||||
package com.alibaba.druid.sql.dialect.clickhouse.parser;
|
||||
|
||||
import com.alibaba.druid.sql.ast.SQLExpr;
|
||||
import com.alibaba.druid.sql.ast.SQLOrderBy;
|
||||
import com.alibaba.druid.sql.ast.statement.SQLAssignItem;
|
||||
import com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement;
|
||||
import com.alibaba.druid.sql.dialect.clickhouse.ast.ClickhouseCreateTableStatement;
|
||||
import com.alibaba.druid.sql.parser.SQLCreateTableParser;
|
||||
import com.alibaba.druid.sql.parser.SQLExprParser;
|
||||
import com.alibaba.druid.sql.parser.Token;
|
||||
import com.alibaba.druid.util.FnvHash;
|
||||
|
||||
public class ClickhouseCreateTableParser extends SQLCreateTableParser {
|
||||
public ClickhouseCreateTableParser(SQLExprParser exprParser) {
|
||||
super(exprParser);
|
||||
}
|
||||
|
||||
protected SQLCreateTableStatement newCreateStatement() {
|
||||
return new ClickhouseCreateTableStatement();
|
||||
}
|
||||
|
||||
protected void parseCreateTableRest(SQLCreateTableStatement stmt) {
|
||||
ClickhouseCreateTableStatement ckStmt = (ClickhouseCreateTableStatement) stmt;
|
||||
if (lexer.identifierEquals(FnvHash.Constants.ENGINE)) {
|
||||
lexer.nextToken();
|
||||
if (lexer.token() == Token.EQ) {
|
||||
lexer.nextToken();
|
||||
}
|
||||
stmt.setEngine(
|
||||
this.exprParser.expr()
|
||||
);
|
||||
}
|
||||
|
||||
if (lexer.identifierEquals("PARTITION")) {
|
||||
lexer.nextToken();
|
||||
accept(Token.BY);
|
||||
SQLExpr expr = this.exprParser.expr();
|
||||
ckStmt.setPartitionBy(expr);
|
||||
}
|
||||
|
||||
if (lexer.token() == Token.ORDER) {
|
||||
SQLOrderBy orderBy = this.exprParser.parseOrderBy();
|
||||
ckStmt.setOrderBy(orderBy);
|
||||
}
|
||||
|
||||
if (lexer.identifierEquals("SAMPLE")) {
|
||||
lexer.nextToken();
|
||||
accept(Token.BY);
|
||||
SQLExpr expr = this.exprParser.expr();
|
||||
ckStmt.setSampleBy(expr);
|
||||
}
|
||||
|
||||
if (lexer.identifierEquals("SETTINGS")) {
|
||||
lexer.nextToken();
|
||||
for (;;) {
|
||||
SQLAssignItem item = this.exprParser.parseAssignItem();
|
||||
item.setParent(ckStmt);
|
||||
ckStmt.getSettings().add(item);
|
||||
|
||||
if (lexer.token() == Token.COMMA) {
|
||||
lexer.nextToken();
|
||||
continue;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+5
-4
@@ -1,10 +1,7 @@
|
||||
package com.alibaba.druid.sql.dialect.clickhouse.parser;
|
||||
|
||||
import com.alibaba.druid.sql.ast.statement.SQLWithSubqueryClause;
|
||||
import com.alibaba.druid.sql.parser.Lexer;
|
||||
import com.alibaba.druid.sql.parser.SQLParserFeature;
|
||||
import com.alibaba.druid.sql.parser.SQLStatementParser;
|
||||
import com.alibaba.druid.sql.parser.Token;
|
||||
import com.alibaba.druid.sql.parser.*;
|
||||
|
||||
public class ClickhouseStatementParser extends SQLStatementParser {
|
||||
public ClickhouseStatementParser(String sql) {
|
||||
@@ -69,4 +66,8 @@ public class ClickhouseStatementParser extends SQLStatementParser {
|
||||
|
||||
return withQueryClause;
|
||||
}
|
||||
|
||||
public SQLCreateTableParser getSQLCreateTableParser() {
|
||||
return new ClickhouseCreateTableParser(this.exprParser);
|
||||
}
|
||||
}
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
package com.alibaba.druid.sql.dialect.clickhouse.visitor;
|
||||
|
||||
import com.alibaba.druid.DbType;
|
||||
import com.alibaba.druid.sql.repository.SchemaRepository;
|
||||
import com.alibaba.druid.sql.visitor.SchemaStatVisitor;
|
||||
|
||||
public class ClickSchemaStatVisitor extends SchemaStatVisitor implements ClickhouseVisitor {
|
||||
{
|
||||
dbType = DbType.antspark;
|
||||
}
|
||||
|
||||
public ClickSchemaStatVisitor() {
|
||||
super(DbType.antspark);
|
||||
}
|
||||
|
||||
public ClickSchemaStatVisitor(SchemaRepository repository) {
|
||||
super(repository);
|
||||
}
|
||||
}
|
||||
+39
-4
@@ -1,14 +1,16 @@
|
||||
package com.alibaba.druid.sql.dialect.clickhouse.visitor;
|
||||
|
||||
import com.alibaba.druid.DbType;
|
||||
import com.alibaba.druid.sql.ast.SQLDataType;
|
||||
import com.alibaba.druid.sql.ast.SQLName;
|
||||
import com.alibaba.druid.sql.ast.SQLRowDataType;
|
||||
import com.alibaba.druid.sql.ast.SQLStructDataType;
|
||||
import com.alibaba.druid.sql.ast.*;
|
||||
import com.alibaba.druid.sql.ast.statement.SQLAssignItem;
|
||||
import com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement;
|
||||
import com.alibaba.druid.sql.ast.statement.SQLSelect;
|
||||
import com.alibaba.druid.sql.ast.statement.SQLWithSubqueryClause;
|
||||
import com.alibaba.druid.sql.dialect.clickhouse.ast.ClickhouseCreateTableStatement;
|
||||
import com.alibaba.druid.sql.visitor.SQLASTOutputVisitor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class ClickhouseOutputVisitor extends SQLASTOutputVisitor implements ClickhouseVisitor {
|
||||
public ClickhouseOutputVisitor(Appendable appender) {
|
||||
super(appender);
|
||||
@@ -71,4 +73,37 @@ public class ClickhouseOutputVisitor extends SQLASTOutputVisitor implements Clic
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean visit(ClickhouseCreateTableStatement x) {
|
||||
super.visit((SQLCreateTableStatement) x);
|
||||
|
||||
SQLExpr partitionBy = x.getPartitionBy();
|
||||
if (partitionBy != null) {
|
||||
println();
|
||||
print0(ucase ? "PARTITION BY " : "partition by ");
|
||||
partitionBy.accept(this);
|
||||
}
|
||||
|
||||
SQLOrderBy orderBy = x.getOrderBy();
|
||||
if (orderBy != null) {
|
||||
println();
|
||||
orderBy.accept(this);
|
||||
}
|
||||
|
||||
SQLExpr sampleBy = x.getSampleBy();
|
||||
if (sampleBy != null) {
|
||||
println();
|
||||
print0(ucase ? "SAMPLE BY " : "sample by ");
|
||||
sampleBy.accept(this);
|
||||
}
|
||||
|
||||
List<SQLAssignItem> settings = x.getSettings();
|
||||
if (!settings.isEmpty()) {
|
||||
println();
|
||||
print0(ucase ? "SETTINGS " : "settings ");
|
||||
printAndAccept(settings, ", ");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
+7
-1
@@ -1,8 +1,14 @@
|
||||
package com.alibaba.druid.sql.dialect.clickhouse.visitor;
|
||||
|
||||
import com.alibaba.druid.sql.ast.statement.SQLWithSubqueryClause;
|
||||
import com.alibaba.druid.sql.ast.statement.SQLNotNullConstraint;
|
||||
import com.alibaba.druid.sql.dialect.clickhouse.ast.ClickhouseCreateTableStatement;
|
||||
import com.alibaba.druid.sql.visitor.SQLASTVisitor;
|
||||
|
||||
public interface ClickhouseVisitor extends SQLASTVisitor {
|
||||
default boolean visit(ClickhouseCreateTableStatement x) {
|
||||
return true;
|
||||
}
|
||||
|
||||
default void endVisit(ClickhouseCreateTableStatement x) {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -359,6 +359,10 @@ public class MySqlCreateTableParser extends SQLCreateTableParser {
|
||||
}
|
||||
}
|
||||
|
||||
if (lexer.token() == Token.HINT) {
|
||||
lexer.nextToken();
|
||||
}
|
||||
|
||||
accept(Token.RPAREN);
|
||||
|
||||
if (lexer.token() == Token.HINT && lexer.stringVal().charAt(0) == '!') {
|
||||
@@ -405,6 +409,17 @@ public class MySqlCreateTableParser extends SQLCreateTableParser {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (lexer.identifierEquals("BLOCK_FORMAT")) {
|
||||
lexer.nextToken();
|
||||
if (lexer.token() == Token.EQ) {
|
||||
lexer.nextToken();
|
||||
}
|
||||
|
||||
SQLExpr expr = this.exprParser.primary();
|
||||
stmt.addOption("BLOCK_FORMAT", expr);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (lexer.identifierEquals(FnvHash.Constants.REPLICA_NUM)) {
|
||||
lexer.nextToken();
|
||||
if (lexer.token() == Token.EQ) {
|
||||
|
||||
@@ -1137,7 +1137,7 @@ public class MySqlExprParser extends SQLExprParser {
|
||||
accept(Token.RPAREN);
|
||||
}
|
||||
|
||||
if (lexer.identifierEquals(FnvHash.Constants.STORED)) {
|
||||
if (lexer.identifierEquals(FnvHash.Constants.STORED) || lexer.identifierEquals("PERSISTENT")) {
|
||||
lexer.nextToken();
|
||||
column.setStored(true);
|
||||
}
|
||||
@@ -1153,6 +1153,7 @@ public class MySqlExprParser extends SQLExprParser {
|
||||
column.setDelimiter(expr);
|
||||
return parseColumnRest(column);
|
||||
}
|
||||
|
||||
if (lexer.identifierEquals("delimiter_tokenizer")) {
|
||||
lexer.nextToken();
|
||||
SQLExpr expr = this.expr();
|
||||
@@ -1238,6 +1239,11 @@ public class MySqlExprParser extends SQLExprParser {
|
||||
}
|
||||
}
|
||||
|
||||
if (lexer.identifierEquals(FnvHash.Constants.ARRAY)) {
|
||||
lexer.nextToken();
|
||||
dataType = new SQLArrayDataType(dataType);
|
||||
}
|
||||
|
||||
return dataType;
|
||||
}
|
||||
|
||||
|
||||
@@ -797,12 +797,21 @@ public class Lexer {
|
||||
nextToken();
|
||||
if (token == Token.USER || identifierEquals(FnvHash.Constants.USER)) {
|
||||
return SQLType.ADD_USER;
|
||||
} else if (token == TABLE) {
|
||||
return SQLType.ADD_TABLE;
|
||||
}
|
||||
} else if (hashCode == FnvHash.Constants.REMOVE) {
|
||||
nextToken();
|
||||
if (token == Token.USER || identifierEquals(FnvHash.Constants.USER)) {
|
||||
return SQLType.REMOVE_USER;
|
||||
}
|
||||
} else if (hashCode == FnvHash.Constants.TUNNEL) {
|
||||
nextToken();
|
||||
if (identifierEquals(FnvHash.Constants.DOWNLOAD)) {
|
||||
return SQLType.TUNNEL_DOWNLOAD;
|
||||
}
|
||||
} else if (hashCode == FnvHash.Constants.UPLOAD) {
|
||||
return SQLType.UPLOAD;
|
||||
}
|
||||
|
||||
return SQLType.UNKNOWN;
|
||||
@@ -811,7 +820,6 @@ public class Lexer {
|
||||
public final SQLType scanSQLTypeV2() {
|
||||
|
||||
SQLType sqlType = scanSQLType();
|
||||
|
||||
if (sqlType == SQLType.CREATE) {
|
||||
nextToken();
|
||||
if (token == Token.USER || identifierEquals(FnvHash.Constants.USER)) {
|
||||
@@ -869,6 +877,19 @@ public class Lexer {
|
||||
} else if (token == TABLE) {
|
||||
return SQLType.ALTER_TABLE;
|
||||
}
|
||||
} else if (sqlType == SQLType.INSERT) {
|
||||
for (int i = 0; i < 1000;++i) {
|
||||
nextToken();
|
||||
|
||||
if (token == SELECT) {
|
||||
return SQLType.INSERT_SELECT;
|
||||
} else if (token == VALUES) {
|
||||
return SQLType.INSERT_VALUES;
|
||||
} else if (token == ERROR || token == EOF) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return sqlType;
|
||||
}
|
||||
|
||||
return sqlType;
|
||||
|
||||
@@ -88,7 +88,7 @@ public class SQLCreateTableParser extends SQLDDLParser {
|
||||
|
||||
accept(Token.TABLE);
|
||||
|
||||
if (lexer.token() == Token.IF) {
|
||||
if (lexer.token() == Token.IF || lexer.identifierEquals("IF")) {
|
||||
lexer.nextToken();
|
||||
accept(Token.NOT);
|
||||
accept(Token.EXISTS);
|
||||
@@ -182,19 +182,15 @@ public class SQLCreateTableParser extends SQLDDLParser {
|
||||
createTable.setPartitioning(partitionClause);
|
||||
}
|
||||
|
||||
if (dbType == DbType.clickhouse) {
|
||||
if (lexer.identifierEquals(FnvHash.Constants.ENGINE)) {
|
||||
lexer.nextToken();
|
||||
accept(Token.EQ);
|
||||
createTable.setEngine(
|
||||
this.exprParser.expr()
|
||||
);
|
||||
}
|
||||
}
|
||||
parseCreateTableRest(createTable);
|
||||
|
||||
return createTable;
|
||||
}
|
||||
|
||||
protected void parseCreateTableRest(SQLCreateTableStatement stmt) {
|
||||
|
||||
}
|
||||
|
||||
public SQLPartitionBy parsePartitionBy() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -594,7 +594,11 @@ public class SQLExprParser extends SQLParser {
|
||||
}
|
||||
break;
|
||||
case DEFAULT:
|
||||
sqlExpr = new SQLDefaultExpr();
|
||||
if (dbType == DbType.clickhouse) {
|
||||
sqlExpr = new SQLIdentifierExpr(lexer.stringVal());
|
||||
} else {
|
||||
sqlExpr = new SQLDefaultExpr();
|
||||
}
|
||||
lexer.nextToken();
|
||||
break;
|
||||
case DUAL:
|
||||
@@ -798,7 +802,8 @@ public class SQLExprParser extends SQLParser {
|
||||
cast.setExpr(
|
||||
expr());
|
||||
accept(Token.AS);
|
||||
cast.setDataType(parseDataType(false));
|
||||
cast.setDataType(
|
||||
parseDataType(false));
|
||||
accept(Token.RPAREN);
|
||||
|
||||
sqlExpr = cast;
|
||||
@@ -1758,6 +1763,9 @@ public class SQLExprParser extends SQLParser {
|
||||
} else if (lexer.token == Token.VARIANT && lexer.stringVal().startsWith("$")) {
|
||||
name = lexer.stringVal();
|
||||
lexer.nextToken();
|
||||
} else if (lexer.token == Token.LITERAL_INT && dbType == DbType.hive) {
|
||||
name = lexer.numberString();
|
||||
lexer.nextToken();
|
||||
} else {
|
||||
throw new ParserException("error : " + lexer.info());
|
||||
}
|
||||
@@ -3826,6 +3834,10 @@ public class SQLExprParser extends SQLParser {
|
||||
charType.setHints(hints);
|
||||
}
|
||||
|
||||
if (lexer.identifierEquals(FnvHash.Constants.ARRAY)) {
|
||||
return parseDataTypeRest(charType);
|
||||
}
|
||||
|
||||
return charType;
|
||||
}
|
||||
|
||||
@@ -3852,6 +3864,10 @@ public class SQLExprParser extends SQLParser {
|
||||
charType.setHints(hints);
|
||||
}
|
||||
|
||||
if (lexer.identifierEquals(FnvHash.Constants.ARRAY)) {
|
||||
return parseDataTypeRest(charType);
|
||||
}
|
||||
|
||||
return charType;
|
||||
}
|
||||
|
||||
|
||||
@@ -3947,9 +3947,7 @@ public class SQLStatementParser extends SQLParser {
|
||||
accept(Token.DATABASE);
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (lexer.token == Token.IF) {
|
||||
if (lexer.token == Token.IF || lexer.identifierEquals("IF")) {
|
||||
lexer.nextToken();
|
||||
accept(Token.NOT);
|
||||
accept(Token.EXISTS);
|
||||
|
||||
@@ -3,6 +3,8 @@ package com.alibaba.druid.sql.parser;
|
||||
public enum SQLType {
|
||||
SELECT,
|
||||
UPDATE,
|
||||
INSERT_SELECT,
|
||||
INSERT_VALUES,
|
||||
INSERT,
|
||||
DELETE,
|
||||
MERGE,
|
||||
@@ -50,5 +52,9 @@ public enum SQLType {
|
||||
ALTER_TABLE,
|
||||
READ,
|
||||
|
||||
ADD_TABLE,
|
||||
TUNNEL_DOWNLOAD,
|
||||
UPLOAD,
|
||||
|
||||
UNKNOWN
|
||||
}
|
||||
|
||||
@@ -912,6 +912,10 @@ public class SchemaRepository {
|
||||
String name = x1.computeName();
|
||||
SchemaObject table = schema.findTableOrView(name);
|
||||
if (table != null) {
|
||||
if (x1.isIfNotExists()) {
|
||||
return table;
|
||||
}
|
||||
|
||||
LOG.info("replaced table '" + name + "'");
|
||||
}
|
||||
|
||||
|
||||
@@ -20,8 +20,12 @@ public class MetaSqlExtract extends UDF {
|
||||
return null;
|
||||
}
|
||||
|
||||
String part = xml.substring(p0, p1);
|
||||
return StringEscapeUtils.unescapeXml(part);
|
||||
String sql = xml.substring(p0, p1);
|
||||
if (sql.startsWith("<![CDATA[")) {
|
||||
sql = sql.substring("<![CDATA[".length(), sql.length() - 3);
|
||||
}
|
||||
|
||||
return StringEscapeUtils.unescapeXml(sql);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1119,5 +1119,9 @@ public final class FnvHash {
|
||||
long ASOF = fnv1a_64_lower("ASOF");
|
||||
long JSON_SET = fnv1a_64_lower("JSON_SET");
|
||||
long JSONB_SET = fnv1a_64_lower("JSONB_SET");
|
||||
|
||||
long TUNNEL = fnv1a_64_lower("TUNNEL");
|
||||
long DOWNLOAD = fnv1a_64_lower("DOWNLOAD");
|
||||
long UPLOAD = fnv1a_64_lower("UPLOAD");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user