Skip to content

Commit 29832e5

Browse files
jjoyce0510hsheth2Dexter Leegabe-lyons
authored
feat(Product Analytics): Introducing In-App Analytics Beta (datahub-project#2499)
Co-authored-by: Harshal Sheth <harshal@acryl.io> Co-authored-by: Dexter Lee <dexter@acryl.io> Co-authored-by: Gabe Lyons <itsgabelyons@gmail.com>
1 parent 36922c1 commit 29832e5

File tree

132 files changed

+19304
-10874
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+19304
-10874
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package graphql;
2+
3+
4+
@javax.annotation.Generated(
5+
value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
6+
date = "2021-05-03T10:56:06-0700"
7+
)
8+
public interface AnalyticsChart {
9+
10+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
package graphql;
2+
3+
4+
@javax.annotation.Generated(
5+
value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
6+
date = "2021-05-03T10:56:06-0700"
7+
)
8+
public class AnalyticsChartGroup implements java.io.Serializable {
9+
10+
private String title;
11+
private java.util.List<AnalyticsChart> charts;
12+
13+
public AnalyticsChartGroup() {
14+
}
15+
16+
public AnalyticsChartGroup(String title, java.util.List<AnalyticsChart> charts) {
17+
this.title = title;
18+
this.charts = charts;
19+
}
20+
21+
public String getTitle() {
22+
return title;
23+
}
24+
public void setTitle(String title) {
25+
this.title = title;
26+
}
27+
28+
public java.util.List<AnalyticsChart> getCharts() {
29+
return charts;
30+
}
31+
public void setCharts(java.util.List<AnalyticsChart> charts) {
32+
this.charts = charts;
33+
}
34+
35+
36+
37+
public static AnalyticsChartGroup.Builder builder() {
38+
return new AnalyticsChartGroup.Builder();
39+
}
40+
41+
public static class Builder {
42+
43+
private String title;
44+
private java.util.List<AnalyticsChart> charts;
45+
46+
public Builder() {
47+
}
48+
49+
public Builder setTitle(String title) {
50+
this.title = title;
51+
return this;
52+
}
53+
54+
public Builder setCharts(java.util.List<AnalyticsChart> charts) {
55+
this.charts = charts;
56+
return this;
57+
}
58+
59+
60+
public AnalyticsChartGroup build() {
61+
return new AnalyticsChartGroup(title, charts);
62+
}
63+
64+
}
65+
}
+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
package graphql;
2+
3+
4+
@javax.annotation.Generated(
5+
value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
6+
date = "2021-05-03T10:56:06-0700"
7+
)
8+
public class BarChart implements java.io.Serializable, AnalyticsChart {
9+
10+
private String title;
11+
private java.util.List<NamedBar> bars;
12+
13+
public BarChart() {
14+
}
15+
16+
public BarChart(String title, java.util.List<NamedBar> bars) {
17+
this.title = title;
18+
this.bars = bars;
19+
}
20+
21+
public String getTitle() {
22+
return title;
23+
}
24+
public void setTitle(String title) {
25+
this.title = title;
26+
}
27+
28+
public java.util.List<NamedBar> getBars() {
29+
return bars;
30+
}
31+
public void setBars(java.util.List<NamedBar> bars) {
32+
this.bars = bars;
33+
}
34+
35+
36+
37+
public static BarChart.Builder builder() {
38+
return new BarChart.Builder();
39+
}
40+
41+
public static class Builder {
42+
43+
private String title;
44+
private java.util.List<NamedBar> bars;
45+
46+
public Builder() {
47+
}
48+
49+
public Builder setTitle(String title) {
50+
this.title = title;
51+
return this;
52+
}
53+
54+
public Builder setBars(java.util.List<NamedBar> bars) {
55+
this.bars = bars;
56+
return this;
57+
}
58+
59+
60+
public BarChart build() {
61+
return new BarChart(title, bars);
62+
}
63+
64+
}
65+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
package graphql;
2+
3+
4+
@javax.annotation.Generated(
5+
value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
6+
date = "2021-05-03T10:56:06-0700"
7+
)
8+
public class BarSegment implements java.io.Serializable {
9+
10+
private String label;
11+
private int value;
12+
13+
public BarSegment() {
14+
}
15+
16+
public BarSegment(String label, int value) {
17+
this.label = label;
18+
this.value = value;
19+
}
20+
21+
public String getLabel() {
22+
return label;
23+
}
24+
public void setLabel(String label) {
25+
this.label = label;
26+
}
27+
28+
public int getValue() {
29+
return value;
30+
}
31+
public void setValue(int value) {
32+
this.value = value;
33+
}
34+
35+
36+
37+
public static BarSegment.Builder builder() {
38+
return new BarSegment.Builder();
39+
}
40+
41+
public static class Builder {
42+
43+
private String label;
44+
private int value;
45+
46+
public Builder() {
47+
}
48+
49+
public Builder setLabel(String label) {
50+
this.label = label;
51+
return this;
52+
}
53+
54+
public Builder setValue(int value) {
55+
this.value = value;
56+
return this;
57+
}
58+
59+
60+
public BarSegment build() {
61+
return new BarSegment(label, value);
62+
}
63+
64+
}
65+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
package graphql;
2+
3+
@javax.annotation.Generated(
4+
value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
5+
date = "2021-05-03T10:56:06-0700"
6+
)
7+
public enum DateInterval {
8+
9+
SECOND("SECOND"),
10+
MINUTE("MINUTE"),
11+
HOUR("HOUR"),
12+
DAY("DAY"),
13+
WEEK("WEEK"),
14+
MONTH("MONTH"),
15+
YEAR("YEAR");
16+
17+
private final String graphqlName;
18+
19+
private DateInterval(String graphqlName) {
20+
this.graphqlName = graphqlName;
21+
}
22+
23+
@Override
24+
public String toString() {
25+
return this.graphqlName;
26+
}
27+
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
package graphql;
2+
3+
4+
@javax.annotation.Generated(
5+
value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
6+
date = "2021-05-03T10:56:06-0700"
7+
)
8+
public class DateRange implements java.io.Serializable {
9+
10+
private String start;
11+
private String end;
12+
13+
public DateRange() {
14+
}
15+
16+
public DateRange(String start, String end) {
17+
this.start = start;
18+
this.end = end;
19+
}
20+
21+
public String getStart() {
22+
return start;
23+
}
24+
public void setStart(String start) {
25+
this.start = start;
26+
}
27+
28+
public String getEnd() {
29+
return end;
30+
}
31+
public void setEnd(String end) {
32+
this.end = end;
33+
}
34+
35+
36+
37+
public static DateRange.Builder builder() {
38+
return new DateRange.Builder();
39+
}
40+
41+
public static class Builder {
42+
43+
private String start;
44+
private String end;
45+
46+
public Builder() {
47+
}
48+
49+
public Builder setStart(String start) {
50+
this.start = start;
51+
return this;
52+
}
53+
54+
public Builder setEnd(String end) {
55+
this.end = end;
56+
return this;
57+
}
58+
59+
60+
public DateRange build() {
61+
return new DateRange(start, end);
62+
}
63+
64+
}
65+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package graphql;
2+
3+
4+
@javax.annotation.Generated(
5+
value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
6+
date = "2021-05-03T10:56:06-0700"
7+
)
8+
public interface GetAnalyticsChartsQueryResolver {
9+
10+
java.util.List<AnalyticsChartGroup> getAnalyticsCharts() throws Exception;
11+
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package graphql;
2+
3+
4+
@javax.annotation.Generated(
5+
value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
6+
date = "2021-05-03T10:56:06-0700"
7+
)
8+
public interface GetHighlightsQueryResolver {
9+
10+
java.util.List<Highlight> getHighlights() throws Exception;
11+
12+
}

0 commit comments

Comments
 (0)