All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.treasuredata.android.cdp.Profile Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
package com.treasuredata.android.cdp;

import java.util.List;
import java.util.Map;

/**
 * Represent a profile in segments looked-up's result,
 */
public interface Profile {
    /**
     * @return Segment IDs where this profile belongs
     */
    List getSegments();

    /**
     * @return This profile's attributes
     */
    Map getAttributes();

    /**
     * @return Key columns : values of segments
     */
    Key getKey();

    /**
     * @return ID of the Master Segment
     */
    String getAudienceId();

    interface Key {

        /**
         * @return Name of key column
         */
        String getName();

        /**
         * @return Key value of the looked up profile
         */
        Object getValue();

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy