Class: SPARQL::Algebra::Operator::Nullary Abstract

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

Overview

This class is abstract.

A SPARQL nullary operator.

Operators of this kind take no operands.

Constant Summary

ARITY =
0

Instance Method Summary (collapse)

Methods inherited from SPARQL::Algebra::Operator

#boolean, #constant?, evaluate, #evaluate, #operand, #to_sse, #variable?

Constructor Details

- (Nullary) initialize(options = {})

A new instance of Nullary

Parameters:



153
154
155
156
# File 'lib/sparql/algebra/operator.rb', line 153

def initialize(options = {})
  @operands = []
  super(options)
end