Class: SPARQL::Algebra::Operator::Binary Abstract

Inherits:
SPARQL::Algebra::Operator show all
Defined in:
lib/sparql/algebra/operator.rb

Overview

This class is abstract.

A SPARQL binary operator.

Operators of this kind take two operands.

Constant Summary collapse

ARITY =
2

Constants inherited from SPARQL::Algebra::Operator

IsURI, URI

Constants included from Expression

Expression::PATTERN_PARENTS

Instance Attribute Summary

Attributes inherited from SPARQL::Algebra::Operator

#operands

Instance Method Summary collapse

Methods inherited from SPARQL::Algebra::Operator

#aggregate?, arity, #base_uri, base_uri, base_uri=, #bind, #boolean, #constant?, #deep_dup, #each_descendant, #eql?, #evaluatable?, evaluate, #executable?, #first_ancestor, for, #inspect, #ndvars, #node?, #operand, #optimize, #optimize!, #parent, #parent=, #prefixes, prefixes, prefixes=, #rewrite, #to_binary, to_sparql, #to_sparql, #to_sxp, #to_sxp_bin, #validate!, #variable?, #variables, #vars

Methods included from Expression

cast, #constant?, #evaluate, extension, extension?, extensions, for, #invalid?, new, #node?, open, #optimize, #optimize!, parse, register_extension, #to_sxp_bin, #valid?, #validate!, #variable?

Constructor Details

#initialize(arg1, arg2, **options) ⇒ Binary

Returns a new instance of Binary.

Parameters:



940
941
942
# File 'lib/sparql/algebra/operator.rb', line 940

def initialize(arg1, arg2, **options)
  super
end