You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by al...@apache.org on 2020/09/16 22:30:19 UTC

[asterixdb] branch master updated: [NO ISSUE] Minor utility additions

This is an automated email from the ASF dual-hosted git repository.

alsuliman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 57856d9  [NO ISSUE] Minor utility additions
57856d9 is described below

commit 57856d90526861ea35275686cd60f1021de320f3
Author: Ali Alsuliman <al...@gmail.com>
AuthorDate: Mon Sep 14 10:13:09 2020 -0700

    [NO ISSUE] Minor utility additions
    
    - user model changes: no
    - storage format changes: no
    - interface changes: no
    
    Change-Id: I03b25bf7a1faf05a4738076c0834ef7135c8825c
    Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/7806
    Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Reviewed-by: Murtadha Hubail <mh...@apache.org>
---
 .../java/org/apache/asterix/lang/sqlpp/util/SqlppStatementUtil.java    | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/asterixdb/asterix-lang-sqlpp/src/main/java/org/apache/asterix/lang/sqlpp/util/SqlppStatementUtil.java b/asterixdb/asterix-lang-sqlpp/src/main/java/org/apache/asterix/lang/sqlpp/util/SqlppStatementUtil.java
index ba6d9e4..5281dd9 100644
--- a/asterixdb/asterix-lang-sqlpp/src/main/java/org/apache/asterix/lang/sqlpp/util/SqlppStatementUtil.java
+++ b/asterixdb/asterix-lang-sqlpp/src/main/java/org/apache/asterix/lang/sqlpp/util/SqlppStatementUtil.java
@@ -34,6 +34,9 @@ public class SqlppStatementUtil {
     public static final String DROP_INDEX = "DROP INDEX ";
     public static final String ON = " ON ";
     public static final String WHERE = " WHERE ";
+    public static final String AND = " AND ";
+    public static final String OR = " OR ";
+    public static final String NOT = " NOT ";
     public static final char SEMI_COLON = ';';
     public static final char DOT = '.';
     public static final char COLON = ':';