Package io.vertx.tp.modular.reference
Interface AoRay<T>
-
- All Known Implementing Classes:
AbstractRay,RayBatch,RaySingle
public interface AoRay<T>## Reference Processor ( Ray ) ### 1. Intro The field of `reference` calculation components, after all the data have been read, these components could process `reference` field based on the records. Here are three categories of attribute's type: 1. INTERNAL : The standard attribute that has been mapped to database. 2. REFERENCE : The reference attribute that has been mapped to other dependency attributes. 3. EXTERNAL : The reserved attribute that has been mapped to third-part system. ### 2. Generic T The `T` type should be two common object such as: -JsonObjectcontent of Json Record, the core type isRecord. -JsonArraycontent of Json Record[], the core type isRecord[]. ### 3. Standard Mode #### 3.1. INTERNAL This kind of attribute support following features: - It should be mapped to `X_ENTITY` fields instead of storing in other place. - The data type must be based on database column type. - `X_ENTITY` column type has been defined in abstract virtual layer to support Type Mapping. #### 3.2. REFERENCE This kind of attribute support following features: 1. Complex Type: Such as `up` and `down`, the data format isJsonObject/JsonArray, calculated to the result here. 2. Dependency Type: The type is calculated by other `INTERNAL` field.- Author:
- Lang
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TdoRay(T input)This method will modify the inputRecordelement(s).io.vertx.core.Future<T>doRayAsync(T input)AoRay<T>on(DataTpl tpl)Bind the component to data model templateDataTpl.
-