Class TransformIndexerPosition
java.lang.Object
org.elasticsearch.client.transform.transforms.TransformIndexerPosition
public class TransformIndexerPosition
extends java.lang.Object
Holds state of the cursors:
indexer_position: the position of the indexer querying the source
bucket_position: the position used for identifying changes
-
Field Summary
Fields Modifier and Type Field Description static ParseField
BUCKET_POSITION
static ParseField
INDEXER_POSITION
static ConstructingObjectParser<TransformIndexerPosition,java.lang.Void>
PARSER
-
Constructor Summary
Constructors Constructor Description TransformIndexerPosition(java.util.Map<java.lang.String,java.lang.Object> indexerPosition, java.util.Map<java.lang.String,java.lang.Object> bucketPosition)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object other)
static TransformIndexerPosition
fromXContent(XContentParser parser)
java.util.Map<java.lang.String,java.lang.Object>
getBucketsPosition()
java.util.Map<java.lang.String,java.lang.Object>
getIndexerPosition()
int
hashCode()
-
Field Details
-
Constructor Details
-
TransformIndexerPosition
public TransformIndexerPosition(java.util.Map<java.lang.String,java.lang.Object> indexerPosition, java.util.Map<java.lang.String,java.lang.Object> bucketPosition)
-
-
Method Details
-
getIndexerPosition
public java.util.Map<java.lang.String,java.lang.Object> getIndexerPosition() -
getBucketsPosition
public java.util.Map<java.lang.String,java.lang.Object> getBucketsPosition() -
equals
public boolean equals(java.lang.Object other)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
fromXContent
-