HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.  2.0.0-chaika
Hierarchical Cluster Engine Python language binding
dc.EventObjects.URLHistoryRequest Class Reference
Inheritance diagram for dc.EventObjects.URLHistoryRequest:
Collaboration diagram for dc.EventObjects.URLHistoryRequest:

Public Member Functions

def __init__ (self, siteId, urlMd5=None, urlCriterions=None, logCriterions=None)
 
- Public Member Functions inherited from app.Utils.JsonSerializable
def __init__ (self)
 
def toJSON (self)
 

Public Attributes

 siteId
 
 urlMd5
 
 urlCriterions
 
 logCriterions
 

Static Public Attributes

string CRITERION_LIMIT = "LIMIT"
 
string CRITERION_WHERE = "WHERE"
 
string CRITERION_ORDER = "ORDER BY"
 
string DEFAULT_ORDER = "ODate ASC"
 
string DEFAULT_WHERE = "URLMD5='%URL%'"
 
int DEFAULT_LIMIT = 100
 

Additional Inherited Members

- Static Public Member Functions inherited from app.Utils.JsonSerializable
def json_serial (obj)
 

Detailed Description

Definition at line 1329 of file EventObjects.py.

Constructor & Destructor Documentation

◆ __init__()

def dc.EventObjects.URLHistoryRequest.__init__ (   self,
  siteId,
  urlMd5 = None,
  urlCriterions = None,
  logCriterions = None 
)

Definition at line 1344 of file EventObjects.py.

1344  def __init__(self, siteId, urlMd5=None, urlCriterions=None, logCriterions=None):
1345  super(URLHistoryRequest, self).__init__()
1346  self.siteId = siteId
1347  self.urlMd5 = urlMd5
1348  if urlCriterions is None:
1349  self.urlCriterions = {}
1350  else:
1351  self.urlCriterions = urlCriterions
1352  if self.CRITERION_LIMIT not in self.urlCriterions and urlCriterions is not None:
1353  self.urlCriterions[self.CRITERION_LIMIT] = str(self.DEFAULT_LIMIT)
1354  if logCriterions is None:
1355  self.logCriterions = {}
1356  else:
1357  self.logCriterions = logCriterions
1358  if self.CRITERION_ORDER not in self.logCriterions and logCriterions is not None:
1359  self.logCriterions[self.CRITERION_ORDER] = self.DEFAULT_ORDER
1360 
1361 
1362 
1363 # #URLHistoryResponse event object
1364 #
1365 # The URLHistoryResponse event object represents the response of the URL's history operation.
1366 
def __init__(self)
constructor
Definition: UIDGenerator.py:19

Member Data Documentation

◆ CRITERION_LIMIT

string dc.EventObjects.URLHistoryRequest.CRITERION_LIMIT = "LIMIT"
static

Definition at line 1331 of file EventObjects.py.

◆ CRITERION_ORDER

string dc.EventObjects.URLHistoryRequest.CRITERION_ORDER = "ORDER BY"
static

Definition at line 1333 of file EventObjects.py.

◆ CRITERION_WHERE

string dc.EventObjects.URLHistoryRequest.CRITERION_WHERE = "WHERE"
static

Definition at line 1332 of file EventObjects.py.

◆ DEFAULT_LIMIT

int dc.EventObjects.URLHistoryRequest.DEFAULT_LIMIT = 100
static

Definition at line 1336 of file EventObjects.py.

◆ DEFAULT_ORDER

string dc.EventObjects.URLHistoryRequest.DEFAULT_ORDER = "ODate ASC"
static

Definition at line 1334 of file EventObjects.py.

◆ DEFAULT_WHERE

string dc.EventObjects.URLHistoryRequest.DEFAULT_WHERE = "URLMD5='%URL%'"
static

Definition at line 1335 of file EventObjects.py.

◆ logCriterions

dc.EventObjects.URLHistoryRequest.logCriterions

Definition at line 1355 of file EventObjects.py.

◆ siteId

dc.EventObjects.URLHistoryRequest.siteId

Definition at line 1346 of file EventObjects.py.

◆ urlCriterions

dc.EventObjects.URLHistoryRequest.urlCriterions

Definition at line 1349 of file EventObjects.py.

◆ urlMd5

dc.EventObjects.URLHistoryRequest.urlMd5

Definition at line 1347 of file EventObjects.py.


The documentation for this class was generated from the following file: