Class ContextPartitionIdentifier

java.lang.Object
com.espertech.esper.common.client.context.ContextPartitionIdentifier
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ContextPartitionIdentifierCategory, ContextPartitionIdentifierHash, ContextPartitionIdentifierInitiatedTerminated, ContextPartitionIdentifierNested, ContextPartitionIdentifierPartitioned

public abstract class ContextPartitionIdentifier extends Object implements Serializable
Context partition identifiers are provided by the API when interrogating context partitions for a given statement.
See Also:
  • Constructor Details

    • ContextPartitionIdentifier

      public ContextPartitionIdentifier()
      Ctor.
  • Method Details

    • compareTo

      public abstract boolean compareTo(ContextPartitionIdentifier identifier)
      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

      public Integer 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

      public void setContextPartitionId(Integer contextPartitionId)
      Sets the context partition id - this set method is for runtime-internal use.
      Parameters:
      contextPartitionId - context partition id