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
|
Public Member Functions | |
def | __init__ (self, keyValueStorageDir, rawDataDir, dBDataTask) |
def | process (self, urlUpdates, queryCallback) |
def | statisticUpdate (self, urlUpdate, queryCallback) |
def | updateURL (self, urlUpdate, queryCallback) |
def | urlPutOperation (self, urlObject, urlPutObject, queryCallback) |
def | attributesUpdate (self, attributes, queryCallback) |
Public Member Functions inherited from dc_db.BaseTask.BaseTask | |
def | isSiteExist (self, siteId, queryCallback, userId=None) |
def | generateCriterionSQL (self, criterions, additionWhere=None, siteId=None) |
def | fetchByCriterions (self, criterions, queryCallback) |
def | dbLock (self, mutexName, queryCallback, sleepTime=1, mutexLockTTL=Constants.DEFAULT_LOCK_TTL) |
def | dbUnlock (self, mutexName, queryCallback) |
def | createUrlsInsertQuery (self, siteId, localKeys, localValues) |
def | copyUrlsToDcUrls (self, siteId, queryCallback) |
def | statisticLogUpdate (self, localObj, urlMd5, siteId, status, queryCallback, isInsert=False) |
def | calculateMd5FormUrl (self, url, urlType, useNormilize=False) |
Public Attributes | |
urlPutTask | |
Additional Inherited Members | |
Static Public Member Functions inherited from dc_db.BaseTask.BaseTask | |
def | readValueFromSiteProp (siteId, propName, queryCallback, urlMd5=None) |
Definition at line 21 of file URLUpdateTask.py.
def dc_db.URLUpdateTask.URLUpdateTask.__init__ | ( | self, | |
keyValueStorageDir, | |||
rawDataDir, | |||
dBDataTask | |||
) |
Definition at line 25 of file URLUpdateTask.py.
def dc_db.URLUpdateTask.URLUpdateTask.attributesUpdate | ( | self, | |
attributes, | |||
queryCallback | |||
) |
Definition at line 120 of file URLUpdateTask.py.
def dc_db.URLUpdateTask.URLUpdateTask.process | ( | self, | |
urlUpdates, | |||
queryCallback | |||
) |
Definition at line 35 of file URLUpdateTask.py.
def dc_db.URLUpdateTask.URLUpdateTask.statisticUpdate | ( | self, | |
urlUpdate, | |||
queryCallback | |||
) |
Definition at line 59 of file URLUpdateTask.py.
def dc_db.URLUpdateTask.URLUpdateTask.updateURL | ( | self, | |
urlUpdate, | |||
queryCallback | |||
) |
Definition at line 78 of file URLUpdateTask.py.
def dc_db.URLUpdateTask.URLUpdateTask.urlPutOperation | ( | self, | |
urlObject, | |||
urlPutObject, | |||
queryCallback | |||
) |
Definition at line 105 of file URLUpdateTask.py.
dc_db.URLUpdateTask.URLUpdateTask.urlPutTask |
Definition at line 27 of file URLUpdateTask.py.