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.

Direct Known Subclasses

Asc, Ask, Bound, Datatype, Distinct, IsBlank, IsIRI, IsLiteral, Lang, Minus, Not, Plus, Reduced, Str

Constant Summary collapse

ARITY =
1

Instance Attribute Summary

Attributes inherited from SPARQL::Algebra::Operator

#operands, #options

Instance Method Summary collapse

Methods inherited from SPARQL::Algebra::Operator

arity, base_uri, #base_uri, base_uri=, #boolean, #constant?, #eql?, #evaluatable?, evaluate, #executable?, for, #inspect, #operand, #optimize, prefixes, #prefixes, prefixes=, #to_sse, #to_sxp, #variable?

Methods included from Evaluatable

#apply, #evaluate, #memoize

Methods included from Expression

cast, #constant?, #evaluate, for, new, open, #optimize, parse, #to_sse, #variable?

Constructor Details

#initialize(arg, options = {}) ⇒ Unary

Returns a new instance of Unary

Parameters:


443
444
445
# File 'lib/sparql/algebra/operator.rb', line 443

def initialize(arg, options = {})
  super
end