Module org.elasticsearch.xcore
Class TransformProgress
java.lang.Object
org.elasticsearch.xpack.core.transform.transforms.TransformProgress
- 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 ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ConstructingObjectParser<TransformProgress, Void> static final Stringstatic final ParseFieldFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionTransformProgress(Long totalDocs, Long documentsProcessed, Long documentsIndexed) TransformProgress(Long totalDocs, Long docsRemaining, Long documentsProcessed, Long documentsIndexed) TransformProgress(TransformProgress otherProgress) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonglonginthashCode()voidincrementDocsIndexed(long numDocumentsIndexed) voidincrementDocsProcessed(long docsProcessed) toString()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
-
TOTAL_DOCS
-
DOCS_REMAINING
-
DOCS_PROCESSED
-
DOCS_INDEXED
-
PERCENT_COMPLETE
- See Also:
-
PARSER
-
-
Constructor Details
-
TransformProgress
public TransformProgress() -
TransformProgress
-
TransformProgress
-
TransformProgress
-
TransformProgress
- Throws:
IOException
-
-
Method Details
-
getPercentComplete
-
getTotalDocs
-
incrementDocsProcessed
public void incrementDocsProcessed(long docsProcessed) -
incrementDocsIndexed
public void incrementDocsIndexed(long numDocumentsIndexed) -
getDocumentsProcessed
public long getDocumentsProcessed() -
getDocumentsIndexed
public long getDocumentsIndexed() -
equals
-
hashCode
public int hashCode() -
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
toString
-