![]() |
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 | to_json |
def | write |
![]() | |
def | __init__ |
def | validate |
def | create |
def | get_filenames |
def | from_json |
def | to_json |
def | write |
def | finalize |
![]() | |
def | validate |
def | init_job |
def | finalize_job |
def | from_json |
def | to_json |
def | create |
def | write |
def | finalize |
def | get_filenames |
![]() | |
def | to_json_str |
def | from_json_str |
Additional Inherited Members | |
![]() | |
string | BUCKET_NAME_PARAM = "bucket_name" |
string | ACL_PARAM = "acl" |
string | NAMING_FORMAT_PARAM = "naming_format" |
string | CONTENT_TYPE_PARAM = "content_type" |
string | DEFAULT_NAMING_FORMAT = "$name/$id/output-$num" |
Write data to the Google Cloud Storage file using LevelDB format. Data are written to cloudstorage in record format. On writer serializaton, up to 32KB padding may be added to ensure the next slice aligns with record boundary. See the _GoogleCloudStorageOutputWriter for configuration options.
def google.appengine.ext.mapreduce.output_writers._GoogleCloudStorageRecordOutputWriter.__init__ | ( | self, | |
streaming_buffer, | |||
writer_spec = None |
|||
) |
Initialize a CloudStorageOutputWriter instance. Args: streaming_buffer: an instance of writable buffer from cloudstorage_api. writer_spec: the specification for the writer.
def google.appengine.ext.mapreduce.output_writers._GoogleCloudStorageRecordOutputWriter.write | ( | self, | |
data | |||
) |
Write a single record of data to the file using LevelDB format. Args: data: string containing the data to be written.