Class: StructuredDataToSql::Json::ColumnDef

Inherits:
Struct
  • Object
show all
Defined in:
lib/structured_data_to_sql/json/schema_inferrer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#commentObject

Returns the value of attribute comment

Returns:

  • (Object)

    the current value of comment



7
8
9
# File 'lib/structured_data_to_sql/json/schema_inferrer.rb', line 7

def comment
  @comment
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



7
8
9
# File 'lib/structured_data_to_sql/json/schema_inferrer.rb', line 7

def kind
  @kind
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



7
8
9
# File 'lib/structured_data_to_sql/json/schema_inferrer.rb', line 7

def name
  @name
end

#nullObject

Returns the value of attribute null

Returns:

  • (Object)

    the current value of null



7
8
9
# File 'lib/structured_data_to_sql/json/schema_inferrer.rb', line 7

def null
  @null
end

#sql_typeObject

Returns the value of attribute sql_type

Returns:

  • (Object)

    the current value of sql_type



7
8
9
# File 'lib/structured_data_to_sql/json/schema_inferrer.rb', line 7

def sql_type
  @sql_type
end