geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dschnei...@apache.org
Subject [35/53] [partial] incubator-geode git commit: Initial import of geode-1.0.0.0-SNAPSHOT-2. All the new sub-project directories (like jvsd) were not imported. A diff was done to confirm that this commit is exactly the same as the open directory the snapsho
Date Mon, 06 Jul 2015 18:15:42 GMT
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/31d1b20e/gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/parse/OQLLexer.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/parse/OQLLexer.java
b/gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/parse/OQLLexer.java
index 14aa09b..2ada98d 100644
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/parse/OQLLexer.java
+++ b/gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/parse/OQLLexer.java
@@ -1,4 +1,4 @@
-// $ANTLR : "oql.g" -> "OQLLexer.java"$
+// $ANTLR 2.7.4: "oql.g" -> "OQLLexer.java"$
 
 package com.gemstone.gemfire.cache.query.internal.parse;
 import java.util.*;
@@ -58,86 +58,86 @@ public OQLLexer(LexerSharedInputState state) {
 	caseSensitiveLiterals = false;
 	setCaseSensitive(false);
 	literals = new Hashtable();
-	literals.put(new ANTLRHashString("hint", this), new Integer(78));
-	literals.put(new ANTLRHashString("all", this), new Integer(69));
-	literals.put(new ANTLRHashString("map", this), new Integer(134));
-	literals.put(new ANTLRHashString("count", this), new Integer(109));
-	literals.put(new ANTLRHashString("sum", this), new Integer(105));
-	literals.put(new ANTLRHashString("nvl", this), new Integer(100));
-	literals.put(new ANTLRHashString("unique", this), new Integer(104));
-	literals.put(new ANTLRHashString("except", this), new Integer(92));
-	literals.put(new ANTLRHashString("declare", this), new Integer(63));
-	literals.put(new ANTLRHashString("for", this), new Integer(85));
-	literals.put(new ANTLRHashString("list", this), new Integer(116));
-	literals.put(new ANTLRHashString("min", this), new Integer(106));
-	literals.put(new ANTLRHashString("element", this), new Integer(98));
-	literals.put(new ANTLRHashString("false", this), new Integer(139));
-	literals.put(new ANTLRHashString("abs", this), new Integer(95));
-	literals.put(new ANTLRHashString("true", this), new Integer(138));
-	literals.put(new ANTLRHashString("bag", this), new Integer(115));
-	literals.put(new ANTLRHashString("time", this), new Integer(129));
-	literals.put(new ANTLRHashString("define", this), new Integer(64));
-	literals.put(new ANTLRHashString("and", this), new Integer(84));
-	literals.put(new ANTLRHashString("asc", this), new Integer(80));
-	literals.put(new ANTLRHashString("desc", this), new Integer(81));
-	literals.put(new ANTLRHashString("select", this), new Integer(67));
-	literals.put(new ANTLRHashString("intersect", this), new Integer(94));
-	literals.put(new ANTLRHashString("flatten", this), new Integer(99));
-	literals.put(new ANTLRHashString("float", this), new Integer(120));
-	literals.put(new ANTLRHashString("import", this), new Integer(61));
-	literals.put(new ANTLRHashString("exists", this), new Integer(86));
-	literals.put(new ANTLRHashString("distinct", this), new Integer(68));
-	literals.put(new ANTLRHashString("boolean", this), new Integer(124));
-	literals.put(new ANTLRHashString("string", this), new Integer(123));
-	literals.put(new ANTLRHashString("group", this), new Integer(75));
-	literals.put(new ANTLRHashString("interval", this), new Integer(130));
-	literals.put(new ANTLRHashString("orelse", this), new Integer(83));
-	literals.put(new ANTLRHashString("where", this), new Integer(73));
-	literals.put(new ANTLRHashString("trace", this), new Integer(60));
-	literals.put(new ANTLRHashString("first", this), new Integer(102));
-	literals.put(new ANTLRHashString("set", this), new Integer(114));
-	literals.put(new ANTLRHashString("octet", this), new Integer(126));
-	literals.put(new ANTLRHashString("nil", this), new Integer(135));
-	literals.put(new ANTLRHashString("avg", this), new Integer(108));
-	literals.put(new ANTLRHashString("order", this), new Integer(79));
-	literals.put(new ANTLRHashString("long", this), new Integer(118));
-	literals.put(new ANTLRHashString("limit", this), new Integer(74));
-	literals.put(new ANTLRHashString("mod", this), new Integer(93));
-	literals.put(new ANTLRHashString("type", this), new Integer(72));
-	literals.put(new ANTLRHashString("undefine", this), new Integer(66));
-	literals.put(new ANTLRHashString("in", this), new Integer(71));
-	literals.put(new ANTLRHashString("null", this), new Integer(136));
-	literals.put(new ANTLRHashString("some", this), new Integer(89));
-	literals.put(new ANTLRHashString("to_date", this), new Integer(101));
-	literals.put(new ANTLRHashString("short", this), new Integer(117));
-	literals.put(new ANTLRHashString("enum", this), new Integer(127));
-	literals.put(new ANTLRHashString("timestamp", this), new Integer(131));
-	literals.put(new ANTLRHashString("having", this), new Integer(77));
-	literals.put(new ANTLRHashString("dictionary", this), new Integer(133));
-	literals.put(new ANTLRHashString("char", this), new Integer(122));
-	literals.put(new ANTLRHashString("listtoset", this), new Integer(97));
-	literals.put(new ANTLRHashString("array", this), new Integer(113));
-	literals.put(new ANTLRHashString("union", this), new Integer(91));
-	literals.put(new ANTLRHashString("or", this), new Integer(82));
-	literals.put(new ANTLRHashString("max", this), new Integer(107));
-	literals.put(new ANTLRHashString("from", this), new Integer(70));
-	literals.put(new ANTLRHashString("query", this), new Integer(65));
-	literals.put(new ANTLRHashString("collection", this), new Integer(132));
-	literals.put(new ANTLRHashString("like", this), new Integer(90));
-	literals.put(new ANTLRHashString("date", this), new Integer(128));
-	literals.put(new ANTLRHashString("byte", this), new Integer(125));
-	literals.put(new ANTLRHashString("any", this), new Integer(88));
-	literals.put(new ANTLRHashString("is_undefined", this), new Integer(110));
-	literals.put(new ANTLRHashString("double", this), new Integer(121));
-	literals.put(new ANTLRHashString("int", this), new Integer(119));
-	literals.put(new ANTLRHashString("andthen", this), new Integer(87));
-	literals.put(new ANTLRHashString("last", this), new Integer(103));
-	literals.put(new ANTLRHashString("struct", this), new Integer(112));
-	literals.put(new ANTLRHashString("undefined", this), new Integer(137));
-	literals.put(new ANTLRHashString("is_defined", this), new Integer(111));
-	literals.put(new ANTLRHashString("not", this), new Integer(96));
-	literals.put(new ANTLRHashString("by", this), new Integer(76));
-	literals.put(new ANTLRHashString("as", this), new Integer(62));
+	literals.put(new ANTLRHashString("type", this), new Integer(78));
+	literals.put(new ANTLRHashString("byte", this), new Integer(131));
+	literals.put(new ANTLRHashString("list", this), new Integer(122));
+	literals.put(new ANTLRHashString("undefine", this), new Integer(72));
+	literals.put(new ANTLRHashString("time", this), new Integer(135));
+	literals.put(new ANTLRHashString("short", this), new Integer(123));
+	literals.put(new ANTLRHashString("dictionary", this), new Integer(139));
+	literals.put(new ANTLRHashString("listtoset", this), new Integer(103));
+	literals.put(new ANTLRHashString("abs", this), new Integer(101));
+	literals.put(new ANTLRHashString("timestamp", this), new Integer(137));
+	literals.put(new ANTLRHashString("limit", this), new Integer(80));
+	literals.put(new ANTLRHashString("distinct", this), new Integer(74));
+	literals.put(new ANTLRHashString("octet", this), new Integer(132));
+	literals.put(new ANTLRHashString("where", this), new Integer(79));
+	literals.put(new ANTLRHashString("orelse", this), new Integer(89));
+	literals.put(new ANTLRHashString("select", this), new Integer(73));
+	literals.put(new ANTLRHashString("and", this), new Integer(90));
+	literals.put(new ANTLRHashString("float", this), new Integer(126));
+	literals.put(new ANTLRHashString("not", this), new Integer(102));
+	literals.put(new ANTLRHashString("interval", this), new Integer(136));
+	literals.put(new ANTLRHashString("date", this), new Integer(134));
+	literals.put(new ANTLRHashString("from", this), new Integer(76));
+	literals.put(new ANTLRHashString("null", this), new Integer(142));
+	literals.put(new ANTLRHashString("flatten", this), new Integer(105));
+	literals.put(new ANTLRHashString("count", this), new Integer(115));
+	literals.put(new ANTLRHashString("last", this), new Integer(109));
+	literals.put(new ANTLRHashString("query", this), new Integer(71));
+	literals.put(new ANTLRHashString("mod", this), new Integer(99));
+	literals.put(new ANTLRHashString("trace", this), new Integer(66));
+	literals.put(new ANTLRHashString("nvl", this), new Integer(106));
+	literals.put(new ANTLRHashString("like", this), new Integer(96));
+	literals.put(new ANTLRHashString("except", this), new Integer(98));
+	literals.put(new ANTLRHashString("set", this), new Integer(120));
+	literals.put(new ANTLRHashString("to_date", this), new Integer(107));
+	literals.put(new ANTLRHashString("intersect", this), new Integer(100));
+	literals.put(new ANTLRHashString("map", this), new Integer(140));
+	literals.put(new ANTLRHashString("array", this), new Integer(119));
+	literals.put(new ANTLRHashString("or", this), new Integer(88));
+	literals.put(new ANTLRHashString("any", this), new Integer(94));
+	literals.put(new ANTLRHashString("double", this), new Integer(127));
+	literals.put(new ANTLRHashString("min", this), new Integer(113));
+	literals.put(new ANTLRHashString("as", this), new Integer(68));
+	literals.put(new ANTLRHashString("first", this), new Integer(108));
+	literals.put(new ANTLRHashString("by", this), new Integer(82));
+	literals.put(new ANTLRHashString("all", this), new Integer(75));
+	literals.put(new ANTLRHashString("union", this), new Integer(97));
+	literals.put(new ANTLRHashString("order", this), new Integer(85));
+	literals.put(new ANTLRHashString("is_defined", this), new Integer(117));
+	literals.put(new ANTLRHashString("collection", this), new Integer(138));
+	literals.put(new ANTLRHashString("some", this), new Integer(95));
+	literals.put(new ANTLRHashString("enum", this), new Integer(133));
+	literals.put(new ANTLRHashString("declare", this), new Integer(69));
+	literals.put(new ANTLRHashString("int", this), new Integer(125));
+	literals.put(new ANTLRHashString("for", this), new Integer(91));
+	literals.put(new ANTLRHashString("is_undefined", this), new Integer(116));
+	literals.put(new ANTLRHashString("boolean", this), new Integer(130));
+	literals.put(new ANTLRHashString("char", this), new Integer(128));
+	literals.put(new ANTLRHashString("define", this), new Integer(70));
+	literals.put(new ANTLRHashString("element", this), new Integer(104));
+	literals.put(new ANTLRHashString("string", this), new Integer(129));
+	literals.put(new ANTLRHashString("hint", this), new Integer(84));
+	literals.put(new ANTLRHashString("false", this), new Integer(145));
+	literals.put(new ANTLRHashString("exists", this), new Integer(92));
+	literals.put(new ANTLRHashString("asc", this), new Integer(86));
+	literals.put(new ANTLRHashString("undefined", this), new Integer(143));
+	literals.put(new ANTLRHashString("desc", this), new Integer(87));
+	literals.put(new ANTLRHashString("bag", this), new Integer(121));
+	literals.put(new ANTLRHashString("max", this), new Integer(114));
+	literals.put(new ANTLRHashString("sum", this), new Integer(111));
+	literals.put(new ANTLRHashString("struct", this), new Integer(118));
+	literals.put(new ANTLRHashString("import", this), new Integer(67));
+	literals.put(new ANTLRHashString("in", this), new Integer(77));
+	literals.put(new ANTLRHashString("avg", this), new Integer(112));
+	literals.put(new ANTLRHashString("true", this), new Integer(144));
+	literals.put(new ANTLRHashString("long", this), new Integer(124));
+	literals.put(new ANTLRHashString("nil", this), new Integer(141));
+	literals.put(new ANTLRHashString("group", this), new Integer(81));
+	literals.put(new ANTLRHashString("having", this), new Integer(83));
+	literals.put(new ANTLRHashString("unique", this), new Integer(110));
+	literals.put(new ANTLRHashString("andthen", this), new Integer(93));
 }
 
 public Token nextToken() throws TokenStreamException {
@@ -1361,13 +1361,13 @@ tryAgain:
 		text.setLength(_saveIndex);
 		mNameFirstCharacter(false);
 		{
-		_loop5016:
+		_loop38:
 		do {
 			if ((_tokenSet_4.member(LA(1)))) {
 				mNameCharacter(false);
 			}
 			else {
-				break _loop5016;
+				break _loop38;
 			}
 			
 		} while (true);
@@ -1389,13 +1389,13 @@ tryAgain:
 		
 		mNameFirstCharacter(false);
 		{
-		_loop5019:
+		_loop41:
 		do {
 			if ((_tokenSet_4.member(LA(1)))) {
 				mNameCharacter(false);
 			}
 			else {
-				break _loop5019;
+				break _loop41;
 			}
 			
 		} while (true);
@@ -1417,31 +1417,31 @@ tryAgain:
 		if ((LA(1)=='/') && (_tokenSet_5.member(LA(2)))) {
 			{
 			{
-			int _cnt5026=0;
-			_loop5026:
+			int _cnt48=0;
+			_loop48:
 			do {
 				if ((LA(1)=='/')) {
 					mTOK_SLASH(false);
 					{
-					int _cnt5025=0;
-					_loop5025:
+					int _cnt47=0;
+					_loop47:
 					do {
 						if ((_tokenSet_5.member(LA(1)))) {
 							mRegionNameCharacter(false);
 						}
 						else {
-							if ( _cnt5025>=1 ) { break _loop5025; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
+							if ( _cnt47>=1 ) { break _loop47; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
 						}
 						
-						_cnt5025++;
+						_cnt47++;
 					} while (true);
 					}
 				}
 				else {
-					if ( _cnt5026>=1 ) { break _loop5026; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
+					if ( _cnt48>=1 ) { break _loop48; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
 				}
 				
-				_cnt5026++;
+				_cnt48++;
 			} while (true);
 			}
 			}
@@ -1449,18 +1449,18 @@ tryAgain:
 		else if ((LA(1)=='/') && (LA(2)=='\'')) {
 			{
 			{
-			int _cnt5029=0;
-			_loop5029:
+			int _cnt51=0;
+			_loop51:
 			do {
 				if ((LA(1)=='/')) {
 					mTOK_SLASH(false);
 					mStringLiteral(false);
 				}
 				else {
-					if ( _cnt5029>=1 ) { break _loop5029; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
+					if ( _cnt51>=1 ) { break _loop51; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
 				}
 				
-				_cnt5029++;
+				_cnt51++;
 			} while (true);
 			}
 			}
@@ -1486,7 +1486,7 @@ tryAgain:
 		mQUOTE(false);
 		text.setLength(_saveIndex);
 		{
-		_loop5065:
+		_loop87:
 		do {
 			if ((LA(1)=='\'') && (LA(2)=='\'')) {
 				mQUOTE(false);
@@ -1506,7 +1506,7 @@ tryAgain:
 				}
 			}
 			else {
-				break _loop5065;
+				break _loop87;
 			}
 			
 		} while (true);
@@ -1542,40 +1542,40 @@ tryAgain:
 			if ((LA(1)=='x')) {
 				match('x');
 				{
-				int _cnt5034=0;
-				_loop5034:
+				int _cnt56=0;
+				_loop56:
 				do {
 					if ((_tokenSet_7.member(LA(1))) && (true)) {
 						mHEX_DIGIT(false);
 					}
 					else {
-						if ( _cnt5034>=1 ) { break _loop5034; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
+						if ( _cnt56>=1 ) { break _loop56; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
 					}
 					
-					_cnt5034++;
+					_cnt56++;
 				} while (true);
 				}
 			}
 			else {
-				boolean synPredMatched5039 = false;
+				boolean synPredMatched61 = false;
 				if ((((LA(1) >= '0' && LA(1) <= '9')) && (true))) {
-					int _m5039 = mark();
-					synPredMatched5039 = true;
+					int _m61 = mark();
+					synPredMatched61 = true;
 					inputState.guessing++;
 					try {
 						{
 						{
-						int _cnt5037=0;
-						_loop5037:
+						int _cnt59=0;
+						_loop59:
 						do {
 							if (((LA(1) >= '0' && LA(1) <= '9'))) {
 								matchRange('0','9');
 							}
 							else {
-								if ( _cnt5037>=1 ) { break _loop5037; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
+								if ( _cnt59>=1 ) { break _loop59; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
 							}
 							
-							_cnt5037++;
+							_cnt59++;
 						} while (true);
 						}
 						{
@@ -1604,40 +1604,40 @@ tryAgain:
 						}
 					}
 					catch (RecognitionException pe) {
-						synPredMatched5039 = false;
+						synPredMatched61 = false;
 					}
-					rewind(_m5039);
-inputState.guessing--;
+					rewind(_m61);
+					inputState.guessing--;
 				}
-				if ( synPredMatched5039 ) {
+				if ( synPredMatched61 ) {
 					{
-					int _cnt5041=0;
-					_loop5041:
+					int _cnt63=0;
+					_loop63:
 					do {
 						if (((LA(1) >= '0' && LA(1) <= '9'))) {
 							matchRange('0','9');
 						}
 						else {
-							if ( _cnt5041>=1 ) { break _loop5041; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
+							if ( _cnt63>=1 ) { break _loop63; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
 						}
 						
-						_cnt5041++;
+						_cnt63++;
 					} while (true);
 					}
 				}
 				else if (((LA(1) >= '0' && LA(1) <= '7')) && (true)) {
 					{
-					int _cnt5043=0;
-					_loop5043:
+					int _cnt65=0;
+					_loop65:
 					do {
 						if (((LA(1) >= '0' && LA(1) <= '7'))) {
 							matchRange('0','7');
 						}
 						else {
-							if ( _cnt5043>=1 ) { break _loop5043; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
+							if ( _cnt65>=1 ) { break _loop65; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
 						}
 						
-						_cnt5043++;
+						_cnt65++;
 					} while (true);
 					}
 				}
@@ -1655,13 +1655,13 @@ inputState.guessing--;
 				matchRange('1','9');
 				}
 				{
-				_loop5046:
+				_loop68:
 				do {
 					if (((LA(1) >= '0' && LA(1) <= '9'))) {
 						matchRange('0','9');
 					}
 					else {
-						break _loop5046;
+						break _loop68;
 					}
 					
 				} while (true);
@@ -1691,13 +1691,13 @@ inputState.guessing--;
 				{
 					match('.');
 					{
-					_loop5050:
+					_loop72:
 					do {
 						if (((LA(1) >= '0' && LA(1) <= '9'))) {
 							matchRange('0','9');
 						}
 						else {
-							break _loop5050;
+							break _loop72;
 						}
 						
 					} while (true);
@@ -1842,17 +1842,17 @@ inputState.guessing--;
 		}
 		}
 		{
-		int _cnt5057=0;
-		_loop5057:
+		int _cnt79=0;
+		_loop79:
 		do {
 			if (((LA(1) >= '0' && LA(1) <= '9'))) {
 				matchRange('0','9');
 			}
 			else {
-				if ( _cnt5057>=1 ) { break _loop5057; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
+				if ( _cnt79>=1 ) { break _loop79; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
 			}
 			
-			_cnt5057++;
+			_cnt79++;
 		} while (true);
 		}
 		if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
@@ -1909,8 +1909,8 @@ inputState.guessing--;
 		int _saveIndex;
 		
 		{
-		int _cnt5069=0;
-		_loop5069:
+		int _cnt91=0;
+		_loop91:
 		do {
 			switch ( LA(1)) {
 			case ' ':
@@ -1952,10 +1952,10 @@ inputState.guessing--;
 			}
 			default:
 			{
-				if ( _cnt5069>=1 ) { break _loop5069; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
+				if ( _cnt91>=1 ) { break _loop91; } else {throw new NoViableAltForCharException((char)LA(1),
getFilename(), getLine(), getColumn());}
 			}
 			}
-			_cnt5069++;
+			_cnt91++;
 		} while (true);
 		}
 		if ( inputState.guessing==0 ) {
@@ -1975,7 +1975,7 @@ inputState.guessing--;
 		
 		match("--");
 		{
-		_loop5073:
+		_loop95:
 		do {
 			if ((_tokenSet_9.member(LA(1)))) {
 				{
@@ -1983,7 +1983,7 @@ inputState.guessing--;
 				}
 			}
 			else {
-				break _loop5073;
+				break _loop95;
 			}
 			
 		} while (true);
@@ -2030,7 +2030,7 @@ inputState.guessing--;
 		
 		match("/*");
 		{
-		_loop5079:
+		_loop101:
 		do {
 			if (((LA(1)=='*') && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')))&&(
LA(2)!='/' )) {
 				match('*');
@@ -2060,7 +2060,7 @@ inputState.guessing--;
 				}
 			}
 			else {
-				break _loop5079;
+				break _loop101;
 			}
 			
 		} while (true);

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/31d1b20e/gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/parse/OQLLexerTokenTypes.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/parse/OQLLexerTokenTypes.java
b/gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/parse/OQLLexerTokenTypes.java
index e195b59..f30f3c0 100644
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/parse/OQLLexerTokenTypes.java
+++ b/gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/parse/OQLLexerTokenTypes.java
@@ -1,4 +1,4 @@
-// $ANTLR : "oql.g" -> "OQLParser.java"$
+// $ANTLR 2.7.4: "oql.g" -> "OQLParser.java"$
 
 package com.gemstone.gemfire.cache.query.internal.parse;
 import java.util.*;
@@ -63,87 +63,93 @@ public interface OQLLexerTokenTypes {
 	int SORT_CRITERION = 57;
 	int LIMIT = 58;
 	int HINT = 59;
-	int LITERAL_trace = 60;
-	int LITERAL_import = 61;
-	int LITERAL_as = 62;
-	int LITERAL_declare = 63;
-	int LITERAL_define = 64;
-	int LITERAL_query = 65;
-	int LITERAL_undefine = 66;
-	int LITERAL_select = 67;
-	int LITERAL_distinct = 68;
-	int LITERAL_all = 69;
-	int LITERAL_from = 70;
-	int LITERAL_in = 71;
-	int LITERAL_type = 72;
-	int LITERAL_where = 73;
-	int LITERAL_limit = 74;
-	int LITERAL_group = 75;
-	int LITERAL_by = 76;
-	int LITERAL_having = 77;
-	int LITERAL_hint = 78;
-	int LITERAL_order = 79;
-	int LITERAL_asc = 80;
-	int LITERAL_desc = 81;
-	int LITERAL_or = 82;
-	int LITERAL_orelse = 83;
-	int LITERAL_and = 84;
-	int LITERAL_for = 85;
-	int LITERAL_exists = 86;
-	int LITERAL_andthen = 87;
-	int LITERAL_any = 88;
-	int LITERAL_some = 89;
-	int LITERAL_like = 90;
-	int LITERAL_union = 91;
-	int LITERAL_except = 92;
-	int LITERAL_mod = 93;
-	int LITERAL_intersect = 94;
-	int LITERAL_abs = 95;
-	int LITERAL_not = 96;
-	int LITERAL_listtoset = 97;
-	int LITERAL_element = 98;
-	int LITERAL_flatten = 99;
-	int LITERAL_nvl = 100;
-	int LITERAL_to_date = 101;
-	int LITERAL_first = 102;
-	int LITERAL_last = 103;
-	int LITERAL_unique = 104;
-	int LITERAL_sum = 105;
-	int LITERAL_min = 106;
-	int LITERAL_max = 107;
-	int LITERAL_avg = 108;
-	int LITERAL_count = 109;
-	int LITERAL_is_undefined = 110;
-	int LITERAL_is_defined = 111;
-	int LITERAL_struct = 112;
-	int LITERAL_array = 113;
-	int LITERAL_set = 114;
-	int LITERAL_bag = 115;
-	int LITERAL_list = 116;
-	int LITERAL_short = 117;
-	int LITERAL_long = 118;
-	int LITERAL_int = 119;
-	int LITERAL_float = 120;
-	int LITERAL_double = 121;
-	int LITERAL_char = 122;
-	int LITERAL_string = 123;
-	int LITERAL_boolean = 124;
-	int LITERAL_byte = 125;
-	int LITERAL_octet = 126;
-	int LITERAL_enum = 127;
-	int LITERAL_date = 128;
-	int LITERAL_time = 129;
-	int LITERAL_interval = 130;
-	int LITERAL_timestamp = 131;
-	int LITERAL_collection = 132;
-	int LITERAL_dictionary = 133;
-	int LITERAL_map = 134;
-	int LITERAL_nil = 135;
-	int LITERAL_null = 136;
-	int LITERAL_undefined = 137;
-	int LITERAL_true = 138;
-	int LITERAL_false = 139;
-	int NUM_LONG = 140;
-	int NUM_FLOAT = 141;
-	int NUM_DOUBLE = 142;
+	int AGG_FUNC = 60;
+	int SUM = 61;
+	int AVG = 62;
+	int COUNT = 63;
+	int MAX = 64;
+	int MIN = 65;
+	int LITERAL_trace = 66;
+	int LITERAL_import = 67;
+	int LITERAL_as = 68;
+	int LITERAL_declare = 69;
+	int LITERAL_define = 70;
+	int LITERAL_query = 71;
+	int LITERAL_undefine = 72;
+	int LITERAL_select = 73;
+	int LITERAL_distinct = 74;
+	int LITERAL_all = 75;
+	int LITERAL_from = 76;
+	int LITERAL_in = 77;
+	int LITERAL_type = 78;
+	int LITERAL_where = 79;
+	int LITERAL_limit = 80;
+	int LITERAL_group = 81;
+	int LITERAL_by = 82;
+	int LITERAL_having = 83;
+	int LITERAL_hint = 84;
+	int LITERAL_order = 85;
+	int LITERAL_asc = 86;
+	int LITERAL_desc = 87;
+	int LITERAL_or = 88;
+	int LITERAL_orelse = 89;
+	int LITERAL_and = 90;
+	int LITERAL_for = 91;
+	int LITERAL_exists = 92;
+	int LITERAL_andthen = 93;
+	int LITERAL_any = 94;
+	int LITERAL_some = 95;
+	int LITERAL_like = 96;
+	int LITERAL_union = 97;
+	int LITERAL_except = 98;
+	int LITERAL_mod = 99;
+	int LITERAL_intersect = 100;
+	int LITERAL_abs = 101;
+	int LITERAL_not = 102;
+	int LITERAL_listtoset = 103;
+	int LITERAL_element = 104;
+	int LITERAL_flatten = 105;
+	int LITERAL_nvl = 106;
+	int LITERAL_to_date = 107;
+	int LITERAL_first = 108;
+	int LITERAL_last = 109;
+	int LITERAL_unique = 110;
+	int LITERAL_sum = 111;
+	int LITERAL_avg = 112;
+	int LITERAL_min = 113;
+	int LITERAL_max = 114;
+	int LITERAL_count = 115;
+	int LITERAL_is_undefined = 116;
+	int LITERAL_is_defined = 117;
+	int LITERAL_struct = 118;
+	int LITERAL_array = 119;
+	int LITERAL_set = 120;
+	int LITERAL_bag = 121;
+	int LITERAL_list = 122;
+	int LITERAL_short = 123;
+	int LITERAL_long = 124;
+	int LITERAL_int = 125;
+	int LITERAL_float = 126;
+	int LITERAL_double = 127;
+	int LITERAL_char = 128;
+	int LITERAL_string = 129;
+	int LITERAL_boolean = 130;
+	int LITERAL_byte = 131;
+	int LITERAL_octet = 132;
+	int LITERAL_enum = 133;
+	int LITERAL_date = 134;
+	int LITERAL_time = 135;
+	int LITERAL_interval = 136;
+	int LITERAL_timestamp = 137;
+	int LITERAL_collection = 138;
+	int LITERAL_dictionary = 139;
+	int LITERAL_map = 140;
+	int LITERAL_nil = 141;
+	int LITERAL_null = 142;
+	int LITERAL_undefined = 143;
+	int LITERAL_true = 144;
+	int LITERAL_false = 145;
+	int NUM_LONG = 146;
+	int NUM_FLOAT = 147;
+	int NUM_DOUBLE = 148;
 }

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/31d1b20e/gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/parse/OQLLexerTokenTypes.txt
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/parse/OQLLexerTokenTypes.txt
b/gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/parse/OQLLexerTokenTypes.txt
index d2c9075..8c8fda5 100644
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/parse/OQLLexerTokenTypes.txt
+++ b/gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/parse/OQLLexerTokenTypes.txt
@@ -1,4 +1,4 @@
-// $ANTLR : oql.g -> OQLLexerTokenTypes.txt$
+// $ANTLR 2.7.4: oql.g -> OQLLexerTokenTypes.txt$
 OQLLexer    // output token vocab name
 TOK_RPAREN=4
 TOK_LPAREN=5
@@ -56,86 +56,92 @@ IMPORTS=56
 SORT_CRITERION=57
 LIMIT=58
 HINT=59
-LITERAL_trace="trace"=60
-LITERAL_import="import"=61
-LITERAL_as="as"=62
-LITERAL_declare="declare"=63
-LITERAL_define="define"=64
-LITERAL_query="query"=65
-LITERAL_undefine="undefine"=66
-LITERAL_select="select"=67
-LITERAL_distinct="distinct"=68
-LITERAL_all="all"=69
-LITERAL_from="from"=70
-LITERAL_in="in"=71
-LITERAL_type="type"=72
-LITERAL_where="where"=73
-LITERAL_limit="limit"=74
-LITERAL_group="group"=75
-LITERAL_by="by"=76
-LITERAL_having="having"=77
-LITERAL_hint="hint"=78
-LITERAL_order="order"=79
-LITERAL_asc="asc"=80
-LITERAL_desc="desc"=81
-LITERAL_or="or"=82
-LITERAL_orelse="orelse"=83
-LITERAL_and="and"=84
-LITERAL_for="for"=85
-LITERAL_exists="exists"=86
-LITERAL_andthen="andthen"=87
-LITERAL_any="any"=88
-LITERAL_some="some"=89
-LITERAL_like="like"=90
-LITERAL_union="union"=91
-LITERAL_except="except"=92
-LITERAL_mod="mod"=93
-LITERAL_intersect="intersect"=94
-LITERAL_abs="abs"=95
-LITERAL_not="not"=96
-LITERAL_listtoset="listtoset"=97
-LITERAL_element="element"=98
-LITERAL_flatten="flatten"=99
-LITERAL_nvl="nvl"=100
-LITERAL_to_date="to_date"=101
-LITERAL_first="first"=102
-LITERAL_last="last"=103
-LITERAL_unique="unique"=104
-LITERAL_sum="sum"=105
-LITERAL_min="min"=106
-LITERAL_max="max"=107
-LITERAL_avg="avg"=108
-LITERAL_count="count"=109
-LITERAL_is_undefined="is_undefined"=110
-LITERAL_is_defined="is_defined"=111
-LITERAL_struct="struct"=112
-LITERAL_array="array"=113
-LITERAL_set="set"=114
-LITERAL_bag="bag"=115
-LITERAL_list="list"=116
-LITERAL_short="short"=117
-LITERAL_long="long"=118
-LITERAL_int="int"=119
-LITERAL_float="float"=120
-LITERAL_double="double"=121
-LITERAL_char="char"=122
-LITERAL_string="string"=123
-LITERAL_boolean="boolean"=124
-LITERAL_byte="byte"=125
-LITERAL_octet="octet"=126
-LITERAL_enum="enum"=127
-LITERAL_date="date"=128
-LITERAL_time="time"=129
-LITERAL_interval="interval"=130
-LITERAL_timestamp="timestamp"=131
-LITERAL_collection="collection"=132
-LITERAL_dictionary="dictionary"=133
-LITERAL_map="map"=134
-LITERAL_nil="nil"=135
-LITERAL_null="null"=136
-LITERAL_undefined="undefined"=137
-LITERAL_true="true"=138
-LITERAL_false="false"=139
-NUM_LONG=140
-NUM_FLOAT=141
-NUM_DOUBLE=142
+AGG_FUNC=60
+SUM=61
+AVG=62
+COUNT=63
+MAX=64
+MIN=65
+LITERAL_trace="trace"=66
+LITERAL_import="import"=67
+LITERAL_as="as"=68
+LITERAL_declare="declare"=69
+LITERAL_define="define"=70
+LITERAL_query="query"=71
+LITERAL_undefine="undefine"=72
+LITERAL_select="select"=73
+LITERAL_distinct="distinct"=74
+LITERAL_all="all"=75
+LITERAL_from="from"=76
+LITERAL_in="in"=77
+LITERAL_type="type"=78
+LITERAL_where="where"=79
+LITERAL_limit="limit"=80
+LITERAL_group="group"=81
+LITERAL_by="by"=82
+LITERAL_having="having"=83
+LITERAL_hint="hint"=84
+LITERAL_order="order"=85
+LITERAL_asc="asc"=86
+LITERAL_desc="desc"=87
+LITERAL_or="or"=88
+LITERAL_orelse="orelse"=89
+LITERAL_and="and"=90
+LITERAL_for="for"=91
+LITERAL_exists="exists"=92
+LITERAL_andthen="andthen"=93
+LITERAL_any="any"=94
+LITERAL_some="some"=95
+LITERAL_like="like"=96
+LITERAL_union="union"=97
+LITERAL_except="except"=98
+LITERAL_mod="mod"=99
+LITERAL_intersect="intersect"=100
+LITERAL_abs="abs"=101
+LITERAL_not="not"=102
+LITERAL_listtoset="listtoset"=103
+LITERAL_element="element"=104
+LITERAL_flatten="flatten"=105
+LITERAL_nvl="nvl"=106
+LITERAL_to_date="to_date"=107
+LITERAL_first="first"=108
+LITERAL_last="last"=109
+LITERAL_unique="unique"=110
+LITERAL_sum="sum"=111
+LITERAL_avg="avg"=112
+LITERAL_min="min"=113
+LITERAL_max="max"=114
+LITERAL_count="count"=115
+LITERAL_is_undefined="is_undefined"=116
+LITERAL_is_defined="is_defined"=117
+LITERAL_struct="struct"=118
+LITERAL_array="array"=119
+LITERAL_set="set"=120
+LITERAL_bag="bag"=121
+LITERAL_list="list"=122
+LITERAL_short="short"=123
+LITERAL_long="long"=124
+LITERAL_int="int"=125
+LITERAL_float="float"=126
+LITERAL_double="double"=127
+LITERAL_char="char"=128
+LITERAL_string="string"=129
+LITERAL_boolean="boolean"=130
+LITERAL_byte="byte"=131
+LITERAL_octet="octet"=132
+LITERAL_enum="enum"=133
+LITERAL_date="date"=134
+LITERAL_time="time"=135
+LITERAL_interval="interval"=136
+LITERAL_timestamp="timestamp"=137
+LITERAL_collection="collection"=138
+LITERAL_dictionary="dictionary"=139
+LITERAL_map="map"=140
+LITERAL_nil="nil"=141
+LITERAL_null="null"=142
+LITERAL_undefined="undefined"=143
+LITERAL_true="true"=144
+LITERAL_false="false"=145
+NUM_LONG=146
+NUM_FLOAT=147
+NUM_DOUBLE=148


Mime
View raw message