Class: DbAgile::Core::Schema::Logical::Relview
- Inherits:
-
Part
- Object
- SchemaObject
- Part
- DbAgile::Core::Schema::Logical::Relview
- Defined in:
- lib/dbagile/core/schema/logical/relview.rb
Instance Attribute Summary
Attributes inherited from Part
Attributes inherited from SchemaObject
Instance Method Summary collapse
- #_semantics_check(clazz, buffer) ⇒ Object
- #dependencies(include_parent = false) ⇒ Object
-
#to_s ⇒ Object
Returns a string representation.
-
#to_yaml(opts = {}) ⇒ Object
Delegation pattern on YAML flushing.
Methods inherited from Part
#_sanity_check, #dup, #initialize, #look_same_as?, #visit
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::Part
Instance Method Details
#_semantics_check(clazz, buffer) ⇒ Object
21 22 |
# File 'lib/dbagile/core/schema/logical/relview.rb', line 21 def _semantics_check(clazz, buffer) end |
#dependencies(include_parent = false) ⇒ Object
12 13 14 |
# File 'lib/dbagile/core/schema/logical/relview.rb', line 12 def dependencies(include_parent = false) include_parent ? [ parent ] : [] end |
#to_s ⇒ Object
Returns a string representation
34 35 36 |
# File 'lib/dbagile/core/schema/logical/relview.rb', line 34 def to_s "Relview #{name} #{definition.inspect}" end |
#to_yaml(opts = {}) ⇒ Object
Delegation pattern on YAML flushing
29 30 31 |
# File 'lib/dbagile/core/schema/logical/relview.rb', line 29 def to_yaml(opts = {}) definition.to_yaml(opts) end |