![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
def | EntitiesTransferred |
def | WorkFinished |
def | UpdateProgress |
![]() | |
def | __init__ |
def | EntitiesTransferred |
def | UpdateProgress |
def | WorkFinished |
def | PerformWork |
![]() | |
def | __init__ |
def | run |
def | SetError |
def | PerformWork |
def | CheckError |
def | GetFriendlyName |
Public Attributes | |
exporter | |
existing_count | |
result_db | |
![]() | |
progress_queue | |
db | |
entities_transferred | |
![]() | |
exit_flag | |
error | |
traceback | |
Additional Inherited Members | |
![]() | |
string | NAME = 'progress tracking thread' |
A thread to record progress information and write record data for exports. The progress information is stored into a provided progress database. Exported results are stored in the result database and dumped to an output file at the end of the download.
def google.appengine.tools.bulkloader.ExportProgressThread.__init__ | ( | self, | |
exporter, | |||
progress_queue, | |||
progress_db, | |||
result_db | |||
) |
Initialize the ExportProgressThread instance. Args: exporter: An Exporter instance for the download. progress_queue: A Queue used for tracking progress information. progress_db: The database for tracking progress information; should be an instance of ProgressDatabase. result_db: The database for holding exported entities; should be an instance of ResultDatabase.
def google.appengine.tools.bulkloader.ExportProgressThread.EntitiesTransferred | ( | self | ) |
Return the total number of unique entities transferred.
def google.appengine.tools.bulkloader.ExportProgressThread.UpdateProgress | ( | self, | |
item | |||
) |
Update the state of the given KeyRangeItem. Args: item: A KeyRange instance.
def google.appengine.tools.bulkloader.ExportProgressThread.WorkFinished | ( | self | ) |
Write the contents of the result database.