Composite operator artifacts
Composite operators are defined in .spl files. These files are in directories that correspond to namespaces.
For instance, the directory spl/helper might
contain a .spl file that defines a composite operator
that is named UniqueFilter
, which would be in the
namespace spl.helper
. Similar to primitive operators,
composite operators can be in nested directories where namespace derivation
rules apply. The namespace that is derived from the directory structure
must match the namespace that is defined in the .spl file.
For instance, the UniqueFilter
must be defined as:
namespace spl.helper;
composite UniqueFilter(...) { ... }
If the namespace in the .spl file does not match the one derived from the directory structure, the toolkit indexing tool (spl-make-toolkit) issues an error.