Module org.elasticsearch.xcore
Class DataCounts
java.lang.Object
org.elasticsearch.xpack.core.ml.dataframe.stats.common.DataCounts
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
-
Nested Class Summary
Nested 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 ConstructingObjectParser<DataCounts, Void> static final ParseFieldstatic final ConstructingObjectParser<DataCounts, Void> static final ParseFieldstatic final ParseFieldstatic final StringFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionDataCounts(String jobId) DataCounts(String jobId, long trainingDocsCount, long testDocsCount, long skippedDocsCount) -
Method Summary
Modifier and TypeMethodDescriptionstatic StringdocumentId(String jobId) booleangetJobId()longlonglonginthashCode()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
TYPE_VALUE
- See Also:
-
TRAINING_DOCS_COUNT
-
TEST_DOCS_COUNT
-
SKIPPED_DOCS_COUNT
-
STRICT_PARSER
-
LENIENT_PARSER
-
-
Constructor Details
-
DataCounts
-
DataCounts
-
DataCounts
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
documentId
-
getJobId
-
getTrainingDocsCount
public long getTrainingDocsCount() -
getTestDocsCount
public long getTestDocsCount() -
getSkippedDocsCount
public long getSkippedDocsCount()
-