public interface InputDataContext extends UserAttributeContainer, PluginDataContainer
| Modifier and Type | Method and Description |
|---|---|
boolean |
isNull(java.lang.String parameterName)
Returns whether the value of the designated parameter is NULL which means
the data element has not been written or has been consumed yet or has been
explicitly set to NULL by a previous application.
|
boolean |
retrieveBooleanParameterValue(java.lang.String parameterName)
Reads from an input parameter.
|
java.util.Date |
retrieveDateParameterValue(java.lang.String parameterName)
Reads from an input parameter.
|
double |
retrieveFloatParameterValue(java.lang.String parameterName)
Reads from an input parameter.
|
long |
retrieveIntegerParameterValue(java.lang.String parameterName)
Reads from an input parameter.
|
java.lang.String |
retrieveStringParameterValue(java.lang.String parameterName)
Reads from an input parameter.
|
UDTValue |
retrieveUDTParameterValue(java.lang.String parameterName)
Reads from an input parameter.
|
java.net.URI |
retrieveURIParameterValue(java.lang.String parameterName)
Reads from an input parameter.
|
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValuegetPluginData, getPluginDatas, getSupportedPluginsboolean isNull(java.lang.String parameterName)
throws NoSuchParameterException
parameterName - The name of the parameter to check on NULL.true if the value of the designated parameter is
NULL and therefore has not been written or has been consumed yet.NoSuchParameterException - If the parameter of the designated name
does not exist, a NoSuchParameterException will be
thrown.long retrieveIntegerParameterValue(java.lang.String parameterName)
throws InvalidDataTypeException,
NoSuchParameterException
parameterName - the name of the input parameter to be readInvalidDataTypeException - If the designated parameter is not of
type INTEGER, an InvalidDataTypeException will be
raised.NoSuchParameterException - If the parameter of the designated name
does not exist, a NoSuchParameterException will be
thrown.double retrieveFloatParameterValue(java.lang.String parameterName)
throws InvalidDataTypeException,
NoSuchParameterException
parameterName - the name of the input parameter to be readInvalidDataTypeException - If the designated parameter is not of
type FLOAT, an InvalidDataTypeException will be
raised.NoSuchParameterException - If the parameter of the designated name
does not exist, a NoSuchParameterException will be
thrown.boolean retrieveBooleanParameterValue(java.lang.String parameterName)
throws InvalidDataTypeException,
NoSuchParameterException
parameterName - the name of the input parameter to be readInvalidDataTypeException - If the designated parameter is not of
type BOOLEAN, an InvalidDataTypeException will be
raised.NoSuchParameterException - If the parameter of the designated name
does not exist, a NoSuchParameterException will be
thrown.java.lang.String retrieveStringParameterValue(java.lang.String parameterName)
throws InvalidDataTypeException,
NoSuchParameterException
parameterName - the name of the input parameter to be readInvalidDataTypeException - If the designated parameter is not of
type STRING, an InvalidDataTypeException will be
raised.NoSuchParameterException - If the parameter of the designated name
does not exist, a NoSuchParameterException will be
thrown.java.util.Date retrieveDateParameterValue(java.lang.String parameterName)
throws InvalidDataTypeException,
NoSuchParameterException
java.util.Date.parameterName - the name of the input parameter to be readInvalidDataTypeException - If the designated parameter is not of
type DATE, an InvalidDataTypeException will be
raised.NoSuchParameterException - If the parameter of the designated name
does not exist, a NoSuchParameterException will be
thrown.java.net.URI retrieveURIParameterValue(java.lang.String parameterName)
throws InvalidDataTypeException,
NoSuchParameterException
parameterName - the name of the input parameter to be readInvalidDataTypeException - If the designated parameter is not of
type URI, an InvalidDataTypeException will be
raised.NoSuchParameterException - If the parameter of the designated name
does not exist, a NoSuchParameterException will be
thrown.UDTValue retrieveUDTParameterValue(java.lang.String parameterName) throws InvalidDataTypeException, NoSuchParameterException
parameterName - the name of the input parameter to be readInvalidDataTypeException - If the designated parameter is not of
type UDT, an InvalidDataTypeException will be
raised.NoSuchParameterException - If the parameter of the designated name
does not exist, a NoSuchParameterException will be
thrown.