All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
udf.h File Reference
#include <aerospike/as_bytes.h>
+ Include dependency graph for udf.h:

Go to the source code of this file.

Macros

#define WAIT_MS(__ms)   nanosleep((struct timespec[]){{0, __ms##000000}}, NULL)
 

Functions

bool udf_exists (const char *)
 
bool udf_put (const char *)
 
bool udf_readfile (const char *filename, as_bytes *content)
 
bool udf_remove (const char *)
 

Macro Definition Documentation

#define WAIT_MS (   __ms)    nanosleep((struct timespec[]){{0, __ms##000000}}, NULL)

Definition at line 5 of file udf.h.

Function Documentation

bool udf_exists ( const char *  )

Test if the UDF file exists on the server.

Parameters
thename of the file to test
bool udf_put ( const char *  )

Upload a UDF file to the server.

Parameters
thepath to the file to upload
bool udf_readfile ( const char *  filename,
as_bytes content 
)

Read a file's content into the as_bytes.

bool udf_remove ( const char *  )

Remove a UDF file from the server.

Parameters
thename of file to remove