Class: Axiom::Adapter::Arango::Visitor::Aggregate

Inherits:
Axiom::Adapter::Arango::Visitor show all
Defined in:
lib/axiom/adapter/arango/visitor/aggregate.rb

Overview

Base class for aggregate visitors

Direct Known Subclasses

Count, Maximum, Minimum, Sum

Defined Under Namespace

Classes: Count, Maximum, Minimum, Sum

Constant Summary collapse

LOCAL_NAME =
AQL.name_node('aggregate')

Constants inherited from Axiom::Adapter::Arango::Visitor

REGISTRY

Instance Method Summary collapse

Methods inherited from Axiom::Adapter::Arango::Visitor

build, run

Instance Method Details

#rootAQL::Node

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Return root AQL node

Returns:

  • (AQL::Node)


16
17
18
# File 'lib/axiom/adapter/arango/visitor/aggregate.rb', line 16

def root
  Node::Call.new(self.class::FUNCTION, [mapped])
end