Class TransformCheckpointStats
- java.lang.Object
-
- org.elasticsearch.client.transform.transforms.TransformCheckpointStats
-
public class TransformCheckpointStats extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static ParseFieldCHECKPOINTstatic ParseFieldCHECKPOINT_PROGRESSstatic TransformCheckpointStatsEMPTYstatic ConstructingObjectParser<TransformCheckpointStats,Void>LENIENT_PARSERstatic ParseFieldPOSITIONstatic ParseFieldTIME_UPPER_BOUND_MILLISstatic ParseFieldTIMESTAMP_MILLIS
-
Constructor Summary
Constructors Constructor Description TransformCheckpointStats(long checkpoint, TransformIndexerPosition position, TransformProgress checkpointProgress, long timestampMillis, long timeUpperBoundMillis)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)static TransformCheckpointStatsfromXContent(XContentParser parser)longgetCheckpoint()TransformProgressgetCheckpointProgress()TransformIndexerPositiongetPosition()longgetTimestampMillis()longgetTimeUpperBoundMillis()inthashCode()
-
-
-
Field Detail
-
CHECKPOINT
public static final ParseField CHECKPOINT
-
POSITION
public static final ParseField POSITION
-
CHECKPOINT_PROGRESS
public static final ParseField CHECKPOINT_PROGRESS
-
TIMESTAMP_MILLIS
public static final ParseField TIMESTAMP_MILLIS
-
TIME_UPPER_BOUND_MILLIS
public static final ParseField TIME_UPPER_BOUND_MILLIS
-
EMPTY
public static final TransformCheckpointStats EMPTY
-
LENIENT_PARSER
public static final ConstructingObjectParser<TransformCheckpointStats,Void> LENIENT_PARSER
-
-
Constructor Detail
-
TransformCheckpointStats
public TransformCheckpointStats(long checkpoint, TransformIndexerPosition position, TransformProgress checkpointProgress, long timestampMillis, long timeUpperBoundMillis)
-
-
Method Detail
-
fromXContent
public static TransformCheckpointStats fromXContent(XContentParser parser) throws IOException
- Throws:
IOException
-
getCheckpoint
public long getCheckpoint()
-
getPosition
public TransformIndexerPosition getPosition()
-
getCheckpointProgress
public TransformProgress getCheckpointProgress()
-
getTimestampMillis
public long getTimestampMillis()
-
getTimeUpperBoundMillis
public long getTimeUpperBoundMillis()
-
-