Class: Archsight::Query::AST::SubqueryTarget
- Inherits:
-
Object
- Object
- Archsight::Query::AST::SubqueryTarget
- Defined in:
- lib/archsight/query/ast.rb
Overview
Relation target: sub-query result Used with -> $(expr) to match against query results
Instance Attribute Summary collapse
-
#query ⇒ Object
readonly
Returns the value of attribute query.
Instance Method Summary collapse
-
#initialize(query) ⇒ SubqueryTarget
constructor
A new instance of SubqueryTarget.
Constructor Details
#initialize(query) ⇒ SubqueryTarget
Returns a new instance of SubqueryTarget.
244 245 246 |
# File 'lib/archsight/query/ast.rb', line 244 def initialize(query) @query = query # QueryNode - the inner sub-query to evaluate end |
Instance Attribute Details
#query ⇒ Object (readonly)
Returns the value of attribute query.
242 243 244 |
# File 'lib/archsight/query/ast.rb', line 242 def query @query end |