forked from TrueCloudLab/frostfs-sdk-go
[#3] policy: update doc.go
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
f5413e94b5
commit
4a0ed2f6ea
1 changed files with 9 additions and 7 deletions
|
@ -4,14 +4,16 @@
|
||||||
// Current limitations:
|
// Current limitations:
|
||||||
// 1. Filters must be defined before they are used.
|
// 1. Filters must be defined before they are used.
|
||||||
// This requirement may be relaxed in future.
|
// This requirement may be relaxed in future.
|
||||||
|
// 2. Keywords are key-sensitive. This can be changed if necessary
|
||||||
|
// https://github.com/antlr/antlr4/blob/master/doc/case-insensitive-lexing.md .
|
||||||
//
|
//
|
||||||
// Example query:
|
// Example query:
|
||||||
// REP 1 in SPB
|
// REP 1 IN SPB
|
||||||
// REP 2 in Americas
|
// REP 2 IN Americas
|
||||||
// CBF 4
|
// CBF 4
|
||||||
// SELECT 1 Node IN City FROM SPBSSD AS SPB
|
// SELECT 1 IN City FROM SPBSSD AS SPB
|
||||||
// SELECT 2 Node IN SAME City FROM Americas AS Americas
|
// SELECT 2 IN SAME City FROM Americas AS Americas
|
||||||
// FILTER SSD EQ true AS IsSSD
|
// FILTER SSD EQ true AS IsSSD
|
||||||
// FILTER @IsSSD AND Country eq "RU" AND City eq "St.Petersburg" AS SPBSSD
|
// FILTER @IsSSD AND Country EQ "RU" AND City EQ "St.Petersburg" AS SPBSSD
|
||||||
// FILTER 'Continent' == 'North America' OR Continent == 'South America' AS Americas
|
// FILTER 'Continent' EQ 'North America' OR Continent EQ 'South America' AS Americas
|
||||||
package policy
|
package policy
|
||||||
|
|
Loading…
Reference in a new issue