Package dev.gmitch215.bytebox.binding
Class AnalyticsEngine.DataPoint
java.lang.Object
dev.gmitch215.bytebox.binding.AnalyticsEngine.DataPoint
- Enclosing interface:
AnalyticsEngine
A data point under construction.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionAdds a string field.Sets the index queries group by.number(double value) Adds a numeric field.static AnalyticsEngine.DataPointof()Returns an empty data point.
-
Method Details
-
of
Returns an empty data point.- Returns:
- an empty data point
-
index
Sets the index queries group by. At most one, and at most 96 bytes.- Parameters:
value- the index- Returns:
- this point
-
blob
Adds a string field. At most 20, and 5120 bytes across all of them.- Parameters:
value- the value- Returns:
- this point
-
number
Adds a numeric field. At most 20.- Parameters:
value- the value- Returns:
- this point
-