File tree 2 files changed +27
-0
lines changed
src/Nest/XPack/MachineLearning/Datafeed
2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,12 @@ public class DatafeedStats
23
23
24
24
[ DataMember ( Name = "timing_stats" ) ]
25
25
public DatafeedTimingStats TimingStats { get ; internal set ; }
26
+
27
+ /// <summary>
28
+ /// The running state for the datafeed. It is only provided if the {dfeed} is started.
29
+ /// </summary>
30
+ [ DataMember ( Name = "running_state" ) ]
31
+ public RunningState RunningState { get ; internal set ; }
26
32
}
27
33
28
34
[ DataContract ]
Original file line number Diff line number Diff line change
1
+ // Licensed to Elasticsearch B.V under one or more agreements.
2
+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
+ // See the LICENSE file in the project root for more information
4
+
5
+ using System . Runtime . Serialization ;
6
+
7
+ namespace Nest
8
+ {
9
+ /// <summary>
10
+ /// The running state for a datafeed once started.
11
+ /// </summary>
12
+ [ DataContract ]
13
+ public class RunningState
14
+ {
15
+ [ DataMember ( Name = "is_real_time" ) ]
16
+ public bool IsRealTime { get ; internal set ; }
17
+
18
+ [ DataMember ( Name = "look_back_finished" ) ]
19
+ public bool LoopBackFinished { get ; internal set ; }
20
+ }
21
+ }
You can’t perform that action at this time.
0 commit comments