Sha256: 38298a82b2208324a1e7af8ea5a092154010cbe9d75f9de6425ce99fc4ece252

Contents?: true

Size: 331 Bytes

Versions: 6

Compression:

Stored size: 331 Bytes

Contents

module Groonga
  module ExpressionTree
    class Reference
      attr_reader :column
      def initialize(column)
        @column = column
      end

      def build(expression)
        expression.append_object(@column, Operator::GET_REF, 1)
      end

      def estimate_size(table)
        table.size
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rroonga-9.0.7-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/expression_tree/reference.rb
rroonga-9.0.7-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/expression_tree/reference.rb
rroonga-9.0.3-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/expression_tree/reference.rb
rroonga-9.0.3-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/expression_tree/reference.rb
rroonga-9.0.2-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/expression_tree/reference.rb
rroonga-9.0.2-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/expression_tree/reference.rb