Class ContextPartitionIdentifier
java.lang.Object
com.espertech.esper.common.client.context.ContextPartitionIdentifier
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ContextPartitionIdentifierCategory
,ContextPartitionIdentifierHash
,ContextPartitionIdentifierInitiatedTerminated
,ContextPartitionIdentifierNested
,ContextPartitionIdentifierPartitioned
Context partition identifiers are provided by the API when interrogating context partitions for a given statement.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
compareTo
(ContextPartitionIdentifier identifier) Compare identifiers returning a boolean indicator whether identifier information matches.Returns the context partition id, when available.void
setContextPartitionId
(Integer contextPartitionId) Sets the context partition id - this set method is for runtime-internal use.
-
Constructor Details
-
ContextPartitionIdentifier
public ContextPartitionIdentifier()Ctor.
-
-
Method Details
-
compareTo
Compare identifiers returning a boolean indicator whether identifier information matches.- Parameters:
identifier
- to compare to- Returns:
- true for objects identifying the same context partition (could be different context)
-
getContextPartitionId
Returns the context partition id, when available. This value may be null when a context partition id has not been assigned or is not available. This value is always provided for use with filters.- Returns:
- context partition id
-
setContextPartitionId
Sets the context partition id - this set method is for runtime-internal use.- Parameters:
contextPartitionId
- context partition id
-