In such API, along with parsed field, corresponding field ID is given for users to refer. Field ID should be relative one in PSF making function. This means field 0 referred in the API above is refer to the first field provided in MakeInlinePSF().
Internal value passing logic in BatchInsert should be altered to match this new feature as well.
To support #3 , we need to enhance the PSF definition and usage interface so that user can check and make decisions on wildcard based fields.
The API (example for inline PSF) can be like this:
In such API, along with parsed field, corresponding field ID is given for users to refer. Field ID should be relative one in PSF making function. This means field 0 referred in the API above is refer to the first field provided in
MakeInlinePSF()
.Internal value passing logic in
BatchInsert
should be altered to match this new feature as well.