* @return return value of user defined function
* @throws AerospikeException if transaction fails
*/
public final Object execute(Policy policy, Key key, String packageName, String functionName, Value... args)
throws AerospikeException {
ReadCommand command = new ReadCommand(cluster, key);
command.setUdf(key, packageName, functionName, args);
command.execute(policy);
Record record = command.getRecord();
if (record == null || record.bins == null) {
return null;
}