Debian Codegraph @

lib/mrb/scripts/expression_tree/variable.rb

raw symbols SCIP
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 estimatable?
14 true
15 end
16
17 def estimate_size(table)
18 table.size
19 end
20 end
21 end
22 end