hyle_field_t(3)libhyle

NAME

hyle_field_t - Per-field descriptor and validation constraints.

SYNOPSIS

#include <field.h>

Data Fields

const char * name
hyle_field_type_t type
int writable
const char * target_source
const char * inverse_name
int required
int64_t min
int64_t max
size_t min_length
size_t max_length
const char * pattern
int searchable
const char * derive_key
int search_weight

Detailed Description

Per-field descriptor and validation constraints.

Field Documentation

const char* hyle_field_t::derive_key

Key that selects a derive provider for derived fields.

const char* hyle_field_t::inverse_name

Name of the inverse field for HYLE_FIELD_INVERSE.

int64_t hyle_field_t::max

Inclusive upper bound for integer fields.

size_t hyle_field_t::max_length

Maximum length for string fields.

int64_t hyle_field_t::min

Inclusive lower bound for integer fields.

size_t hyle_field_t::min_length

Minimum length for string fields.

const char* hyle_field_t::name

Field name.

const char* hyle_field_t::pattern

POSIX extended regex that string values must match.

int hyle_field_t::required

Non-zero when a value is mandatory for the field.

int hyle_field_t::search_weight

Custom search ranking weight (0 = auto-calculated based on kind/display).

int hyle_field_t::searchable

Non-zero when the field participates in full-text search.

const char* hyle_field_t::target_source

Source id referenced by reference-typed fields.

hyle_field_type_t hyle_field_t::type

Storage and matching category of the field.

int hyle_field_t::writable

Non-zero when the field may be written by clients.

Author

Generated automatically by Doxygen for libhyle from the source code.