Class: ParadeDB::Index::DefinitionCompiler::Compiled

Inherits:
Object
  • Object
show all
Defined in:
lib/parade_db/index.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(table_name:, key_field:, index_name:, entries:, index_options:, field_options:, where:) ⇒ Compiled

Returns a new instance of Compiled.



175
176
177
178
179
180
181
182
183
# File 'lib/parade_db/index.rb', line 175

def initialize(table_name:, key_field:, index_name:, entries:, index_options:, field_options:, where:)
  @table_name = table_name
  @key_field = key_field
  @index_name = index_name
  @entries = entries
  @index_options = index_options
  @field_options = field_options
  @where = where
end

Instance Attribute Details

#entriesObject (readonly)

Returns the value of attribute entries.



173
174
175
# File 'lib/parade_db/index.rb', line 173

def entries
  @entries
end

#field_optionsObject (readonly)

Returns the value of attribute field_options.



173
174
175
# File 'lib/parade_db/index.rb', line 173

def field_options
  @field_options
end

#index_nameObject (readonly)

Returns the value of attribute index_name.



173
174
175
# File 'lib/parade_db/index.rb', line 173

def index_name
  @index_name
end

#index_optionsObject (readonly)

Returns the value of attribute index_options.



173
174
175
# File 'lib/parade_db/index.rb', line 173

def index_options
  @index_options
end

#key_fieldObject (readonly)

Returns the value of attribute key_field.



173
174
175
# File 'lib/parade_db/index.rb', line 173

def key_field
  @key_field
end

#table_nameObject (readonly)

Returns the value of attribute table_name.



173
174
175
# File 'lib/parade_db/index.rb', line 173

def table_name
  @table_name
end

#whereObject (readonly)

Returns the value of attribute where.



173
174
175
# File 'lib/parade_db/index.rb', line 173

def where
  @where
end