All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Fields
as_module_hooks Struct Reference

Detailed Description

Module Interface Provide functions which interface with a module.

Definition at line 74 of file as_module.h.

#include "as_module.h"

+ Collaboration diagram for as_module_hooks:

Data Fields

int(* apply_record )(struct as_module_s *m, as_udf_context *ctx, const char *filename, const char *function, as_rec *rec, as_list *args, as_result *res)
 
int(* apply_stream )(struct as_module_s *m, as_udf_context *ctx, const char *filename, const char *function, as_stream *istream, as_list *args, as_stream *ostream, as_result *res)
 
int(* destroy )(struct as_module_s *m)
 
int(* update )(struct as_module_s *m, as_module_event *e)
 
int(* validate )(struct as_module_s *m, as_aerospike *as, const char *filename, const char *content, uint32_t size, as_module_error *err)
 

Field Documentation

int(* as_module_hooks::apply_record)(struct as_module_s *m, as_udf_context *ctx, const char *filename, const char *function, as_rec *rec, as_list *args, as_result *res)

Apply a function to a record

Definition at line 94 of file as_module.h.

int(* as_module_hooks::apply_stream)(struct as_module_s *m, as_udf_context *ctx, const char *filename, const char *function, as_stream *istream, as_list *args, as_stream *ostream, as_result *res)

Apply a function to a stream.

Definition at line 100 of file as_module.h.

int(* as_module_hooks::destroy)(struct as_module_s *m)

Free resources used by the module.

Definition at line 78 of file as_module.h.

int(* as_module_hooks::update)(struct as_module_s *m, as_module_event *e)

Dispatch an event to the module.

Definition at line 83 of file as_module.h.

int(* as_module_hooks::validate)(struct as_module_s *m, as_aerospike *as, const char *filename, const char *content, uint32_t size, as_module_error *err)

Apply a functio to a record

Definition at line 88 of file as_module.h.


The documentation for this struct was generated from the following file: