arachnode.net

ArachnodeDAO Methods

The methods of the ArachnodeDAO class are listed below. For a complete list of ArachnodeDAO class members, see the ArachnodeDAO Members topic.

Public Static Methods

InsertExceptionIntoWindowsApplicationLog Inserts the exception into the Windows 'Application' log.

Public Instance Methods

DeleteCrawlRequest Deletes a row from table 'CrawlRequests'. Calling this method with absoluteUri1 set to 'null' and absoluteUri2 set to 'null' deletes all CrawlRequests from the 'CrawlRequests' table.
DeleteDiscoveries Deletes all rows from table 'Discoveries'.
DeleteWebPage Deletes a row from table 'WebPages'.
Equals (inherited from Object) 
ExecuteSql Executes dynamic SQL.
GetAllowedDataTypes DataTypes represent mappings between the ResponseHeader 'Content-type:' and the type to be used by SQL for Full-text indexing. If you find that content you wish to crawl isn't being crawled, check the table 'DisallowedAbsoluteUris'. If you see 'Disallowed by unassigned DataType', add the DataType to table 'AllowedDataTypes'.
GetConfiguration Gets the configuration.
GetContentTypes Gets all ContentTypes. A ContentType would be text/html, image/jpeg, etc.
GetCrawlActions Gets the crawl actions. Used by the ActionManager.
GetCrawlRequests Returns a DataTable containing the database representation of a CrawlRequest. This procedure creates CrawlRequests for the Engine to process from rows in table 'CrawlRequests'.
GetCrawlRules Gets the crawl rules. Used by the RuleManager.
GetDiscoveries Gets the discoveries.
GetDiscovery Gets a Discovery from the Discoveries table. If the Discovery isn't present, null is returned. This method is used by the Cache to determine if a Discovery has been encountered in a crawl run. If a Discovery hasn't been 'Discovered', then it is eligible to have a CrawlRequest created from it and to be crawled.
GetDomains Gets all Domains.
GetEngineActions Gets the engine actions. Used by the ActionManager.
GetExtensions Gets all Extensions.
GetFile Selects a row from table 'Files' by AbsoluteUri or ID.
GetFileDiscoveries Selects a row from table 'Files_Discoveries' by FileID.
GetFileMetaData Selects a row from table 'Files_MetaData' by FileID.
GetHashCode (inherited from Object) 
GetHosts Gets all Hosts.
GetImage Selects a row from table 'Images' by AbsoluteUri or ID.
GetImageDiscoveries Selects a row from table 'Images_Discoveries' by ImageID.
GetImageMetaData Selects a row from table 'Images_MetaData' by ImageID.
GetPriorities Gets all Priorities. Priorities are used by CrawlRequests, the ReportingManager and by the lucene.net indexing functionality to determine crawl priority, and to enhance the boosts of lucene.net documents. A document for "C#" from domain "XYZ" may score a higher relevancy score than a document for "C#" from microsoft.com, but actual popularity/priority dictates that the result from microsoft.com should receive a higher boost and thereby a higher overall relevancy score than the document from domain "XYZ".
GetSchemes Gets all Schemes.
GetType (inherited from Object) 
GetVersion Gets the Database Version. Used by the Crawler to ensure the client is communicating with the proper Database Version.
GetWebPage Selects a row from table 'WebPages' by AbsoluteUri or ID.
InsertCrawlRequestOverloaded. Inserts the crawl request. See: http://arachnode.net/forums/p/564/10762.aspx#10762 if you experience difficulty with this function. Use this function if you want to insert CrawlRequests into the database. The overload with the split 'currentDepth' and 'maximumDepth' parameters is intended for use by the Crawler itself.
InsertDisallowedAbsoluteUri Inserts a row into table 'DisallowedAbsoluteUris'.
InsertDisallowedAbsoluteUriDiscovery Inserts a row into table 'DisallowedAbsoluteUris_Discoveries'.
InsertDiscovery
InsertEmailAddress Inserts a row into table 'EmailAddresses'.
InsertEmailAddressDiscovery Inserts a row into table 'EmailAddresses_Discoveries'.
InsertException Inserts a row into table 'Exceptions'.
InsertFile Inserts a row into table 'Files'.
InsertFileDiscovery Inserts a row into table 'Files_Discoveries'.
InsertFileMetaData Inserts a row into table 'Files_MetaData'.
InsertHyperLink Inserts a row into table 'HyperLinks'.
InsertHyperLinkDiscovery Inserts a row into table 'HyperLinks_Discoveries'.
InsertImage Inserts a row into table 'Images'.
InsertImageDiscovery Inserts a row into table 'Images_Discoveries'.
InsertImageMetaData Inserts a row into table 'Images_MetaData'.
InsertWebPage Inserts a row into table 'WebPages'.
InsertWebPageMetaData Inserts a row into table 'WebPages_MetaData'.
ToString (inherited from Object) 

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

ArachnodeDAO Class | Arachnode.DataAccess Namespace