Field Data

Field Data

Synopsis


#include <libtracker-common/tracker-field-data.h>

                    TrackerFieldData;
TrackerFieldData*   tracker_field_data_new              (void);
const gchar*        tracker_field_data_get_alias        (TrackerFieldData *field_data);
TrackerFieldType    tracker_field_data_get_data_type    (TrackerFieldData *field_data);
const gchar*        tracker_field_data_get_field_name   (TrackerFieldData *field_data);
const gchar*        tracker_field_data_get_id_field     (TrackerFieldData *field_data);
gboolean            tracker_field_data_get_is_condition (TrackerFieldData *field_data);
gboolean            tracker_field_data_get_is_select    (TrackerFieldData *field_data);
gboolean            tracker_field_data_get_multiple_values
                                                        (TrackerFieldData *field_data);
gboolean            tracker_field_data_get_needs_join   (TrackerFieldData *field_data);
const gchar*        tracker_field_data_get_select_field (TrackerFieldData *field_data);
const gchar*        tracker_field_data_get_table_name   (TrackerFieldData *field_data);
const gchar*        tracker_field_data_get_where_field  (TrackerFieldData *field_data);
void                tracker_field_data_set_alias        (TrackerFieldData *field_data,
                                                         const gchar *value);
void                tracker_field_data_set_data_type    (TrackerFieldData *field_data,
                                                         TrackerFieldType value);
void                tracker_field_data_set_field_name   (TrackerFieldData *field_data,
                                                         const gchar *value);
void                tracker_field_data_set_id_field     (TrackerFieldData *field_data,
                                                         const gchar *value);
void                tracker_field_data_set_is_condition (TrackerFieldData *field_data,
                                                         gboolean value);
void                tracker_field_data_set_is_select    (TrackerFieldData *field_data,
                                                         gboolean value);
void                tracker_field_data_set_multiple_values
                                                        (TrackerFieldData *field_data,
                                                         gboolean value);
void                tracker_field_data_set_needs_join   (TrackerFieldData *field_data,
                                                         gboolean value);
void                tracker_field_data_set_select_field (TrackerFieldData *field_data,
                                                         const gchar *value);
void                tracker_field_data_set_table_name   (TrackerFieldData *field_data,
                                                         const gchar *value);
void                tracker_field_data_set_where_field  (TrackerFieldData *field_data,
                                                         const gchar *value);

Object Hierarchy

  GObject
   +----TrackerFieldData

Properties

  "alias"                    gchar*                : Read / Write
  "data-type"                TrackerFieldType      : Read / Write
  "field-name"               gchar*                : Read / Write
  "id-field"                 gchar*                : Read / Write
  "is-condition"             gboolean              : Read / Write
  "is-select"                gboolean              : Read / Write
  "multiple-values"          gboolean              : Read / Write
  "needs-join"               gboolean              : Read / Write
  "select-field"             gchar*                : Read / Write
  "table-name"               gchar*                : Read / Write
  "where-field"              gchar*                : Read / Write

Description

Details

TrackerFieldData

typedef struct _TrackerFieldData TrackerFieldData;


tracker_field_data_new ()

TrackerFieldData*   tracker_field_data_new              (void);

Returns :

tracker_field_data_get_alias ()

const gchar*        tracker_field_data_get_alias        (TrackerFieldData *field_data);

field_data :
Returns :

tracker_field_data_get_data_type ()

TrackerFieldType    tracker_field_data_get_data_type    (TrackerFieldData *field_data);

field_data :
Returns :

tracker_field_data_get_field_name ()

const gchar*        tracker_field_data_get_field_name   (TrackerFieldData *field_data);

field_data :
Returns :

tracker_field_data_get_id_field ()

const gchar*        tracker_field_data_get_id_field     (TrackerFieldData *field_data);

field_data :
Returns :

tracker_field_data_get_is_condition ()

gboolean            tracker_field_data_get_is_condition (TrackerFieldData *field_data);

field_data :
Returns :

tracker_field_data_get_is_select ()

gboolean            tracker_field_data_get_is_select    (TrackerFieldData *field_data);

field_data :
Returns :

tracker_field_data_get_multiple_values ()

gboolean            tracker_field_data_get_multiple_values
                                                        (TrackerFieldData *field_data);

field_data :
Returns :

tracker_field_data_get_needs_join ()

gboolean            tracker_field_data_get_needs_join   (TrackerFieldData *field_data);

field_data :
Returns :

tracker_field_data_get_select_field ()

const gchar*        tracker_field_data_get_select_field (TrackerFieldData *field_data);

field_data :
Returns :

tracker_field_data_get_table_name ()

const gchar*        tracker_field_data_get_table_name   (TrackerFieldData *field_data);

field_data :
Returns :

tracker_field_data_get_where_field ()

const gchar*        tracker_field_data_get_where_field  (TrackerFieldData *field_data);

field_data :
Returns :

tracker_field_data_set_alias ()

void                tracker_field_data_set_alias        (TrackerFieldData *field_data,
                                                         const gchar *value);

field_data :
value :

tracker_field_data_set_data_type ()

void                tracker_field_data_set_data_type    (TrackerFieldData *field_data,
                                                         TrackerFieldType value);

field_data :
value :

tracker_field_data_set_field_name ()

void                tracker_field_data_set_field_name   (TrackerFieldData *field_data,
                                                         const gchar *value);

field_data :
value :

tracker_field_data_set_id_field ()

void                tracker_field_data_set_id_field     (TrackerFieldData *field_data,
                                                         const gchar *value);

field_data :
value :

tracker_field_data_set_is_condition ()

void                tracker_field_data_set_is_condition (TrackerFieldData *field_data,
                                                         gboolean value);

field_data :
value :

tracker_field_data_set_is_select ()

void                tracker_field_data_set_is_select    (TrackerFieldData *field_data,
                                                         gboolean value);

field_data :
value :

tracker_field_data_set_multiple_values ()

void                tracker_field_data_set_multiple_values
                                                        (TrackerFieldData *field_data,
                                                         gboolean value);

field_data :
value :

tracker_field_data_set_needs_join ()

void                tracker_field_data_set_needs_join   (TrackerFieldData *field_data,
                                                         gboolean value);

field_data :
value :

tracker_field_data_set_select_field ()

void                tracker_field_data_set_select_field (TrackerFieldData *field_data,
                                                         const gchar *value);

field_data :
value :

tracker_field_data_set_table_name ()

void                tracker_field_data_set_table_name   (TrackerFieldData *field_data,
                                                         const gchar *value);

field_data :
value :

tracker_field_data_set_where_field ()

void                tracker_field_data_set_where_field  (TrackerFieldData *field_data,
                                                         const gchar *value);

field_data :
value :

Property Details

The "alias" property

  "alias"                    gchar*                : Read / Write

A name for this field data.

Default value: NULL


The "data-type" property

  "data-type"                TrackerFieldType      : Read / Write

TrackerField type.

Default value: TRACKER_FIELD_TYPE_INDEX


The "field-name" property

  "field-name"               gchar*                : Read / Write

Field name.

Default value: NULL


The "id-field" property

  "id-field"                 gchar*                : Read / Write

ID field.

Default value: NULL


The "is-condition" property

  "is-condition"             gboolean              : Read / Write

Is condition.

Default value: FALSE


The "is-select" property

  "is-select"                gboolean              : Read / Write

Is select.

Default value: FALSE


The "multiple-values" property

  "multiple-values"          gboolean              : Read / Write

Multiple values.

Default value: FALSE


The "needs-join" property

  "needs-join"               gboolean              : Read / Write

Needs join.

Default value: FALSE


The "select-field" property

  "select-field"             gchar*                : Read / Write

Select field.

Default value: NULL


The "table-name" property

  "table-name"               gchar*                : Read / Write

Table name.

Default value: NULL


The "where-field" property

  "where-field"              gchar*                : Read / Write

Where field.

Default value: NULL