Developing Apama Applications > Developing Apama Applications in EPL > Using Correlator Plug-ins in EPL > Using the Payload Extraction plug-in > The direct-access functions > Secondary direct-access functions
Secondary direct-access functions
In addition to the primary direct-access functions, the plug-in also provides a secondary set of direct access functions. These differ from the primary set in that instead of taking one default value that is returned in case of each of the three error conditions, they take a specific default value for each condition. The secondary functions behave exactly as the primary set but vary with respect to the parameters, as described in Parameters for secondary direct-access functions.
parseStringD
string parseStringD(
string payload_field,
string field_name,
string default_nonExistent,
string default_empty,
string default_invalid
parseFloatD
float parseFloatD(
string payload_field,
string field_name,
float default_nonExistent,
float default_empty,
float default_invalid)
parseIntergerD
integer parseIntegerD(
string payload_field,
string field_name,
integer default_nonExistent,
integer default_empty,
integer default_invalid)
parseBooleanD
boolean parseBooleanD(
string payload_field,
string field_name,
boolean default_nonExistent,
boolean default_empty,
boolean default_invalid)
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.