Class: ParadeDB::Index::DefinitionCompiler::Compiled
- Inherits:
-
Object
- Object
- ParadeDB::Index::DefinitionCompiler::Compiled
- Defined in:
- lib/parade_db/index.rb
Instance Attribute Summary collapse
-
#entries ⇒ Object
readonly
Returns the value of attribute entries.
-
#field_options ⇒ Object
readonly
Returns the value of attribute field_options.
-
#index_name ⇒ Object
readonly
Returns the value of attribute index_name.
-
#index_options ⇒ Object
readonly
Returns the value of attribute index_options.
-
#key_field ⇒ Object
readonly
Returns the value of attribute key_field.
-
#table_name ⇒ Object
readonly
Returns the value of attribute table_name.
-
#where ⇒ Object
readonly
Returns the value of attribute where.
Instance Method Summary collapse
-
#initialize(table_name:, key_field:, index_name:, entries:, index_options:, field_options:, where:) ⇒ Compiled
constructor
A new instance of Compiled.
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 = @field_options = @where = where end |
Instance Attribute Details
#entries ⇒ Object (readonly)
Returns the value of attribute entries.
173 174 175 |
# File 'lib/parade_db/index.rb', line 173 def entries @entries end |
#field_options ⇒ Object (readonly)
Returns the value of attribute field_options.
173 174 175 |
# File 'lib/parade_db/index.rb', line 173 def @field_options end |
#index_name ⇒ Object (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_options ⇒ Object (readonly)
Returns the value of attribute index_options.
173 174 175 |
# File 'lib/parade_db/index.rb', line 173 def @index_options end |
#key_field ⇒ Object (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_name ⇒ Object (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 |
#where ⇒ Object (readonly)
Returns the value of attribute where.
173 174 175 |
# File 'lib/parade_db/index.rb', line 173 def where @where end |