Module org.elasticsearch.xcore
Class DataFrameAnalyticsConfig
java.lang.Object
org.elasticsearch.xpack.core.ml.dataframe.DataFrameAnalyticsConfig
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, 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 ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final Stringstatic final Stringstatic final ParseFieldstatic final ParseFieldstatic final ByteSizeValuestatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ObjectParser<DataFrameAnalyticsConfig.Builder, Void> static final ParseFieldstatic final ParseFieldstatic final ByteSizeValuestatic final ParseFieldstatic final ByteSizeValueThis includes the overhead of thread stacks and data structures that the program might use that are not instrumented.static final ParseFieldstatic final ObjectParser<DataFrameAnalyticsConfig.Builder, Void> static final Stringstatic final 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()toXContent(XContentBuilder builder, 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
-
DESCRIPTION
-
SOURCE
-
DEST
-
ANALYSIS
-
CONFIG_TYPE
-
ANALYZED_FIELDS
-
MODEL_MEMORY_LIMIT
-
HEADERS
-
CREATE_TIME
-
VERSION
-
ALLOW_LAZY_START
-
MAX_NUM_THREADS
-
META
-
STRICT_PARSER
-
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 XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- 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.
-