FieldDto
- Print
- PDF
FieldDto
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
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
Field | Required | Type | Limitations | Description |
---|---|---|---|---|
name | Y | String | Product Schema Name | |
dataType | Y | DataType | When the field is Metric, it can be STRING , INTEGER , FLOAT , LONG , When the field is Dimension, it can be STRING | DataType |
metric | N | boolean | default : false | Indicate that the field is Metric |
dimension | N | boolean | default : false | Indicate that the field is Dimension |
counter | N | boolean | default : false | |
isIdDimension | N | boolean | default : false , One Dimension must be set to idDimension | The field can only be set when it is Dimension, and is separated by the Dimension when creating an Event Rule for a custom product. |
aggregations | N | Map<Interval, Set<Calculation>> | interval : Min1 , Min5 , Min30 , Hour2 , Day1 , Calculation : COUNT ,SUM ,MAX ,MIN ,AVG | This field can only be set when it is a Metric, and set interval and aggregation functions |
desc | N | String | Product 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?