Skip to content

Commit

Permalink
Update comments for "semantic.FilterClause" and "filter.StorageOptions"
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerlucena committed Oct 5, 2020
1 parent e3081c3 commit 58f6a07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions bql/planner/filter/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ var SupportedOperations = map[string]Operation{
}

// StorageOptions represent the storage level specifications for the filtering to be executed.
// Operation below refers to the filter function being applied (eg: "latest"), Field refers to the position of the graph clause it
// will be applied to ("subject", "predicate" or "object") and Value, when specified, contains the second argument of the filter
// function (not applicable for all Operations - some like "latest" do not use it while others like "greaterThan" do, see Issue 129).
// Operation below refers to the filter function being applied (eg: Latest), Field refers to the position of the graph clause it
// will be applied to (subject, predicate or object) and Value, when specified, contains the second argument of the filter
// function (not applicable for all Operations - some like Latest do not use it while others like GreaterThan do, see Issue 129).
type StorageOptions struct {
Operation Operation
Field Field
Expand Down
4 changes: 2 additions & 2 deletions bql/semantic/semantic.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ type GraphClause struct {
}

// FilterClause represents a FILTER clause inside WHERE.
// Operation below refers to the filter function being applied (eg: "latest"), Binding refers to the binding it
// Operation below refers to the filter function being applied (eg: Latest), Binding refers to the binding it
// will be applied to and Value, when specified, contains the second argument of the filter function (not applicable for all
// Operations - some like "latest" do not use it while others like "greaterThan" do, see Issue 129).
// Operations - some like Latest do not use it while others like GreaterThan do, see Issue 129).
type FilterClause struct {
Operation filter.Operation
Binding string
Expand Down

0 comments on commit 58f6a07

Please sign in to comment.