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
|
Classes | |
class | ConfigOptions |
class | Meta |
Public Member Functions | |
def | __init__ (self) |
def | setup (self) |
def | run (self) |
def | getInputPickle (self) |
def | unpickleInput (self, inputPickle) |
def | createOutputPickle (self, outputBatch) |
def | sendPickle (self, outputPickle) |
def | process (self) |
def | updateProcessedContents (self, inputBatch) |
def | updateAttributesOnly (self, inputBatch) |
Public Attributes | |
exitCode | |
logger | |
dbWrapper | |
errorMsg | |
Static Public Attributes | |
string | MSG_ERROR_EMPTY_CONFIG_FILE_NAME = "Config file name is empty." |
string | MSG_ERROR_WRONG_CONFIG_FILE_NAME = "Config file name is wrong" |
string | MSG_ERROR_LOAD_APP_CONFIG = "Error loading application config file." |
string | MSG_ERROR_READ_LOG_CONFIG = "Error read log config file." |
string | MSG_ERROR_MISSED_SECTION = "Missed mandatory section '%s'" |
string | MSG_ERROR_DATABASE_OPERATION = "Database operation has error: %s" |
string | MSG_ERROR_UPDATE_PROCESSED_CONTENTS = "Update processed contents has error: %s" |
string | MSG_DEBUG_INPUT_PICKLE = "Input pickle: " |
string | MSG_DEBUG_INPUT_UNPICKLED = "input unpickled: " |
string | MSG_DEBUG_OUTPUT_BATCH = "Output batch: " |
string | MSG_DEBUG_OUTPUT_PICKLE = "Output pickle: " |
string | MSG_DEBUG_SEND_PICKLE = "Send pickle. Done." |
string | ATTRIBUTE_ERROR_MESSAGE_NAME = 'errorMessage' |
Private Member Functions | |
def | __initApp (self) |
def | __loadAppConfig (self, configName) |
def | __loadLogConfig (self, configName) |
def | __createDBTasksWrapper (self, configName) |
Definition at line 40 of file ContentUpdater.py.
def app.ContentUpdater.ContentUpdater.__init__ | ( | self | ) |
Definition at line 77 of file ContentUpdater.py.
|
private |
|
private |
Definition at line 111 of file ContentUpdater.py.
|
private |
Definition at line 133 of file ContentUpdater.py.
|
private |
Definition at line 164 of file ContentUpdater.py.
def app.ContentUpdater.ContentUpdater.createOutputPickle | ( | self, | |
outputBatch | |||
) |
def app.ContentUpdater.ContentUpdater.getInputPickle | ( | self | ) |
def app.ContentUpdater.ContentUpdater.process | ( | self | ) |
Definition at line 251 of file ContentUpdater.py.
def app.ContentUpdater.ContentUpdater.run | ( | self | ) |
def app.ContentUpdater.ContentUpdater.sendPickle | ( | self, | |
outputPickle | |||
) |
def app.ContentUpdater.ContentUpdater.setup | ( | self | ) |
Definition at line 87 of file ContentUpdater.py.
def app.ContentUpdater.ContentUpdater.unpickleInput | ( | self, | |
inputPickle | |||
) |
def app.ContentUpdater.ContentUpdater.updateAttributesOnly | ( | self, | |
inputBatch | |||
) |
Definition at line 357 of file ContentUpdater.py.
def app.ContentUpdater.ContentUpdater.updateProcessedContents | ( | self, | |
inputBatch | |||
) |
Definition at line 270 of file ContentUpdater.py.
|
static |
Definition at line 56 of file ContentUpdater.py.
app.ContentUpdater.ContentUpdater.dbWrapper |
Definition at line 82 of file ContentUpdater.py.
app.ContentUpdater.ContentUpdater.errorMsg |
Definition at line 83 of file ContentUpdater.py.
app.ContentUpdater.ContentUpdater.exitCode |
Definition at line 80 of file ContentUpdater.py.
app.ContentUpdater.ContentUpdater.logger |
Definition at line 81 of file ContentUpdater.py.
|
static |
Definition at line 50 of file ContentUpdater.py.
|
static |
Definition at line 51 of file ContentUpdater.py.
|
static |
Definition at line 52 of file ContentUpdater.py.
|
static |
Definition at line 53 of file ContentUpdater.py.
|
static |
Definition at line 54 of file ContentUpdater.py.
|
static |
Definition at line 47 of file ContentUpdater.py.
|
static |
Definition at line 42 of file ContentUpdater.py.
|
static |
Definition at line 44 of file ContentUpdater.py.
|
static |
Definition at line 46 of file ContentUpdater.py.
|
static |
Definition at line 45 of file ContentUpdater.py.
|
static |
Definition at line 48 of file ContentUpdater.py.
|
static |
Definition at line 43 of file ContentUpdater.py.