class Axiom::Adapter::Arango::Visitor::For::Binary::Right

Visitor for right of join

Public Instance Methods

local_name() click to toggle source

Return local name

@return [AQL::Node::Name]

@api private

# File lib/axiom/adapter/arango/visitor/for/binary.rb, line 42
def local_name
  AQL.name_node(:right)
end

Private Instance Methods

context_input() click to toggle source

Return context input

@return [Axiom::Relation]

@api private

# File lib/axiom/adapter/arango/visitor/for/binary.rb, line 98
def context_input
  context.input
end
left_header() click to toggle source

Return left header

@return [Relation::Header]

@api private

# File lib/axiom/adapter/arango/visitor/for/binary.rb, line 85
def left_header
  context_input.left.header
end
return_value() click to toggle source

Return return value

@return [AQL::Node::Literal::Compised::Document]

@api private

# File lib/axiom/adapter/arango/visitor/for/binary.rb, line 65
def return_value
  AQL::Node::Literal::Composed::Document.new(left_document_attributes + right_document_attributes)
end
right_header() click to toggle source

Return right header

@return [Relation::Header]

@api private

# File lib/axiom/adapter/arango/visitor/for/binary.rb, line 75
def right_header
  input.header
end
source() click to toggle source

Return source of iteration

@return [AQL::Node]

@api private

# File lib/axiom/adapter/arango/visitor/for/binary.rb, line 55
def source
  visit(input)
end