Class: YbDDLParser::AST::Constraint

Inherits:
Data
  • Object
show all
Defined in:
lib/yb_ddl_parser/ast.rb

Instance Attribute Summary collapse

Instance Attribute Details

#columnsObject (readonly)

Returns the value of attribute columns

Returns:

  • (Object)

    the current value of columns



17
18
19
# File 'lib/yb_ddl_parser/ast.rb', line 17

def columns
  @columns
end

#functionsObject (readonly)

Returns the value of attribute functions

Returns:

  • (Object)

    the current value of functions



17
18
19
# File 'lib/yb_ddl_parser/ast.rb', line 17

def functions
  @functions
end

#key_columnsObject (readonly)

Returns the value of attribute key_columns

Returns:

  • (Object)

    the current value of key_columns



17
18
19
# File 'lib/yb_ddl_parser/ast.rb', line 17

def key_columns
  @key_columns
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



17
18
19
# File 'lib/yb_ddl_parser/ast.rb', line 17

def name
  @name
end

#raw_expressionObject (readonly)

Returns the value of attribute raw_expression

Returns:

  • (Object)

    the current value of raw_expression



17
18
19
# File 'lib/yb_ddl_parser/ast.rb', line 17

def raw_expression
  @raw_expression
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



17
18
19
# File 'lib/yb_ddl_parser/ast.rb', line 17

def type
  @type
end