Class TransformCheckpointStats
- java.lang.Object
-
- org.elasticsearch.client.transform.transforms.TransformCheckpointStats
-
public class TransformCheckpointStats extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ParseField
CHECKPOINT
static ParseField
CHECKPOINT_PROGRESS
static TransformCheckpointStats
EMPTY
static ConstructingObjectParser<TransformCheckpointStats,java.lang.Void>
LENIENT_PARSER
static ParseField
POSITION
static ParseField
TIME_UPPER_BOUND_MILLIS
static ParseField
TIMESTAMP_MILLIS
-
Constructor Summary
Constructors Constructor Description TransformCheckpointStats(long checkpoint, TransformIndexerPosition position, TransformProgress checkpointProgress, long timestampMillis, long timeUpperBoundMillis)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object other)
static TransformCheckpointStats
fromXContent(XContentParser parser)
long
getCheckpoint()
TransformProgress
getCheckpointProgress()
TransformIndexerPosition
getPosition()
long
getTimestampMillis()
long
getTimeUpperBoundMillis()
int
hashCode()
-
-
-
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,java.lang.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 java.io.IOException
- Throws:
java.io.IOException
-
getCheckpoint
public long getCheckpoint()
-
getPosition
public TransformIndexerPosition getPosition()
-
getCheckpointProgress
public TransformProgress getCheckpointProgress()
-
getTimestampMillis
public long getTimestampMillis()
-
getTimeUpperBoundMillis
public long getTimeUpperBoundMillis()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
-