creating attribute elemet/dimensions w/ C API

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • RE: creating attribute elemet/dimensions w/ C API

    Hello aimless,

    Please use:

    - to get the attribute dimension:

    LIBPALO_FUNC_R( get_attribute_dimension )( libpalo_err *err, CHAR_T
    **result, struct sock_obj *so, struct conversions *convs, const CHAR_T
    *database, const CHAR_T *dimension );

    - to get the attribute cube:

    LIBEXPORT libpalo_result LIBPALO_FUNC_R( get_attribute_cube )(
    libpalo_err *err, CHAR_T **result, struct sock_obj *so, struct
    conversions *convs, const CHAR_T *database, const CHAR_T *dimension );

    The first coordinate consists of elements of the attribute dimension.
    The second consists of the elements of the dimension.


    And to populate use:

    LIBEXPORT libpalo_result LIBPALO_FUNC_R( eadd_or_update )( libpalo_err
    *err, struct sock_obj *so, struct conversions *convs, const CHAR_T
    *database, const CHAR_T *dimension, const CHAR_T *dimension_element,
    dimension_add_or_update_element_mode mode, de_type type, const struct
    arg_consolidation_element_info_array consolidation_elements, palo_bool
    append_consolidation_elements );

    LIBEXPORT libpalo_result LIBPALO_FUNC_R( setdata )( libpalo_err *err,
    struct sock_obj *so, struct conversions *convs, const CHAR_T *database,
    const CHAR_T *cube, const struct arg_palo_dataset ds, splash_mode mode );

    But here you must use instead of dimension and cube the attribute dimension
    and attribute cube.

    Regards,
    Stephanie