Namespace naming conventions
Namespaces logically group a set of related operators. Putting operators into meaningful namespaces helps maintain modularity and prevents name clashing with operators, functions, and types in other namespaces.
The convention for creating a namespace identifier is to always use lowercase letters. The source files inside of a namespace must conform to a standard directory naming and structure. The source files that contain the Streams Processing Language (SPL) entities (such as operators, SPL functions, or native functions) at that level of the namespace exist in that directory.
Each level of a namespace hierarchy must follow one of these naming conventions:
- A corresponding directory with the same name (com/teracloud/streams/financial)
- A directory with the hierarchies partially concatenated (com.teracloud/streams/financial/adapters)
- A directory with the hierarchies fully concatenated (com.teracloud.streams.financial)
com.teracloud.streams.financial
com.teracloud.streams.financial.adapters
com.teracloud.streams.financial.adapters.fix
com.teracloud.streams.financial.adapters.rmm
com.teracloud.streams.financial.adapters.simulated
com.teracloud.streams.financial.adapters.wfo
com.teracloud.streams.financial.analytics
com.teracloud.streams.financial.analytics.equity
com.teracloud.streams.financial.analytics.option
com.teracloud.streams.financial.analytics.equity.strategy
com.teracloud.streams.financial.apps
com.teracloud.streams.financial.utility
com.teracloud.streams.financial.utility.trade