Encog 1.1 for DotNet
Encog.Bot.Spider.Workload.SQL Namespace
NamespacesEncog.Bot.Spider.Workload.SQL

[Missing <summary> documentation for N:Encog.Bot.Spider.Workload.SQL]

Declaration Syntax
C#Visual BasicVisual C++
namespace Encog.Bot.Spider.Workload.SQL
Namespace Encog.Bot.Spider.Workload.SQL
namespace Encog.Bot.Spider.Workload.SQL
Types
All TypesClasses
IconTypeDescription
SQLHolder
SQLHolder: Holds the SQL commands for most databases. Some databases will require modifications of some of these commands.

SQLWorkloadManager
SQLWorkloadManager: This workload manager stores the URL lists in an SQL database. This workload manager uses two tables, which can be created as follows:
             CREATE TABLE 'spider_host' (
             'host_id' int(10) unsigned NOT NULL auto_increment,
             'host' varchar(255) NOT NULL default '',
             'status' varchar(1) NOT NULL default '',
             'urls_done' int(11) NOT NULL,
             'urls_error' int(11) NOT NULL,
             PRIMARY KEY  ('host_id')
             )
            
             CREATE TABLE 'spider_workload' (
             'workload_id' int(10) unsigned NOT NULL auto_increment,
             'host' int(10) unsigned NOT NULL,
             'url' varchar(2083) NOT NULL default '',
             'status' varchar(1) NOT NULL default '',
             'depth' int(10) unsigned NOT NULL,
             'url_hash' int(11) NOT NULL,
             'source_id' int(11) NOT NULL,
             PRIMARY KEY  ('workload_id'),
             KEY 'status' ('status'),
             KEY 'url_hash' ('url_hash'),
             KEY 'host' ('host')
             )