Class: Gandiva::ExpressionBuilder::Value
- Inherits:
-
Object
- Object
- Gandiva::ExpressionBuilder::Value
- Defined in:
- lib/gandiva/expression-builder/value.rb
Direct Known Subclasses
Instance Method Summary collapse
- #*(right) ⇒ Object
- #+(right) ⇒ Object
- #-(right) ⇒ Object
- #/(right) ⇒ Object
- #<(right) ⇒ Object
- #==(right) ⇒ Object
- #>(right) ⇒ Object
Instance Method Details
#*(right) ⇒ Object
29 30 31 |
# File 'lib/gandiva/expression-builder/value.rb', line 29 def *(right) Multiply.new(self, resolve(right)) end |
#+(right) ⇒ Object
21 22 23 |
# File 'lib/gandiva/expression-builder/value.rb', line 21 def +(right) Add.new(self, resolve(right)) end |
#-(right) ⇒ Object
25 26 27 |
# File 'lib/gandiva/expression-builder/value.rb', line 25 def -(right) Subtract.new(self, resolve(right)) end |
#/(right) ⇒ Object
33 34 35 |
# File 'lib/gandiva/expression-builder/value.rb', line 33 def /(right) Divide.new(self, resolve(right)) end |
#<(right) ⇒ Object
41 42 43 |
# File 'lib/gandiva/expression-builder/value.rb', line 41 def <(right) LessThan.new(self, resolve(right)) end |
#==(right) ⇒ Object
45 46 47 |
# File 'lib/gandiva/expression-builder/value.rb', line 45 def ==(right) Equal.new(self, resolve(right)) end |
#>(right) ⇒ Object
37 38 39 |
# File 'lib/gandiva/expression-builder/value.rb', line 37 def >(right) GreaterThan.new(self, resolve(right)) end |