Sha256: 891bf59f5dfeababf5d66c58d014bdebd88e72b628e48d0a5b29d9dcbbcc709f

Contents?: true

Size: 1.07 KB

Versions: 31

Compression:

Stored size: 1.07 KB

Contents

module SPARQL; module Algebra
  class Operator
    ##
    # The SPARQL relational `>=` (greater than or equal) comparison
    # operator.
    #
    # @example
    #   (>= ?x ?y)
    #
    # @see http://www.w3.org/TR/rdf-sparql-query/#OperatorMapping
    # @see http://www.w3.org/TR/xpath-functions/#func-compare
    # @see http://www.w3.org/TR/xpath-functions/#func-numeric-greater-than
    # @see http://www.w3.org/TR/xpath-functions/#func-boolean-greater-than
    # @see http://www.w3.org/TR/xpath-functions/#func-dateTime-greater-than
    class GreaterThanOrEqual < Compare
      NAME = :>=

      ##
      # Returns `true` if the first operand is greater than or equal to the
      # second operand; returns `false` otherwise.
      #
      # @param  [RDF::Literal] left
      #   a literal
      # @param  [RDF::Literal] right
      #   a literal
      # @return [RDF::Literal::Boolean] `true` or `false`
      # @raise  [TypeError] if either operand is not a literal
      def apply(left, right)
        super
      end
    end # GreaterThanOrEqual
  end # Operator
end; end # SPARQL::Algebra

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
sparql-1.99.1 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.1.9.1 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.99.0 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.1.9 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.1.8 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.1.7 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.1.6 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.1.5 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.1.4 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.1.3 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.1.2.1 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.1.2 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.1.1 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.1.0 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.1.0p0 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.0.8 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.0.7 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.0.6 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.0.5 lib/sparql/algebra/operator/greater_than_or_equal.rb
sparql-1.0.4 lib/sparql/algebra/operator/greater_than_or_equal.rb