Groonga
Loading...
Searching...
No Matches
window_function.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _grn_window_definition
 

Typedefs

typedef struct _grn_window grn_window
 
typedef struct _grn_window_definition grn_window_definition
 
typedef grn_rc grn_window_function_func(grn_ctx *ctx, grn_obj *first_output_column, grn_window *window, grn_obj **first_args, int first_n_args)
 

Enumerations

enum  grn_window_direction { GRN_WINDOW_DIRECTION_ASCENDING , GRN_WINDOW_DIRECTION_DESCENDING }
 

Functions

GRN_API grn_id grn_window_next (grn_ctx *ctx, grn_window *window)
 
GRN_API grn_rc grn_window_rewind (grn_ctx *ctx, grn_window *window)
 
GRN_API grn_rc grn_window_set_direction (grn_ctx *ctx, grn_window *window, grn_window_direction direction)
 
GRN_API grn_objgrn_window_get_table (grn_ctx *ctx, grn_window *window)
 
GRN_API bool grn_window_is_context_table (grn_ctx *ctx, grn_window *window)
 
GRN_API grn_objgrn_window_get_output_column (grn_ctx *ctx, grn_window *window)
 
GRN_API size_t grn_window_get_n_arguments (grn_ctx *ctx, grn_window *window)
 
GRN_API grn_objgrn_window_get_argument (grn_ctx *ctx, grn_window *window, size_t i)
 
GRN_API bool grn_window_is_sorted (grn_ctx *ctx, grn_window *window)
 
GRN_API bool grn_window_is_value_changed (grn_ctx *ctx, grn_window *window)
 
GRN_API size_t grn_window_get_size (grn_ctx *ctx, grn_window *window)
 
GRN_API grn_objgrn_window_function_create (grn_ctx *ctx, const char *name, int name_size, grn_window_function_func *func)
 
GRN_API grn_rc grn_table_apply_window_function (grn_ctx *ctx, grn_obj *table, grn_obj *output_column, grn_window_definition *definition, grn_obj *window_function_call)
 

Typedef Documentation

◆ grn_window

typedef struct _grn_window grn_window

◆ grn_window_definition

◆ grn_window_function_func

typedef grn_rc grn_window_function_func(grn_ctx *ctx, grn_obj *first_output_column, grn_window *window, grn_obj **first_args, int first_n_args)

Enumeration Type Documentation

◆ grn_window_direction

Enumerator
GRN_WINDOW_DIRECTION_ASCENDING 
GRN_WINDOW_DIRECTION_DESCENDING 

Function Documentation

◆ grn_table_apply_window_function()

GRN_API grn_rc grn_table_apply_window_function ( grn_ctx ctx,
grn_obj table,
grn_obj output_column,
grn_window_definition definition,
grn_obj window_function_call 
)

◆ grn_window_function_create()

GRN_API grn_obj * grn_window_function_create ( grn_ctx ctx,
const char *  name,
int  name_size,
grn_window_function_func func 
)

◆ grn_window_get_argument()

GRN_API grn_obj * grn_window_get_argument ( grn_ctx ctx,
grn_window window,
size_t  i 
)

◆ grn_window_get_n_arguments()

GRN_API size_t grn_window_get_n_arguments ( grn_ctx ctx,
grn_window window 
)

◆ grn_window_get_output_column()

GRN_API grn_obj * grn_window_get_output_column ( grn_ctx ctx,
grn_window window 
)

◆ grn_window_get_size()

GRN_API size_t grn_window_get_size ( grn_ctx ctx,
grn_window window 
)

◆ grn_window_get_table()

GRN_API grn_obj * grn_window_get_table ( grn_ctx ctx,
grn_window window 
)

◆ grn_window_is_context_table()

GRN_API bool grn_window_is_context_table ( grn_ctx ctx,
grn_window window 
)

◆ grn_window_is_sorted()

GRN_API bool grn_window_is_sorted ( grn_ctx ctx,
grn_window window 
)

◆ grn_window_is_value_changed()

GRN_API bool grn_window_is_value_changed ( grn_ctx ctx,
grn_window window 
)

◆ grn_window_next()

GRN_API grn_id grn_window_next ( grn_ctx ctx,
grn_window window 
)

◆ grn_window_rewind()

GRN_API grn_rc grn_window_rewind ( grn_ctx ctx,
grn_window window 
)

◆ grn_window_set_direction()

GRN_API grn_rc grn_window_set_direction ( grn_ctx ctx,
grn_window window,
grn_window_direction  direction 
)