public interface UDFExecution
| Modifier and Type | Method and Description |
|---|---|
boolean |
executeBooleanFunction(SessionToken session,
UDTValue proxy,
java.lang.String functionName)
Executes the designated user-defined function for the designated value of a
UDT and returns the resulting boolean value.
|
double |
executeFloatFunction(SessionToken session,
UDTValue proxy,
java.lang.String functionName)
Executes the designated user-defined function for the designated value of a
UDT and returns the resulting double value.
|
long |
executeIntegerFunction(SessionToken session,
UDTValue proxy,
java.lang.String functionName)
Executes the designated user-defined function for the designated value of a
UDT and returns the resulting long value.
|
java.lang.String |
executeStringFunction(SessionToken session,
UDTValue proxy,
java.lang.String functionName)
Executes the designated user-defined function for the designated value of a
UDT and returns the resulting string.
|
UDTValue |
executeUDTFunction(SessionToken session,
UDTValue proxy,
java.lang.String functionName)
Executes the designated user-defined function for the designated value of a
UDT and returns the resulting UDT-value.
|
ServerUDTInputStream |
executeUDTFunctionIncrementally(SessionToken session,
UDTValue proxy,
java.lang.String functionName)
Executes the designated user-defined function for the designated value of a
UDT and returns the resulting UDT-value as
ServerUDTInputStream. |
java.net.URI |
executeURIFunction(SessionToken session,
UDTValue proxy,
java.lang.String functionName)
Executes the designated user-defined function for the designated value of a
UDT and returns the resulting reference.
|
void |
executeVoidFunction(SessionToken session,
UDTValue proxy,
java.lang.String functionName)
Executes the designated user-defined function for the designated value of a
UDT.
|
void executeVoidFunction(SessionToken session, UDTValue proxy, java.lang.String functionName) throws UDFNotRegisteredException, UDFException
UDFNotRegisteredException will be thrown. There
may also be an exception caused by the execution of the UDF which is
signalled by a UDFException.session - The session which is used to check for access rights on this
method.proxy - (A proxy for) the value of the UDT which the VOID-UDF is
executed with.functionName - The name of the UDF to execute for the designated
UDT-value.UDFNotRegisteredException - If the designated function is not
registered for the user-defined data type of the designated
value, an UDFNotRegisteredException will be
raised.UDFException - If the executed user-defined function fails, the
corresponding exceptions will be wrapped and propagated by a
UDFException.long executeIntegerFunction(SessionToken session, UDTValue proxy, java.lang.String functionName) throws UDFNotRegisteredException, UDFException
UDFNotRegisteredException will be thrown. There may also be
an exception caused by the execution of the UDF which is signalled by a
UDFException.session - The session which is used to check for access rights on this
method.proxy - (A proxy for) the value of the UDT which the INTEGER-UDF is
executed with.functionName - The name of the UDF to execute for the designated
UDT-value.UDFNotRegisteredException - If the designated function is not
registered for the user-defined data type of the designated
value, an UDFNotRegisteredException will be
raised.UDFException - If the executed user-defined function fails, the
corresponding exceptions will be wrapped and propagated by a
UDFException.double executeFloatFunction(SessionToken session, UDTValue proxy, java.lang.String functionName) throws UDFNotRegisteredException, UDFException
UDFNotRegisteredException will be thrown. There may also be
an exception caused by the execution of the UDF which is signalled by a
UDFException.session - The session which is used to check for access rights on this
method.proxy - (A proxy for) the value of the UDT which the FLOAT-UDF is
executed with.functionName - The name of the UDF to execute for the designated
UDT-value.UDFNotRegisteredException - If the designated function is not
registered for the user-defined data type of the designated
value, an UDFNotRegisteredException will be
raised.UDFException - If the executed user-defined function fails, the
corresponding exceptions will be wrapped and propagated by a
UDFException.boolean executeBooleanFunction(SessionToken session, UDTValue proxy, java.lang.String functionName) throws UDFNotRegisteredException, UDFException
UDFNotRegisteredException will be thrown. There may also be
an exception caused by the execution of the UDF which is signalled by a
UDFException.session - The session which is used to check for access rights on this
method.proxy - (A proxy for) the value of the UDT which the BOOLEAN-UDF is
executed with.functionName - The name of the UDF to execute for the designated
UDT-value.UDFNotRegisteredException - If the designated function is not
registered for the user-defined data type of the designated
value, an UDFNotRegisteredException will be
raised.UDFException - If the executed user-defined function fails, the
corresponding exceptions will be wrapped and propagated by a
UDFException.java.lang.String executeStringFunction(SessionToken session, UDTValue proxy, java.lang.String functionName) throws UDFNotRegisteredException, UDFException
UDFNotRegisteredException will be thrown. There may also be
an exception caused by the execution of the UDF which is signalled by a
UDFException.session - The session which is used to check for access rights on this
method.proxy - (A proxy for) the value of the UDT which the STRING-UDF is
executed with.functionName - The name of the UDF to execute for the designated
UDT-value.UDFNotRegisteredException - If the designated function is not
registered for the user-defined data type of the designated
value, an UDFNotRegisteredException will be
raised.UDFException - If the executed user-defined function fails, the
corresponding exceptions will be wrapped and propagated by a
UDFException.java.net.URI executeURIFunction(SessionToken session, UDTValue proxy, java.lang.String functionName) throws UDFNotRegisteredException, UDFException
UDFNotRegisteredException will be thrown. There may also be
an exception caused by the execution of the UDF which is signalled by a
UDFException.session - The session which is used to check for access rights on this
method.proxy - (A proxy for) the value of the UDT which the URI-UDF is
executed with.functionName - The name of the UDF to execute for the designated
UDT-value.UDFNotRegisteredException - If the designated function is not
registered for the user-defined data type of the designated
value, an UDFNotRegisteredException will be
raised.UDFException - If the executed user-defined function fails, the
corresponding exceptions will be wrapped and propagated by a
UDFException.UDTValue executeUDTFunction(SessionToken session, UDTValue proxy, java.lang.String functionName) throws UDFNotRegisteredException, UDFException
UDFNotRegisteredException will be thrown. There may also be
an exception caused by the execution of the UDF which is signalled by a
UDFException.session - The session which is used to check for access rights on this
method.proxy - (A proxy for) the value of the UDT which the UDT-UDF is
executed with.functionName - The name of the UDF to execute for the designated
UDT-value.UDFNotRegisteredException - If the designated function is not
registered for the user-defined data type of the designated
value, an UDFNotRegisteredException will be
raised.UDFException - If the executed user-defined function fails, the
corresponding exceptions will be wrapped and propagated by a
UDFException.ServerUDTInputStream executeUDTFunctionIncrementally(SessionToken session, UDTValue proxy, java.lang.String functionName) throws UDFNotRegisteredException, UDFException
ServerUDTInputStream. The function has to be registered for
the UDT of the designated value, otherwise a
UDFNotRegisteredException will be thrown. There may also be an
exception caused by the execution of the UDF which is signalled by a
UDFException. session - The session which is used to check for access rights on this
method.proxy - (A proxy for) the value of the UDT which the UDT-UDF is
executed with.functionName - The name of the UDF to execute for the designated
UDT-value.ServerUDTInputStream, that is,
clients do not retrieve all of the content of the stream at once
but incrementally.UDFNotRegisteredException - If the designated function is not
registered for the user-defined data type of the designated
value, an UDFNotRegisteredException will be raised.UDFException - If the executed user-defined function fails, the
corresponding exceptions will be wrapped and propagated by a
UDFException.