Class: YbDDLParser::AST::RelationName
- Inherits:
-
Data
- Object
- Data
- YbDDLParser::AST::RelationName
- Defined in:
- lib/yb_ddl_parser/ast.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#schema ⇒ Object
readonly
Returns the value of attribute schema.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
5 6 7 |
# File 'lib/yb_ddl_parser/ast.rb', line 5 def name @name end |
#schema ⇒ Object (readonly)
Returns the value of attribute schema
5 6 7 |
# File 'lib/yb_ddl_parser/ast.rb', line 5 def schema @schema end |
Instance Method Details
#qualified_name ⇒ Object
6 7 8 |
# File 'lib/yb_ddl_parser/ast.rb', line 6 def qualified_name schema && !schema.empty? ? "#{schema}.#{name}" : name end |