Class: YbDDLParser::AST::KeyColumn

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#expressionObject (readonly)

Returns the value of attribute expression

Returns:

  • (Object)

    the current value of expression



11
12
13
# File 'lib/yb_ddl_parser/ast.rb', line 11

def expression
  @expression
end

#hash_groupObject (readonly)

Returns the value of attribute hash_group

Returns:

  • (Object)

    the current value of hash_group



11
12
13
# File 'lib/yb_ddl_parser/ast.rb', line 11

def hash_group
  @hash_group
end

#hashedObject (readonly)

Returns the value of attribute hashed

Returns:

  • (Object)

    the current value of hashed



11
12
13
# File 'lib/yb_ddl_parser/ast.rb', line 11

def hashed
  @hashed
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



11
12
13
# File 'lib/yb_ddl_parser/ast.rb', line 11

def name
  @name
end

#nullsObject (readonly)

Returns the value of attribute nulls

Returns:

  • (Object)

    the current value of nulls



11
12
13
# File 'lib/yb_ddl_parser/ast.rb', line 11

def nulls
  @nulls
end

#orderObject (readonly)

Returns the value of attribute order

Returns:

  • (Object)

    the current value of order



11
12
13
# File 'lib/yb_ddl_parser/ast.rb', line 11

def order
  @order
end

Instance Method Details

#hash?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/yb_ddl_parser/ast.rb', line 12

def hash?
  hashed == true
end