![]() |
#include <aerospike/as_bytes.h>
#include <aerospike/as_list.h>
Go to the source code of this file.
Data Structures | |
struct | as_udf_call |
struct | as_udf_file |
struct | as_udf_files |
Macros | |
#define | AS_UDF_FILE_HASH_SIZE 20 |
#define | AS_UDF_FILE_NAME_LEN AS_UDF_FILE_NAME_SIZE - 1 |
#define | AS_UDF_FILE_NAME_SIZE 128 |
#define | AS_UDF_FILE_NAME_SIZE 128 |
#define | AS_UDF_FUNCTION_MAX_LEN (AS_UDF_FUNCTION_MAX_SIZE - 1) |
#define | AS_UDF_FUNCTION_MAX_SIZE 64 |
#define | AS_UDF_MODULE_MAX_LEN (AS_UDF_MODULE_MAX_SIZE - 1) |
#define | AS_UDF_MODULE_MAX_SIZE 64 |
Typedefs | |
typedef char | as_udf_function_name [AS_UDF_FUNCTION_MAX_SIZE] |
typedef char | as_udf_module_name [AS_UDF_MODULE_MAX_SIZE] |
Enumerations | |
enum | as_udf_type { AS_UDF_TYPE_LUA, AS_UDF_TYPE_LUA } |
Functions | |
void | as_udf_call_destroy (as_udf_call *call) |
as_udf_call * | as_udf_call_init (as_udf_call *call, const as_udf_module_name module, const as_udf_function_name function, as_list *arglist) |
as_udf_call * | as_udf_call_new (const as_udf_module_name module, const as_udf_function_name function, as_list *arglist) |
void | as_udf_file_destroy (as_udf_file *file) |
as_udf_file * | as_udf_file_init (as_udf_file *file) |
as_udf_file * | as_udf_file_new () |
void | as_udf_files_destroy (as_udf_files *files) |
as_udf_files * | as_udf_files_init (as_udf_files *files, uint32_t capacity) |
as_udf_files * | as_udf_files_new (uint32_t capacity) |
#define AS_UDF_FILE_HASH_SIZE 20 |
The size of a UDF hash value
Definition at line 70 of file src/include/aerospike/as_udf.h.
#define AS_UDF_FILE_NAME_LEN AS_UDF_FILE_NAME_SIZE - 1 |
The maxium string length of the UDF file name
Definition at line 65 of file src/include/aerospike/as_udf.h.
#define AS_UDF_FILE_NAME_SIZE 128 |
The size of a UDF file name
Definition at line 60 of file src/include/aerospike/as_udf.h.
#define AS_UDF_FILE_NAME_SIZE 128 |
The size of a UDF file name
Definition at line 60 of file src/include/aerospike/as_udf.h.
#define AS_UDF_FUNCTION_MAX_LEN (AS_UDF_FUNCTION_MAX_SIZE - 1) |
Maximum number of chars allows in UDF function name.
Definition at line 50 of file src/include/aerospike/as_udf.h.
#define AS_UDF_FUNCTION_MAX_SIZE 64 |
Maximum number of bytes in UDF module name.
Definition at line 45 of file src/include/aerospike/as_udf.h.
#define AS_UDF_MODULE_MAX_LEN (AS_UDF_MODULE_MAX_SIZE - 1) |
Maximum number of chars allows in UDF module name.
Definition at line 40 of file src/include/aerospike/as_udf.h.
#define AS_UDF_MODULE_MAX_SIZE 64 |
Maximum number of bytes in UDF module name.
Definition at line 35 of file src/include/aerospike/as_udf.h.
typedef char as_udf_function_name[AS_UDF_FUNCTION_MAX_SIZE] |
UDF Function Name
Definition at line 84 of file src/include/aerospike/as_udf.h.
typedef char as_udf_module_name[AS_UDF_MODULE_MAX_SIZE] |
UDF Module Name
Definition at line 79 of file src/include/aerospike/as_udf.h.
enum as_udf_type |
Enumeration of UDF types
Enumerator | |
---|---|
AS_UDF_TYPE_LUA |
Lua |
AS_UDF_TYPE_LUA |
Lua |
Definition at line 117 of file src/include/aerospike/as_udf.h.
void as_udf_call_destroy | ( | as_udf_call * | call | ) |
Destroy an as_udf_call.
as_udf_call* as_udf_call_init | ( | as_udf_call * | call, |
const as_udf_module_name | module, | ||
const as_udf_function_name | function, | ||
as_list * | arglist | ||
) |
Initialize a stack allocated as_udf_call.
call | The call to initialize. |
module | The UDF module. |
function | The UDF function. |
arglist | The UDF argument list. |
as_udf_call* as_udf_call_new | ( | const as_udf_module_name | module, |
const as_udf_function_name | function, | ||
as_list * | arglist | ||
) |
Creates a new heap allocated as_udf_call.
module | The UDF module. |
function | The UDF function. |
arglist | The UDF argument list. |
void as_udf_file_destroy | ( | as_udf_file * | file | ) |
Destroy an as_udf_file.
as_udf_file* as_udf_file_init | ( | as_udf_file * | file | ) |
Initialize a stack allocated as_udf_file.
as_udf_file* as_udf_file_new | ( | ) |
Creates a new heap allocated as_udf_file.
void as_udf_files_destroy | ( | as_udf_files * | files | ) |
Destroy an as_udf_files.
as_udf_files* as_udf_files_init | ( | as_udf_files * | files, |
uint32_t | capacity | ||
) |
Initialize a stack allocated as_udf_files.
as_udf_files* as_udf_files_new | ( | uint32_t | capacity | ) |
Creates a new heap allocated as_udf_files.