FieldDto
    • PDF

    FieldDto

    • PDF

    Article Summary

    The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.

    Description

    Required when creating/modifying Schema

    Syntax

    private String name;
    private DataType dataType;
    private boolean metric = false;
    private boolean dimension = false;
    private Boolean counter = false;
    private boolean isIdDimension = false;
    private Map<Interval, Set<Calculation>> aggregations;
    private String desc;
    

    Field

    FieldRequiredTypeLimitationsDescription
    nameYStringProduct Schema Name
    dataTypeYDataTypeWhen the field is Metric, it can be STRING, INTEGER, FLOAT, LONG, When the field is Dimension, it can be STRINGDataType
    metricNbooleandefault : falseIndicate that the field is Metric
    dimensionNbooleandefault : falseIndicate that the field is Dimension
    counterNbooleandefault : false
    isIdDimensionNbooleandefault : false, One Dimension must be set to idDimensionThe field can only be set when it is Dimension, and is separated by the Dimension when creating an Event Rule for a custom product.
    aggregationsNMap<Interval, Set<Calculation>>interval : Min1, Min5, Min30, Hour2, Day1, Calculation : COUNT,SUM,MAX,MIN,AVGThis field can only be set when it is a Metric, and set interval and aggregation functions
    descNStringProduct Schema Description

    참조: If no aggregates are set, default sets all aggregation functions to be performed for all interval as shown below.

    "aggregations": {
        "Min1": [
          "AVG",
          "SUM",
          "MIN",
          "MAX",
          "COUNT"
        ],
        "Min5": [
          "AVG",
          "SUM",
          "MIN",
          "MAX",
          "COUNT"
        ],
        "Min30": [
          "AVG",
          "SUM",
          "MIN",
          "MAX",
          "COUNT"
        ],
        "Hour2": [
          "AVG",
          "SUM",
          "MIN",
          "MAX",
          "COUNT"
        ],
        "Day1": [
          "AVG",
          "SUM",
          "MIN",
          "MAX",
          "COUNT"
        ]
    }
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.