Class: DbAgile::Core::Schema::Physical

Inherits:
Composite show all
Defined in:
lib/dbagile/core/schema/physical.rb,
lib/dbagile/core/schema/physical/index.rb,
lib/dbagile/core/schema/physical/indexes.rb

Defined Under Namespace

Classes: Index, Indexes

Instance Attribute Summary

Attributes inherited from SchemaObject

#parent, #status

Instance Method Summary collapse

Methods inherited from Composite

#[], #[]=, #dup, #each_part, #empty?, #initialize, #look_same_as?, #part_keys, #parts, #size, #to_s, #to_yaml, #visit, #yaml_display

Methods inherited from SchemaObject

#ancestors, #attribute?, #builder_args, #builder_handler, #candidate_key?, #composite?, #constraint?, #foreign_key?, #index?, #logical?, #outside_dependencies, #outside_dependents, #part?, #physical?, #primary_key?, #relation_variable, #relvar?, #relview?, #schema

Constructor Details

This class inherits a constructor from DbAgile::Core::Schema::Composite

Instance Method Details

#_default_partsObject

See Also:

  • Composite#_default_parts


7
8
9
# File 'lib/dbagile/core/schema/physical.rb', line 7

def _default_parts
  {:indexes => Physical::Indexes.new}
end

#_install_eigenclass_methods?Boolean

Returns:

  • (Boolean)

See Also:

  • Composite#_install_eigenclass_methods?


12
13
14
# File 'lib/dbagile/core/schema/physical.rb', line 12

def _install_eigenclass_methods?
  true
end

#dependencies(include_parent = false) ⇒ Object

Returns an array with part dependencies



17
18
19
# File 'lib/dbagile/core/schema/physical.rb', line 17

def dependencies(include_parent = false)
  []
end