Class: SPARQL::Algebra::Operator::Desc

Inherits:
Asc show all
Defined in:
lib/sparql/algebra/operator/desc.rb

Overview

The SPARQL descending sort operator.

Examples:

(prefix ((foaf: <http://xmlns.com/foaf/0.1/>))
  (project (?name)
    (order ((desc ?name))
      (bgp (triple ?x foaf:name ?name)))))

See Also:

Constant Summary

NAME =
:desc

Constants inherited from Unary

Unary::ARITY

Constants inherited from SPARQL::Algebra::Operator

ARITY

Instance Attribute Summary

Attributes inherited from SPARQL::Algebra::Operator

#operands, #options

Method Summary

Methods inherited from Asc

#evaluate

Methods included from Evaluatable

#apply, #evaluate, #memoize

Methods inherited from Unary

#initialize

Methods inherited from SPARQL::Algebra::Operator

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

Methods included from Expression

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

Constructor Details

This class inherits a constructor from SPARQL::Algebra::Operator::Unary