Debian Codegraph @

storage/mroonga/vendor/groonga/lib/mrb/scripts/expression_tree/variable.rb

raw
1 module Groonga
2 module ExpressionTree
3 class Variable
4 attr_reader :column
5 def initialize(column)
6 @column = column
7 end
8
9 def build(expression)
10 expression.append_object(@column, Operator::GET_VALUE, 1)
11 end
12
13 def estimate_size(table)
14 table.size
15 end
16 end
17 end
18 end