Module org.elasticsearch.xcore
Class Detector.Builder
java.lang.Object
org.elasticsearch.xpack.core.ml.job.config.Detector.Builder
- Enclosing class:
Detector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setByFieldName(String byFieldName) setDetectorDescription(String detectorDescription) setDetectorIndex(int detectorIndex) setExcludeFrequent(Detector.ExcludeFrequent excludeFrequent) setFieldName(String fieldName) setFunction(String function) setOverFieldName(String overFieldName) setPartitionFieldName(String partitionFieldName) setRules(List<DetectionRule> rules) setUseNull(boolean useNull) static voidverifyFieldName(String field) Check that the characters used in a field name will not cause problems.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
Builder
-
Builder
-
-
Method Details
-
setDetectorDescription
-
setFunction
-
setFieldName
-
setByFieldName
-
setOverFieldName
-
setPartitionFieldName
-
setUseNull
-
setExcludeFrequent
-
setRules
-
setDetectorIndex
-
build
-
extractAnalysisFields
-
verifyFieldName
Check that the characters used in a field name will not cause problems.- Parameters:
field- The field name to be validated- Throws:
ElasticsearchParseException
-