Module org.elasticsearch.xcore
Class DataFrameAnalyticsConfig
java.lang.Object
org.elasticsearch.xpack.core.ml.dataframe.DataFrameAnalyticsConfig
- All Implemented Interfaces:
Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final Stringstatic final Stringstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final ByteSizeValuestatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ObjectParser<DataFrameAnalyticsConfig.Builder, Void> static final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final ByteSizeValuestatic final org.elasticsearch.xcontent.ParseFieldstatic final ByteSizeValueThis includes the overhead of thread stacks and data structures that the program might use that are not instrumented.static final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ObjectParser<DataFrameAnalyticsConfig.Builder, Void> static final Stringstatic final org.elasticsearch.xcontent.ParseFieldFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringdocumentId(String id) booleanstatic StringextractJobIdFromDocId(String docId) Returns the job id from the doc id.getDest()getId()getMeta()inthashCode()booleantoString()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
BLANK_ID
- See Also:
-
BLANK_DEST_INDEX
- See Also:
-
TYPE
- See Also:
-
DEFAULT_MODEL_MEMORY_LIMIT
-
MIN_MODEL_MEMORY_LIMIT
-
PROCESS_MEMORY_OVERHEAD
This includes the overhead of thread stacks and data structures that the program might use that are not instrumented. But it does NOT include the memory used by loading the executable code. -
ID
public static final org.elasticsearch.xcontent.ParseField ID -
DESCRIPTION
public static final org.elasticsearch.xcontent.ParseField DESCRIPTION -
SOURCE
public static final org.elasticsearch.xcontent.ParseField SOURCE -
DEST
public static final org.elasticsearch.xcontent.ParseField DEST -
ANALYSIS
public static final org.elasticsearch.xcontent.ParseField ANALYSIS -
CONFIG_TYPE
public static final org.elasticsearch.xcontent.ParseField CONFIG_TYPE -
ANALYZED_FIELDS
public static final org.elasticsearch.xcontent.ParseField ANALYZED_FIELDS -
MODEL_MEMORY_LIMIT
public static final org.elasticsearch.xcontent.ParseField MODEL_MEMORY_LIMIT -
HEADERS
public static final org.elasticsearch.xcontent.ParseField HEADERS -
CREATE_TIME
public static final org.elasticsearch.xcontent.ParseField CREATE_TIME -
VERSION
public static final org.elasticsearch.xcontent.ParseField VERSION -
ALLOW_LAZY_START
public static final org.elasticsearch.xcontent.ParseField ALLOW_LAZY_START -
MAX_NUM_THREADS
public static final org.elasticsearch.xcontent.ParseField MAX_NUM_THREADS -
META
public static final org.elasticsearch.xcontent.ParseField META -
STRICT_PARSER
public static final org.elasticsearch.xcontent.ObjectParser<DataFrameAnalyticsConfig.Builder,Void> STRICT_PARSER -
LENIENT_PARSER
public static final org.elasticsearch.xcontent.ObjectParser<DataFrameAnalyticsConfig.Builder,Void> LENIENT_PARSER
-
-
Constructor Details
-
DataFrameAnalyticsConfig
- Throws:
IOException
-
-
Method Details
-
getId
-
getDescription
-
getSource
-
getDest
-
getAnalysis
-
getAnalyzedFields
-
getModelMemoryLimit
-
getHeaders
-
getCreateTime
-
getVersion
-
isAllowLazyStart
public boolean isAllowLazyStart() -
getMaxNumThreads
-
getMeta
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-
documentId
-
extractJobIdFromDocId
Returns the job id from the doc id. Returnsnullif the doc id is invalid.
-