☰
Debian Codegraph
@
1:11.8.9+ds-4
1:11.8.9+ds-3
1:11.8.9+ds-2
1:11.8.9+ds-1
1:11.8.8-1
/
/
storage
/
mroonga
/
vendor
/
groonga
/
lib
/
mrb
/
scripts
/
expression_tree
/
variable.rb
☽
☼
storage/mroonga/vendor/groonga/lib/mrb/scripts/expression_tree/variable.rb
code
plain
raw
LGPL-2.1+
2011-2015 Kouhei Sutou <
[email protected]
>; 2011-2013 Kentoku SHIBA; 2010 Tetsuro IKEDA; 2014 Kenji Maruyama <
[email protected]
>; 2014-2015 Naoya Murakami <
[email protected]
>
debian/copyright
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