This repository has been archived by the owner on Nov 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1ccc145
commit d8b59d1
Showing
85 changed files
with
1,092 additions
and
638 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
entitydb-eql/eql-language/src/main/java/ai/philterd/entitydb/eql/antlr/Eql.interp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
token literal names: | ||
null | ||
';' | ||
'select * from entities' | ||
'select * from entities where' | ||
'and' | ||
'=' | ||
'>' | ||
'<' | ||
'>=' | ||
'<=' | ||
'between' | ||
'!=' | ||
'order by' | ||
'metadata' | ||
'confidence' | ||
null | ||
null | ||
null | ||
null | ||
null | ||
null | ||
|
||
token symbolic names: | ||
null | ||
null | ||
null | ||
null | ||
null | ||
null | ||
null | ||
null | ||
null | ||
null | ||
null | ||
null | ||
null | ||
METADATA_FIELD | ||
NUMERIC_FIELD | ||
OPTION_FIELD | ||
STRING_FIELD | ||
SORT_ORDER_FIELD | ||
INTEGERS | ||
STRING | ||
WS | ||
|
||
rule names: | ||
command | ||
select | ||
condition | ||
option | ||
sort | ||
|
||
|
||
atn: | ||
[4, 1, 20, 116, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 1, 0, 1, 0, 3, 0, 13, 8, 0, 1, 0, 3, 0, 16, 8, 0, 1, 1, 1, 1, 1, 1, 5, 1, 21, 8, 1, 10, 1, 12, 1, 24, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 31, 8, 1, 10, 1, 12, 1, 34, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2, 0, 27, 28, 5, 20, 0, 0, 28, 29, 5, 4, 0, 0, 29, 31, 3, 4, 2, 0, 30, 27, 1, 0, 0, 0, 31, 34, 1, 0, 0, 0, 32, 30, 1, 0, 0, 0, 32, 33, 1, 0, 0, 0, 33, 52, 1, 0, 0, 0, 34, 32, 1, 0, 0, 0, 35, 36, 5, 3, 0, 0, 36, 42, 3, 4, 2, 0, 37, 38, 5, 20, 0, 0, 38, 39, 5, 4, 0, 0, 39, 41, 3, 4, 2, 0, 40, 37, 1, 0, 0, 0, 41, 44, 1, 0, 0, 0, 42, 40, 1, 0, 0, 0, 42, 43, 1, 0, 0, 0, 43, 48, 1, 0, 0, 0, 44, 42, 1, 0, 0, 0, 45, 47, 3, 6, 3, 0, 46, 45, 1, 0, 0, 0, 47, 50, 1, 0, 0, 0, 48, 46, 1, 0, 0, 0, 48, 49, 1, 0, 0, 0, 49, 52, 1, 0, 0, 0, 50, 48, 1, 0, 0, 0, 51, 17, 1, 0, 0, 0, 51, 18, 1, 0, 0, 0, 51, 25, 1, 0, 0, 0, 51, 35, 1, 0, 0, 0, 52, 3, 1, 0, 0, 0, 53, 54, 5, 20, 0, 0, 54, 56, 5, 14, 0, 0, 55, 57, 5, 20, 0, 0, 56, 55, 1, 0, 0, 0, 56, 57, 1, 0, 0, 0, 57, 58, 1, 0, 0, 0, 58, 60, 7, 0, 0, 0, 59, 61, 5, 20, 0, 0, 60, 59, 1, 0, 0, 0, 60, 61, 1, 0, 0, 0, 61, 62, 1, 0, 0, 0, 62, 96, 5, 18, 0, 0, 63, 64, 5, 20, 0, 0, 64, 65, 5, 14, 0, 0, 65, 66, 5, 20, 0, 0, 66, 67, 5, 10, 0, 0, 67, 68, 5, 20, 0, 0, 68, 69, 5, 18, 0, 0, 69, 70, 5, 20, 0, 0, 70, 71, 5, 4, 0, 0, 71, 72, 5, 20, 0, 0, 72, 96, 5, 18, 0, 0, 73, 74, 5, 20, 0, 0, 74, 76, 5, 16, 0, 0, 75, 77, 5, 20, 0, 0, 76, 75, 1, 0, 0, 0, 76, 77, 1, 0, 0, 0, 77, 78, 1, 0, 0, 0, 78, 80, 7, 1, 0, 0, 79, 81, 5, 20, 0, 0, 80, 79, 1, 0, 0, 0, 80, 81, 1, 0, 0, 0, 81, 82, 1, 0, 0, 0, 82, 96, 5, 19, 0, 0, 83, 84, 5, 20, 0, 0, 84, 85, 5, 13, 0, 0, 85, 86, 5, 20, 0, 0, 86, 88, 5, 19, 0, 0, 87, 89, 5, 20, 0, 0, 88, 87, 1, 0, 0, 0, 88, 89, 1, 0, 0, 0, 89, 90, 1, 0, 0, 0, 90, 92, 5, 5, 0, 0, 91, 93, 5, 20, 0, 0, 92, 91, 1, 0, 0, 0, 92, 93, 1, 0, 0, 0, 93, 94, 1, 0, 0, 0, 94, 96, 5, 19, 0, 0, 95, 53, 1, 0, 0, 0, 95, 63, 1, 0, 0, 0, 95, 73, 1, 0, 0, 0, 95, 83, 1, 0, 0, 0, 96, 5, 1, 0, 0, 0, 97, 98, 5, 20, 0, 0, 98, 99, 5, 15, 0, 0, 99, 100, 5, 20, 0, 0, 100, 106, 5, 18, 0, 0, 101, 102, 5, 20, 0, 0, 102, 103, 5, 15, 0, 0, 103, 104, 5, 20, 0, 0, 104, 106, 5, 18, 0, 0, 105, 97, 1, 0, 0, 0, 105, 101, 1, 0, 0, 0, 106, 7, 1, 0, 0, 0, 107, 108, 5, 20, 0, 0, 108, 109, 5, 12, 0, 0, 109, 110, 5, 20, 0, 0, 110, 113, 7, 2, 0, 0, 111, 112, 5, 20, 0, 0, 112, 114, 5, 17, 0, 0, 113, 111, 1, 0, 0, 0, 113, 114, 1, 0, 0, 0, 114, 9, 1, 0, 0, 0, 16, 12, 15, 22, 32, 42, 48, 51, 56, 60, 76, 80, 88, 92, 95, 105, 113] |
54 changes: 27 additions & 27 deletions
54
entitydb-eql/eql-language/src/main/java/ai/philterd/entitydb/eql/antlr/Eql.tokens
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
T__9=3 | ||
T__8=4 | ||
T__7=5 | ||
T__6=6 | ||
T__5=7 | ||
T__4=8 | ||
SORT_ORDER_FIELD=17 | ||
STRING_FIELD=16 | ||
T__0=1 | ||
T__1=2 | ||
T__2=3 | ||
T__3=4 | ||
T__4=5 | ||
T__5=6 | ||
T__6=7 | ||
T__7=8 | ||
T__8=9 | ||
T__9=10 | ||
T__10=11 | ||
T__11=12 | ||
METADATA_FIELD=13 | ||
NUMERIC_FIELD=14 | ||
OPTION_FIELD=15 | ||
STRING_FIELD=16 | ||
SORT_ORDER_FIELD=17 | ||
INTEGERS=18 | ||
T__11=1 | ||
T__3=9 | ||
T__2=10 | ||
STRING=19 | ||
T__1=11 | ||
T__0=12 | ||
WS=20 | ||
T__10=2 | ||
METADATA_FIELD=13 | ||
';'=1 | ||
'select * from entities'=2 | ||
'select * from entities where'=3 | ||
'and'=4 | ||
'='=5 | ||
'>'=6 | ||
'<'=7 | ||
'>='=8 | ||
'<='=9 | ||
'between'=10 | ||
'!='=11 | ||
'order by'=12 | ||
'metadata'=13 | ||
'and'=6 | ||
'between'=5 | ||
'<='=1 | ||
'>'=11 | ||
'select * from entities where'=12 | ||
'='=10 | ||
'<'=9 | ||
'>='=7 | ||
';'=8 | ||
'order by'=3 | ||
'!='=4 | ||
'confidence'=14 | ||
'select * from entities'=2 |
Oops, something went wrong.