Class: SPARQL::Algebra::Operator::Unary Abstract

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

Overview

This class is abstract.

A SPARQL unary operator.

Operators of this kind take one operand.

Constant Summary collapse

ARITY =
1

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(arg, **options) ⇒ Unary

Returns a new instance of Unary.

Parameters:



919
920
921
# File 'lib/sparql/algebra/operator.rb', line 919

def initialize(arg, **options)
  super
end