Module org.elasticsearch.xcore
Class DataCounts
java.lang.Object
org.elasticsearch.xpack.core.ml.dataframe.stats.common.DataCounts
- All Implemented Interfaces:
Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested 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.ConstructingObjectParser<DataCounts, Void> static final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ConstructingObjectParser<DataCounts, Void> static final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.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()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, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
TYPE_VALUE
- See Also:
-
TRAINING_DOCS_COUNT
public static final org.elasticsearch.xcontent.ParseField TRAINING_DOCS_COUNT -
TEST_DOCS_COUNT
public static final org.elasticsearch.xcontent.ParseField TEST_DOCS_COUNT -
SKIPPED_DOCS_COUNT
public static final org.elasticsearch.xcontent.ParseField SKIPPED_DOCS_COUNT -
STRICT_PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<DataCounts,Void> STRICT_PARSER -
LENIENT_PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<DataCounts,Void> LENIENT_PARSER
-
-
Constructor Details
-
DataCounts
-
DataCounts
-
DataCounts
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
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
-
equals
-
hashCode
public int hashCode() -
documentId
-
getJobId
-
getTrainingDocsCount
public long getTrainingDocsCount() -
getTestDocsCount
public long getTestDocsCount() -
getSkippedDocsCount
public long getSkippedDocsCount()
-