File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
src/main/java/org/apache/skywalking/banyandb/v1/client Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 31
31
32
32
public abstract class AbstractWrite <P extends com .google .protobuf .GeneratedMessageV3 > {
33
33
/**
34
- * Timestamp represents the time of current stream
35
- * in the timeunit of milliseconds.
36
- *
37
- * Measure and stream require timestamp.
38
- * Trace doesn't require extra timestamp.
34
+ * Timestamp represents the time of the current data point, in milliseconds.
35
+ * <p>
36
+ * <b>When to set:</b>
37
+ * <ul>
38
+ * <li><b>Stream and Measure writes:</b> This field <i>must</i> be set to indicate the event time.</li>
39
+ * <li><b>Trace writes:</b> This field is <i>not needed</i> and should be left unset; trace data does not require an explicit timestamp here.</li>
40
+ * </ul>
39
41
*/
40
42
@ Getter
41
43
protected Optional <Long > timestamp ;
You can’t perform that action at this time.
0 commit comments