Functions | |
int | write_func_update_trig0 (message_data msg, size_t length) |
Writes the given msg to the server and retrieves integer from the received msg. | |
Datum | trigf (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (update_trig0) | |
Datum | update_trig0 (PG_FUNCTION_ARGS) |
Sends update data to the server as text data. | |
PG_FUNCTION_INFO_V1 (update_trig_bin0) | |
Datum | update_trig_bin0 (PG_FUNCTION_ARGS) |
Sends update data to the server as a binary. | |
Variables | |
PG_MODULE_MAGIC | |
const int | DEFAULT_SIZE = 1000 |
PG_FUNCTION_INFO_V1 | ( | update_trig_bin0 | ) |
PG_FUNCTION_INFO_V1 | ( | update_trig0 | ) |
Datum trigf | ( | PG_FUNCTION_ARGS | ) |
Datum update_trig0 | ( | PG_FUNCTION_ARGS | ) |
Sends update data to the server as text data.
[in] | training_example | training example in the svm text format |
Datum update_trig_bin0 | ( | PG_FUNCTION_ARGS | ) |
Sends update data to the server as a binary.
[in] | class | class of the training example |
[in] | vector | feature vector of the training example |
int write_func_update_trig0 | ( | message_data | msg, | |
size_t | length | |||
) |
Writes the given msg to the server and retrieves integer from the received msg.
[in] | msg | msg to be written to the server |
[in] | length | size of the msg |
const int DEFAULT_SIZE = 1000 |