public class Delta extends java.lang.Object implements DataSignal.ProcessorConfig
Modifier and Type | Class and Description |
---|---|
static class |
Delta.OutputMode
Output modes for this data processor
|
static class |
Delta.State
Representation of the delta processor's internal state.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FIELD_MODE |
static java.lang.String |
FIELD_THRESHOLD |
Delta.OutputMode |
mode |
static java.lang.String |
SCHEME_NAME |
java.lang.Number |
threshold |
Constructor and Description |
---|
Delta(Delta.OutputMode mode,
java.lang.Number threshold)
Constructs a config object for the specific settings
|
Delta(java.util.Map<java.lang.String,java.lang.String> query)
Constructs a delta config object from a URI string
|
public static final java.lang.String SCHEME_NAME
public static final java.lang.String FIELD_MODE
public static final java.lang.String FIELD_THRESHOLD
public final Delta.OutputMode mode
public final java.lang.Number threshold
public Delta(java.util.Map<java.lang.String,java.lang.String> query)
query
- String-String map containing the fields from the URI stringpublic Delta(Delta.OutputMode mode, java.lang.Number threshold)
mode
- Operation mode of the processorthreshold
- Min distance from the reference value to allow the input to pass