Class: Groonga::ExpressionBuildable::ExpressionBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/groonga/expression-builder.rb

Instance Method Summary collapse

Constructor Details

#initializeExpressionBuilder

Returns a new instance of ExpressionBuilder.



97
98
99
# File 'lib/groonga/expression-builder.rb', line 97

def initialize
  super()
end

Instance Method Details

#&(other) ⇒ Object



101
102
103
# File 'lib/groonga/expression-builder.rb', line 101

def &(other)
  AndExpressionBuilder.new(self, other)
end

#-(other) ⇒ Object



109
110
111
# File 'lib/groonga/expression-builder.rb', line 109

def -(other)
  AndNotExpressionBuilder.new(self, other)
end

#|(other) ⇒ Object



105
106
107
# File 'lib/groonga/expression-builder.rb', line 105

def |(other)
  OrExpressionBuilder.new(self, other)
end