A collection of macros available to rowfilters.
NOTE: All macros should return only one single physical python line,
or they will mess up the calculation of what constructs caused
errors.
|
|
|
|
|
macro_fullDLURL(self,
dlService)
returns a python expression giving a link to the full current data
set retrieved through the datalink service. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
macro_rowsProcessed(self)
returns an expression giving the number of records already ingested
for this source. |
source code
|
|
|
|
macro_sourceDate(self)
returns an expression giving the timestamp of the current source. |
source code
|
|
|
|
|
|
|
macro_lastSourceElements(self,
numElements)
returns an expression calling rmkfuncs.lastSourceElements on the
current input path. |
source code
|
|
|
|
macro_rootlessPath(self)
returns an expression giving the current source's path with the
resource descriptor's root removed. |
source code
|
|
|
|
macro_inputSize(self)
returns an expression giving the size of the current source. |
source code
|
|
|
|
|
|
|
macro_property(self,
property)
returns the value of property on the parent DD. |
source code
|
|
|
Inherited from base.macros.StandardMacroMixin:
macro_RSTservicelink,
macro_RSTtable,
macro_decapitalize,
macro_getConfig,
macro_internallink,
macro_magicEmpty,
macro_metaSeq,
macro_metaString,
macro_rdId,
macro_rdIdDotted,
macro_schema,
macro_test,
macro_today,
macro_upper,
macro_urlquote
Inherited from base.macros.MacroPackage:
execMacro,
expand,
getExpander,
listMacros,
macro_quote,
macro_reSub,
macro_sql_standardPubDID,
macro_sqlquote
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__init__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|