def join(self, hash, channel=STDIN): """ Abtract method that must be implemented in concrete subclasses, to return the data that should be joined with the given row. It should be iterable, or equivalent to False in a test. If the result is iterable and its length is superior to 0, the result of this transform will be a cartesian product between this method result and the original input row. If the result is false or iterable but 0-length, the result of this transform will depend on the join type, determined by the is_outer attribute. - If is_outer == True, the transform output will be a simple union between the input row and the result of self.get_default_outer_join_data() - If is_outer == False, this row will be sinked, and will not generate any output from this transform. Default join type is inner, to preserve backward compatibility. """ raise AbstractError(self.join)
def get(self, block=True, timeout=None): """Read. Block/timeout are there for Queue compat.""" raise AbstractError(self.get)
def put(self, data, block=True, timeout=None): """Write. Block/timeout are there for Queue compat.""" raise AbstractError(self.put)
def map(self, value): raise AbstractError(self.map)
def extract(self): raise AbstractError(self.extract)
def split(self, field): raise AbstractError(self.split)
def initialize(self, harness, debug, profile): """Initialize status.""" raise AbstractError(self.initialize)
def loop(self): raise AbstractError(self.loop)
def map_item(self, item): """Convert one matched XML item to a dictionary. """ raise AbstractError(self.map_item)
def transform(self, hash, channel=STDIN): """Core transformation method that will be called for each input data row.""" raise AbstractError(self.transform)
def transform(self, hash, channel=STDIN): """All input rows that comes to one of this transform's input channels will be passed to this method. If you only have one input channel, you can safely ignore the channel value, although you'll need it in method prototype.""" raise AbstractError(self.transform)
def update(self, harness, debug, profile): raise AbstractError(self.update)
def finalize(self, harness, debug, profile): """Finalize status.""" raise AbstractError(self.finalize)
def update(self, harness, debug, profile): """update this status""" raise AbstractError(self.update)
def __call__(self): """Actual harness run.""" raise AbstractError(self.__call__)
def get_unicode_stats(self, debug=False, profile=False): raise AbstractError(self.get_unicode_stats)
def add(self, transform): raise AbstractError(self.add)
def filter(self, hash, channel=STDIN): raise AbstractError(self.filter)
def validate(self, hash, channel=STDIN): raise AbstractError(self.validate)
def sql(self, hash, channel): raise AbstractError(self.sql)