Class: SPARQL::Algebra::Operator::Unary Abstract
- Inherits:
-
SPARQL::Algebra::Operator
- Object
- SPARQL::Algebra::Operator
- SPARQL::Algebra::Operator::Unary
- Defined in:
- lib/sparql/algebra/operator.rb
Overview
A SPARQL unary operator.
Operators of this kind take one operand.
Direct Known Subclasses
Abs, Asc, Ask, BNode, Bound, Ceil, Datatype, Day, Delete, DeleteData, DeleteWhere, Distinct, EncodeForURI, Exists, Floor, Hours, IRI, Insert, InsertData, IsBlank, IsIRI, IsLiteral, IsNumeric, IsTriple, LCase, Lang, MD5, Minutes, Month, Negate, Not, NotExists, Object, PathOpt, PathPlus, PathStar, PathZero, Predicate, Reduced, Reverse, Round, SHA1, SHA256, SHA384, SHA512, Seconds, Str, StrLen, Subject, TZ, Timezone, UCase, Year
Constant Summary collapse
- ARITY =
1
Constants inherited from SPARQL::Algebra::Operator
Constants included from Expression
Instance Attribute Summary
Attributes inherited from SPARQL::Algebra::Operator
Instance Method Summary collapse
-
#initialize(arg, **options) ⇒ Unary
constructor
A new instance of Unary.
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, #mergable?, #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.
927 928 929 |
# File 'lib/sparql/algebra/operator.rb', line 927 def initialize(arg, **) super end |