Property | Type | Description |
---|
Method | Description | |
---|---|---|
Add_Bib_Hit ( string BibID, int SessionID ) : void |
Add a single hit against a title (or BibID)
|
|
Add_Collection_Hit ( string Code, Display_Mode_Enum Mode, Aggregation_Type_Enum AggrType, int SessionID ) : void |
Add a single hit against an aggregation (or collection)
|
|
Add_IP_Hit ( string IP, string UserAgent ) : void |
Add a single mapping from IP address to the user agent, or browser/system information This is used for determining if there are new search engine robots out there sneaking through my robot detection algorithm |
|
Add_Institution_Hit ( string Code, Display_Mode_Enum Mode, Aggregation_Type_Enum AggrType, int SessionID ) : void |
Add a single hit against an institutional aggregation
|
|
Add_Item_Hit ( int Item_ID, string BibID, string VID, string ViewerCode, string Text_Search, int SessionID ) : void |
Adds a single hit against an item within this library
|
|
Add_JSON_Hit ( ) : void |
Add the fact that a single hit occurred against the JSON writers
|
|
Add_OAI_Hit ( ) : void |
Add the fact that a single hit occurred against the OAI-PMH writers
|
|
Add_Portal_Hit ( string Portal_Name ) : void |
Add a single hit against a portal
|
|
Add_Robot_Hit ( ) : void |
Add a single robotic hit (otherwise not analyzed)
|
|
Add_WebContent_Hit ( string Browse_Mode ) : void |
Add a single hit against static web content
|
|
Add_XML_Hit ( ) : void |
Add the fact that a single hit occurred against the XML writers
|
|
Increment_Hits ( ) : void |
Increment the number of (human) hits
|
|
Increment_Sessions ( ) : void |
Increment the number of (human) sessions or visits
|
|
Merge ( |
Merge this data with another existing set of data Used when merging daily sets into a monthly set |
|
Perform_SQL_Inserts ( int year, int month, int>.Dictionary |
Write the list of all SQL insert command to add this new usage statistical information to the SobekCM database
|
|
Read_XML ( string file ) : void |
Read an existing XML output from this class into this object
|
|
SobekCM_Stats_DataSet ( ) : System |
Constructor for a new instance of the SobekCM Statistics dataset
|
|
Write_Highest_Users ( string directory, string filename ) : void |
Write the highest users as a XML file This clears all other rows, so this must be called last |
|
Write_XML ( string directory ) : void |
Write this data as XML
|
|
Write_XML ( string directory, string filename ) : void |
Write this data as XML
|
public Add_Bib_Hit ( string BibID, int SessionID ) : void | ||
BibID | string | Bibliographic identifier for the title hit |
SessionID | int | ID for the session from which this hit originated |
return | void |
public Add_Collection_Hit ( string Code, Display_Mode_Enum Mode, Aggregation_Type_Enum AggrType, int SessionID ) : void | ||
Code | string | Aggregation Code |
Mode | Display_Mode_Enum | Mode information |
AggrType | Aggregation_Type_Enum | Aggregation type, if this is Aggregation mode |
SessionID | int | ID for the session from which this hit originated |
return | void |
public Add_IP_Hit ( string IP, string UserAgent ) : void | ||
IP | string | IP address from which this request came |
UserAgent | string | User agent from the HTTP requrest ( browser/system information ) |
return | void |
public Add_Institution_Hit ( string Code, Display_Mode_Enum Mode, Aggregation_Type_Enum AggrType, int SessionID ) : void | ||
Code | string | Institutional aggregation code |
Mode | Display_Mode_Enum | Mode information |
AggrType | Aggregation_Type_Enum | Aggregation type, if this is aggregation mode |
SessionID | int | ID for the session from which this hit originated |
return | void |
public Add_Item_Hit ( int Item_ID, string BibID, string VID, string ViewerCode, string Text_Search, int SessionID ) : void | ||
Item_ID | int | |
BibID | string | |
VID | string | |
ViewerCode | string | |
Text_Search | string | |
SessionID | int | ID for the session from which this hit originated |
return | void |
public Add_Portal_Hit ( string Portal_Name ) : void | ||
Portal_Name | string | Name of the portal |
return | void |
public Add_WebContent_Hit ( string Browse_Mode ) : void | ||
Browse_Mode | string | Name of the web content |
return | void |
public Merge ( |
||
Stats_DataSet | Set of usage data to merge with this one | |
return | void |
public Perform_SQL_Inserts ( int year, int month, int>.Dictionary |
||
year | int | |
month | int | |
aggregationHash | int>.Dictionary | |
bibHash | int>.Dictionary | |
portalHash | int>.Dictionary | |
return | void |
public Write_Highest_Users ( string directory, string filename ) : void | ||
directory | string | |
filename | string | |
return | void |
public Write_XML ( string directory ) : void | ||
directory | string | Directory to write this XML into |
return | void |
public Write_XML ( string directory, string filename ) : void | ||
directory | string | |
filename | string | |
return | void |