Skip to content
Browse files

add attributions

  • Loading branch information...
1 parent 052f7af commit 32f2114a2a87803fb21509a7797a82b1226bd87b @briangu briangu committed May 31, 2011
Showing with 1,959 additions and 62 deletions.
  1. +13 −0 .idea/libraries/Maven__antlr_antlr_2_7_7.xml
  2. +13 −0 .idea/libraries/Maven__avalon_framework_avalon_framework_4_1_3.xml
  3. +13 −0 .idea/libraries/Maven__com_google_collections_google_collections_1_0.xml
  4. +13 −0 .idea/libraries/Maven__commons_lang_commons_lang_2_4.xml
  5. +13 −0 .idea/libraries/Maven__commons_logging_commons_logging_1_1.xml
  6. +13 −0 .idea/libraries/Maven__javax_servlet_servlet_api_2_3.xml
  7. +13 −0 .idea/libraries/Maven__junit_junit_4_8_2.xml
  8. +13 −0 .idea/libraries/Maven__log4j_log4j_1_2_12.xml
  9. +13 −0 .idea/libraries/Maven__logkit_logkit_1_0_1.xml
  10. +13 −0 .idea/libraries/Maven__org_antlr_antlr_3_2.xml
  11. +13 −0 .idea/libraries/Maven__org_antlr_antlr_runtime_3_2.xml
  12. +13 −0 .idea/libraries/Maven__org_antlr_gunit_3_1_3.xml
  13. +13 −0 .idea/libraries/Maven__org_antlr_stringtemplate_3_2.xml
  14. +13 −0 .idea/libraries/Maven__org_codehaus_jsr166_mirror_extra166y_1_7_0.xml
  15. +13 −0 .idea/libraries/Maven__org_codehaus_jsr166_mirror_jsr166y_1_7_0.xml
  16. +2 −0 CONTRIBUTORS
  17. +202 −0 LICENSE
  18. +6 −0 README.md
  19. +39 −0 bowser-core/bowser-core.iml
  20. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/Interpreter.java
  21. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/InterpreterBuilder.java
  22. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/InterpreterRule.java
  23. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/eval/EvalHandler.java
  24. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/eval/EvalVisitor.java
  25. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/eval/EvalVisitorErrorProxy.java
  26. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/eval/ListComprehensionProcessor.java
  27. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/eval/ListComprehensionSorter.java
  28. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/eval/PartialEvalVisitor.java
  29. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/AttributeError.java
  30. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/EvalError.java
  31. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/IndexError.java
  32. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/KeyError.java
  33. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/NameError.java
  34. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/QueryFormatException.java
  35. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/QueryRuntimeException.java
  36. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/SubscriptError.java
  37. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/TypeError.java
  38. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/ZeroDivisionError.java
  39. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/ArithmeticExpn.java
  40. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/AttrExpn.java
  41. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/BinaryExpn.java
  42. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/CallableExpn.java
  43. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/ConditionalExpn.java
  44. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/Expn.java
  45. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/ExpnVisitor.java
  46. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/Expressions.java
  47. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/InExpn.java
  48. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/ListComprehensionExpn.java
  49. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/ListExpn.java
  50. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/LiteralExpn.java
  51. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/LogicalExpn.java
  52. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/MapExpn.java
  53. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/Operator.java
  54. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/RelationalExpn.java
  55. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/SetExpn.java
  56. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/SliceExpn.java
  57. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/SubscriptExpn.java
  58. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/SymbolExpn.java
  59. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/TupleExpn.java
  60. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/Type.java
  61. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/UnaryExpn.java
  62. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/UnaryMinusExpn.java
  63. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/expn/UnaryNotExpn.java
  64. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/functions/AbstractNQLFunction.java
  65. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Bool.java
  66. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Dir.java
  67. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Float.java
  68. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Int.java
  69. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Length.java
  70. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/functions/List.java
  71. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Long.java
  72. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Max.java
  73. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Min.java
  74. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/functions/NQLFunction.java
  75. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Range.java
  76. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Shuffle.java
  77. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Str.java
  78. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Sum.java
  79. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Tuple.java
  80. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/grammar/AbstractNQLQueryBuilder.java
  81. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/grammar/gen/NQLLexer.java
  82. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/grammar/gen/NQLParser.java
  83. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/grammar/gen/NQLQueryBuilder.java
  84. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/Attributable.java
  85. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/BooleanObject.java
  86. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/Callable.java
  87. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/Collection.java
  88. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/FloatObject.java
  89. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/FunctionObject.java
  90. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/IntObject.java
  91. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/ListObject.java
  92. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/LongObject.java
  93. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/MapObject.java
  94. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/NQLObject.java
  95. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/NoneObject.java
  96. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/Numeric.java
  97. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/Objects.java
  98. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/Printable.java
  99. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/Relational.java
  100. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/Sequence.java
  101. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/SetObject.java
  102. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/Sizable.java
  103. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/StringObject.java
  104. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/Subscriptable.java
  105. +16 −0 bowser-core/src/main/java/com/linkedin/bowser/core/objects/TupleObject.java
  106. +16 −0 bowser-core/src/test/java/com/linkedin/bowser/test/TestNQL.java
  107. +13 −0 bowser-parent.iml
  108. +16 −0 bowser-tool/src/main/java/com/linkedin/bowser/tool/REPL.java
  109. +16 −0 bowser-tool/src/main/java/com/linkedin/bowser/tool/REPLCommandLine.java
  110. +16 −0 bowser-tool/src/main/java/com/linkedin/bowser/tool/REPLServer.java
  111. +62 −62 pom.xml
View
13 .idea/libraries/Maven__antlr_antlr_2_7_7.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+ <library name="Maven: antlr:antlr:2.7.7">
+ <CLASSES>
+ <root url="jar://$MAVEN_REPOSITORY$/antlr/antlr/2.7.7/antlr-2.7.7.jar!/" />
+ </CLASSES>
+ <JAVADOC>
+ <root url="jar://$MAVEN_REPOSITORY$/antlr/antlr/2.7.7/antlr-2.7.7-javadoc.jar!/" />
+ </JAVADOC>
+ <SOURCES>
+ <root url="jar://$MAVEN_REPOSITORY$/antlr/antlr/2.7.7/antlr-2.7.7-sources.jar!/" />
+ </SOURCES>
+ </library>
+</component>
View
13 .idea/libraries/Maven__avalon_framework_avalon_framework_4_1_3.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+ <library name="Maven: avalon-framework:avalon-framework:4.1.3">
+ <CLASSES>
+ <root url="jar://$MAVEN_REPOSITORY$/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar!/" />
+ </CLASSES>
+ <JAVADOC>
+ <root url="jar://$MAVEN_REPOSITORY$/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3-javadoc.jar!/" />
+ </JAVADOC>
+ <SOURCES>
+ <root url="jar://$MAVEN_REPOSITORY$/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3-sources.jar!/" />
+ </SOURCES>
+ </library>
+</component>
View
13 .idea/libraries/Maven__com_google_collections_google_collections_1_0.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+ <library name="Maven: com.google.collections:google-collections:1.0">
+ <CLASSES>
+ <root url="jar://$MAVEN_REPOSITORY$/com/google/collections/google-collections/1.0/google-collections-1.0.jar!/" />
+ </CLASSES>
+ <JAVADOC>
+ <root url="jar://$MAVEN_REPOSITORY$/com/google/collections/google-collections/1.0/google-collections-1.0-javadoc.jar!/" />
+ </JAVADOC>
+ <SOURCES>
+ <root url="jar://$MAVEN_REPOSITORY$/com/google/collections/google-collections/1.0/google-collections-1.0-sources.jar!/" />
+ </SOURCES>
+ </library>
+</component>
View
13 .idea/libraries/Maven__commons_lang_commons_lang_2_4.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+ <library name="Maven: commons-lang:commons-lang:2.4">
+ <CLASSES>
+ <root url="jar://$MAVEN_REPOSITORY$/commons-lang/commons-lang/2.4/commons-lang-2.4.jar!/" />
+ </CLASSES>
+ <JAVADOC>
+ <root url="jar://$MAVEN_REPOSITORY$/commons-lang/commons-lang/2.4/commons-lang-2.4-javadoc.jar!/" />
+ </JAVADOC>
+ <SOURCES>
+ <root url="jar://$MAVEN_REPOSITORY$/commons-lang/commons-lang/2.4/commons-lang-2.4-sources.jar!/" />
+ </SOURCES>
+ </library>
+</component>
View
13 .idea/libraries/Maven__commons_logging_commons_logging_1_1.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+ <library name="Maven: commons-logging:commons-logging:1.1">
+ <CLASSES>
+ <root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging/1.1/commons-logging-1.1.jar!/" />
+ </CLASSES>
+ <JAVADOC>
+ <root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging/1.1/commons-logging-1.1-javadoc.jar!/" />
+ </JAVADOC>
+ <SOURCES>
+ <root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging/1.1/commons-logging-1.1-sources.jar!/" />
+ </SOURCES>
+ </library>
+</component>
View
13 .idea/libraries/Maven__javax_servlet_servlet_api_2_3.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+ <library name="Maven: javax.servlet:servlet-api:2.3">
+ <CLASSES>
+ <root url="jar://$MAVEN_REPOSITORY$/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar!/" />
+ </CLASSES>
+ <JAVADOC>
+ <root url="jar://$MAVEN_REPOSITORY$/javax/servlet/servlet-api/2.3/servlet-api-2.3-javadoc.jar!/" />
+ </JAVADOC>
+ <SOURCES>
+ <root url="jar://$MAVEN_REPOSITORY$/javax/servlet/servlet-api/2.3/servlet-api-2.3-sources.jar!/" />
+ </SOURCES>
+ </library>
+</component>
View
13 .idea/libraries/Maven__junit_junit_4_8_2.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+ <library name="Maven: junit:junit:4.8.2">
+ <CLASSES>
+ <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.8.2/junit-4.8.2.jar!/" />
+ </CLASSES>
+ <JAVADOC>
+ <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.8.2/junit-4.8.2-javadoc.jar!/" />
+ </JAVADOC>
+ <SOURCES>
+ <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.8.2/junit-4.8.2-sources.jar!/" />
+ </SOURCES>
+ </library>
+</component>
View
13 .idea/libraries/Maven__log4j_log4j_1_2_12.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+ <library name="Maven: log4j:log4j:1.2.12">
+ <CLASSES>
+ <root url="jar://$MAVEN_REPOSITORY$/log4j/log4j/1.2.12/log4j-1.2.12.jar!/" />
+ </CLASSES>
+ <JAVADOC>
+ <root url="jar://$MAVEN_REPOSITORY$/log4j/log4j/1.2.12/log4j-1.2.12-javadoc.jar!/" />
+ </JAVADOC>
+ <SOURCES>
+ <root url="jar://$MAVEN_REPOSITORY$/log4j/log4j/1.2.12/log4j-1.2.12-sources.jar!/" />
+ </SOURCES>
+ </library>
+</component>
View
13 .idea/libraries/Maven__logkit_logkit_1_0_1.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+ <library name="Maven: logkit:logkit:1.0.1">
+ <CLASSES>
+ <root url="jar://$MAVEN_REPOSITORY$/logkit/logkit/1.0.1/logkit-1.0.1.jar!/" />
+ </CLASSES>
+ <JAVADOC>
+ <root url="jar://$MAVEN_REPOSITORY$/logkit/logkit/1.0.1/logkit-1.0.1-javadoc.jar!/" />
+ </JAVADOC>
+ <SOURCES>
+ <root url="jar://$MAVEN_REPOSITORY$/logkit/logkit/1.0.1/logkit-1.0.1-sources.jar!/" />
+ </SOURCES>
+ </library>
+</component>
View
13 .idea/libraries/Maven__org_antlr_antlr_3_2.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+ <library name="Maven: org.antlr:antlr:3.2">
+ <CLASSES>
+ <root url="jar://$MAVEN_REPOSITORY$/org/antlr/antlr/3.2/antlr-3.2.jar!/" />
+ </CLASSES>
+ <JAVADOC>
+ <root url="jar://$MAVEN_REPOSITORY$/org/antlr/antlr/3.2/antlr-3.2-javadoc.jar!/" />
+ </JAVADOC>
+ <SOURCES>
+ <root url="jar://$MAVEN_REPOSITORY$/org/antlr/antlr/3.2/antlr-3.2-sources.jar!/" />
+ </SOURCES>
+ </library>
+</component>
View
13 .idea/libraries/Maven__org_antlr_antlr_runtime_3_2.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+ <library name="Maven: org.antlr:antlr-runtime:3.2">
+ <CLASSES>
+ <root url="jar://$MAVEN_REPOSITORY$/org/antlr/antlr-runtime/3.2/antlr-runtime-3.2.jar!/" />
+ </CLASSES>
+ <JAVADOC>
+ <root url="jar://$MAVEN_REPOSITORY$/org/antlr/antlr-runtime/3.2/antlr-runtime-3.2-javadoc.jar!/" />
+ </JAVADOC>
+ <SOURCES>
+ <root url="jar://$MAVEN_REPOSITORY$/org/antlr/antlr-runtime/3.2/antlr-runtime-3.2-sources.jar!/" />
+ </SOURCES>
+ </library>
+</component>
View
13 .idea/libraries/Maven__org_antlr_gunit_3_1_3.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+ <library name="Maven: org.antlr:gunit:3.1.3">
+ <CLASSES>
+ <root url="jar://$MAVEN_REPOSITORY$/org/antlr/gunit/3.1.3/gunit-3.1.3.jar!/" />
+ </CLASSES>
+ <JAVADOC>
+ <root url="jar://$MAVEN_REPOSITORY$/org/antlr/gunit/3.1.3/gunit-3.1.3-javadoc.jar!/" />
+ </JAVADOC>
+ <SOURCES>
+ <root url="jar://$MAVEN_REPOSITORY$/org/antlr/gunit/3.1.3/gunit-3.1.3-sources.jar!/" />
+ </SOURCES>
+ </library>
+</component>
View
13 .idea/libraries/Maven__org_antlr_stringtemplate_3_2.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+ <library name="Maven: org.antlr:stringtemplate:3.2">
+ <CLASSES>
+ <root url="jar://$MAVEN_REPOSITORY$/org/antlr/stringtemplate/3.2/stringtemplate-3.2.jar!/" />
+ </CLASSES>
+ <JAVADOC>
+ <root url="jar://$MAVEN_REPOSITORY$/org/antlr/stringtemplate/3.2/stringtemplate-3.2-javadoc.jar!/" />
+ </JAVADOC>
+ <SOURCES>
+ <root url="jar://$MAVEN_REPOSITORY$/org/antlr/stringtemplate/3.2/stringtemplate-3.2-sources.jar!/" />
+ </SOURCES>
+ </library>
+</component>
View
13 .idea/libraries/Maven__org_codehaus_jsr166_mirror_extra166y_1_7_0.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+ <library name="Maven: org.codehaus.jsr166-mirror:extra166y:1.7.0">
+ <CLASSES>
+ <root url="jar://$MAVEN_REPOSITORY$/org/codehaus/jsr166-mirror/extra166y/1.7.0/extra166y-1.7.0.jar!/" />
+ </CLASSES>
+ <JAVADOC>
+ <root url="jar://$MAVEN_REPOSITORY$/org/codehaus/jsr166-mirror/extra166y/1.7.0/extra166y-1.7.0-javadoc.jar!/" />
+ </JAVADOC>
+ <SOURCES>
+ <root url="jar://$MAVEN_REPOSITORY$/org/codehaus/jsr166-mirror/extra166y/1.7.0/extra166y-1.7.0-sources.jar!/" />
+ </SOURCES>
+ </library>
+</component>
View
13 .idea/libraries/Maven__org_codehaus_jsr166_mirror_jsr166y_1_7_0.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+ <library name="Maven: org.codehaus.jsr166-mirror:jsr166y:1.7.0">
+ <CLASSES>
+ <root url="jar://$MAVEN_REPOSITORY$/org/codehaus/jsr166-mirror/jsr166y/1.7.0/jsr166y-1.7.0.jar!/" />
+ </CLASSES>
+ <JAVADOC>
+ <root url="jar://$MAVEN_REPOSITORY$/org/codehaus/jsr166-mirror/jsr166y/1.7.0/jsr166y-1.7.0-javadoc.jar!/" />
+ </JAVADOC>
+ <SOURCES>
+ <root url="jar://$MAVEN_REPOSITORY$/org/codehaus/jsr166-mirror/jsr166y/1.7.0/jsr166y-1.7.0-sources.jar!/" />
+ </SOURCES>
+ </library>
+</component>
View
2 CONTRIBUTORS
@@ -0,0 +1,2 @@
+Sean Dawson
+John Wang
View
202 LICENSE
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright 2010 LinkedIn
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
View
6 README.md
@@ -0,0 +1,6 @@
+# Bowser is a query language #
+
+It is designed to support the following
+
+* TBD
+
View
39 bowser-core/bowser-core.iml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
+ <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="false">
+ <output url="file://$MODULE_DIR$/target/classes" />
+ <output-test url="file://$MODULE_DIR$/target/test-classes" />
+ <content url="file://$MODULE_DIR$">
+ <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test/resources" isTestSource="true" />
+ <sourceFolder url="file://$MODULE_DIR$/target/generated-sources/test-annotations" isTestSource="true" />
+ <sourceFolder url="file://$MODULE_DIR$/target/generated-sources/annotations" isTestSource="false" />
+ <excludeFolder url="file://$MODULE_DIR$/target/apidocs" />
+ <excludeFolder url="file://$MODULE_DIR$/target/classes" />
+ <excludeFolder url="file://$MODULE_DIR$/target/javadoc-bundle-options" />
+ <excludeFolder url="file://$MODULE_DIR$/target/maven-archiver" />
+ <excludeFolder url="file://$MODULE_DIR$/target/surefire" />
+ <excludeFolder url="file://$MODULE_DIR$/target/surefire-reports" />
+ <excludeFolder url="file://$MODULE_DIR$/target/test-classes" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="library" name="Maven: com.google.collections:google-collections:1.0" level="project" />
+ <orderEntry type="library" name="Maven: commons-lang:commons-lang:2.4" level="project" />
+ <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1" level="project" />
+ <orderEntry type="library" name="Maven: log4j:log4j:1.2.12" level="project" />
+ <orderEntry type="library" name="Maven: logkit:logkit:1.0.1" level="project" />
+ <orderEntry type="library" name="Maven: avalon-framework:avalon-framework:4.1.3" level="project" />
+ <orderEntry type="library" name="Maven: javax.servlet:servlet-api:2.3" level="project" />
+ <orderEntry type="library" name="Maven: org.antlr:antlr:3.2" level="project" />
+ <orderEntry type="library" name="Maven: org.antlr:antlr-runtime:3.2" level="project" />
+ <orderEntry type="library" name="Maven: org.antlr:stringtemplate:3.2" level="project" />
+ <orderEntry type="library" name="Maven: antlr:antlr:2.7.7" level="project" />
+ <orderEntry type="library" scope="TEST" name="Maven: org.antlr:gunit:3.1.3" level="project" />
+ <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.8.2" level="project" />
+ <orderEntry type="library" name="Maven: org.codehaus.jsr166-mirror:jsr166y:1.7.0" level="project" />
+ <orderEntry type="library" name="Maven: org.codehaus.jsr166-mirror:extra166y:1.7.0" level="project" />
+ </component>
+</module>
+
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/Interpreter.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core;
import java.util.HashMap;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/InterpreterBuilder.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
*
*/
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/InterpreterRule.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core;
public enum InterpreterRule
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/eval/EvalHandler.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.eval;
import java.util.EnumSet;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/eval/EvalVisitor.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.eval;
import java.util.ArrayList;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/eval/EvalVisitorErrorProxy.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.eval;
import java.lang.reflect.InvocationHandler;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/eval/ListComprehensionProcessor.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.eval;
import java.util.Collections;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/eval/ListComprehensionSorter.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
*
*/
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/eval/PartialEvalVisitor.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.eval;
import java.util.ArrayList;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/AttributeError.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.exceptions;
import com.linkedin.bowser.core.objects.NQLObject;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/EvalError.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.exceptions;
/**
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/IndexError.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.exceptions;
import com.linkedin.bowser.core.objects.NQLObject;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/KeyError.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.exceptions;
import com.linkedin.bowser.core.objects.NQLObject;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/NameError.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.exceptions;
public class NameError extends EvalError
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/QueryFormatException.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.exceptions;
public class QueryFormatException extends Exception
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/QueryRuntimeException.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.exceptions;
import org.apache.commons.lang.ObjectUtils;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/SubscriptError.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.exceptions;
import com.linkedin.bowser.core.objects.NQLObject;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/TypeError.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.exceptions;
import com.linkedin.bowser.core.objects.NQLObject;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/exceptions/ZeroDivisionError.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.exceptions;
public class ZeroDivisionError extends EvalError
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/ArithmeticExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import org.antlr.runtime.tree.CommonTree;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/AttrExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
*
*/
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/BinaryExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import org.antlr.runtime.tree.CommonTree;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/CallableExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import java.util.List;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/ConditionalExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import org.antlr.runtime.tree.CommonTree;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/Expn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import org.antlr.runtime.tree.CommonTree;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/ExpnVisitor.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
public interface ExpnVisitor<T>
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/Expressions.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import java.util.Collections;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/InExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import org.antlr.runtime.tree.CommonTree;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/ListComprehensionExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import java.util.List;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/ListExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import java.util.List;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/LiteralExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import org.antlr.runtime.tree.CommonTree;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/LogicalExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import org.antlr.runtime.tree.CommonTree;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/MapExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import java.util.Map;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/Operator.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
public enum Operator
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/RelationalExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import org.antlr.runtime.tree.CommonTree;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/SetExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import java.util.Set;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/SliceExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import org.antlr.runtime.tree.CommonTree;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/SubscriptExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import org.antlr.runtime.tree.CommonTree;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/SymbolExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import org.antlr.runtime.tree.CommonTree;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/TupleExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import org.antlr.runtime.tree.CommonTree;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/Type.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
public enum Type
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/UnaryExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import org.antlr.runtime.tree.CommonTree;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/UnaryMinusExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import org.antlr.runtime.tree.CommonTree;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/expn/UnaryNotExpn.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.expn;
import org.antlr.runtime.tree.CommonTree;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/functions/AbstractNQLFunction.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
*
*/
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Bool.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.functions;
import java.util.List;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Dir.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
*
*/
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Float.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.functions;
import java.util.List;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Int.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.functions;
import java.util.List;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Length.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
*
*/
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/functions/List.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
*
*/
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Long.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.functions;
import java.util.List;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Max.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
*
*/
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Min.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
*
*/
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/functions/NQLFunction.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.functions;
import java.util.List;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Range.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
*
*/
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Shuffle.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
*
*/
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Str.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.functions;
import java.util.List;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Sum.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
*
*/
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/functions/Tuple.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
*
*/
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/grammar/AbstractNQLQueryBuilder.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.linkedin.bowser.core.grammar;
import java.util.HashMap;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/grammar/gen/NQLLexer.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
// $ANTLR 3.2 Sep 23, 2009 12:02:23 java/com/linkedin/nql/core/grammar/NQL.g 2010-10-26 14:31:13
package com.linkedin.bowser.core.grammar.gen;
View
16 bowser-core/src/main/java/com/linkedin/bowser/core/grammar/gen/NQLParser.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010-2011 LinkedIn Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS