Interface EPFireAndForgetPreparedQueryParameterized
public interface EPFireAndForgetPreparedQueryParameterized
Parameter holder for parameterized on-demand queries that are prepared with substitution parameters and that
can be executed efficiently multiple times with different actual values for parameters.
A pre-compiled query can only be executed when actual values for all substitution parameters are set.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Releases resources.void
Sets the value of the designated parameter using the given object.void
Sets the value of the designated parameter using the given object.
-
Method Details
-
setObject
Sets the value of the designated parameter using the given object.- Parameters:
parameterIndex
- the first parameter is 1, the second is 2, ...value
- the object containing the input parameter value- Throws:
EPException
- if the substitution parameter could not be located
-
setObject
Sets the value of the designated parameter using the given object.- Parameters:
parameterName
- the name of the parametervalue
- the object containing the input parameter value- Throws:
EPException
- if the substitution parameter could not be set
-
close
void close()Releases resources.Required for use with fire-and-forget queries that use SQL queries i.e. "from SQL:db [query]". Optional for all other EPL queries.
-