Class: StructuredDataToSql::MysqlDumpXml::TableDiscovery::FileResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/structured_data_to_sql/mysql_dump_xml/table_discovery.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bytes_scannedObject

Returns the value of attribute bytes_scanned

Returns:

  • (Object)

    the current value of bytes_scanned



11
12
13
# File 'lib/structured_data_to_sql/mysql_dump_xml/table_discovery.rb', line 11

def bytes_scanned
  @bytes_scanned
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



11
12
13
# File 'lib/structured_data_to_sql/mysql_dump_xml/table_discovery.rb', line 11

def path
  @path
end

#table_metadataObject

Returns the value of attribute table_metadata

Returns:

  • (Object)

    the current value of table_metadata



11
12
13
# File 'lib/structured_data_to_sql/mysql_dump_xml/table_discovery.rb', line 11

def 
  @table_metadata
end

#tablesObject

Returns the value of attribute tables

Returns:

  • (Object)

    the current value of tables



11
12
13
# File 'lib/structured_data_to_sql/mysql_dump_xml/table_discovery.rb', line 11

def tables
  @tables
end

#truncatedObject

Returns the value of attribute truncated

Returns:

  • (Object)

    the current value of truncated



11
12
13
# File 'lib/structured_data_to_sql/mysql_dump_xml/table_discovery.rb', line 11

def truncated
  @truncated
end

Instance Method Details

#countObject



20
21
22
# File 'lib/structured_data_to_sql/mysql_dump_xml/table_discovery.rb', line 20

def count
  tables.length
end