Class: ActiveCypher::Schema::Catalog
- Inherits:
-
Data
- Object
- Data
- ActiveCypher::Schema::Catalog
- Defined in:
- lib/active_cypher/schema/catalog.rb
Instance Attribute Summary collapse
-
#constraints ⇒ Object
readonly
Returns the value of attribute constraints.
-
#edge_types ⇒ Object
readonly
Returns the value of attribute edge_types.
-
#indexes ⇒ Object
readonly
Returns the value of attribute indexes.
-
#node_types ⇒ Object
readonly
Returns the value of attribute node_types.
Instance Method Summary collapse
Instance Attribute Details
#constraints ⇒ Object (readonly)
Returns the value of attribute constraints
10 11 12 |
# File 'lib/active_cypher/schema/catalog.rb', line 10 def constraints @constraints end |
#edge_types ⇒ Object (readonly)
Returns the value of attribute edge_types
10 11 12 |
# File 'lib/active_cypher/schema/catalog.rb', line 10 def edge_types @edge_types end |
#indexes ⇒ Object (readonly)
Returns the value of attribute indexes
10 11 12 |
# File 'lib/active_cypher/schema/catalog.rb', line 10 def indexes @indexes end |
#node_types ⇒ Object (readonly)
Returns the value of attribute node_types
10 11 12 |
# File 'lib/active_cypher/schema/catalog.rb', line 10 def node_types @node_types end |
Instance Method Details
#empty? ⇒ Boolean
11 12 13 |
# File 'lib/active_cypher/schema/catalog.rb', line 11 def empty? indexes.empty? && constraints.empty? && node_types.empty? && edge_types.empty? end |