App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Static Public Attributes | List of all members
google.appengine.ext.mapreduce.file_formats._TextFormat Class Reference
Inheritance diagram for google.appengine.ext.mapreduce.file_formats._TextFormat:
google.appengine.ext.mapreduce.file_formats.FileFormat google.appengine.ext.mapreduce.file_formats._CSVFormat google.appengine.ext.mapreduce.file_formats._LinesFormat

Public Member Functions

def preprocess
 
- Public Member Functions inherited from google.appengine.ext.mapreduce.file_formats.FileFormat
def __init__
 
def get_current_file
 
def get_index
 
def increment_index
 
def get_cache
 
def default_instance
 
def __repr__
 
def __str__
 
def checkpoint
 
def to_json
 
def from_json
 
def can_split
 
def split
 
def __iter__
 
def preprocess
 
def next
 
def get_next
 

Static Public Attributes

tuple ARGUMENTS = set(['encoding'])
 
string NAME = '_text'
 
- Static Public Attributes inherited from google.appengine.ext.mapreduce.file_formats.FileFormat
tuple ARGUMENTS = set()
 
string NAME = '_file'
 

Detailed Description

Base class for any text format.

Text formats are those that require decoding before iteration.
This class takes care of the preprocessing logic of decoding.

Member Function Documentation

def google.appengine.ext.mapreduce.file_formats._TextFormat.preprocess (   self,
  file_object 
)
Decodes the entire file to read text.

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