com.espertech.esper.client.context
Class ContextPartitionIdentifier

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

public abstract class ContextPartitionIdentifier
extends java.lang.Object
implements java.io.Serializable

Context partition identifiers are provided by the API when interrogating context partitions for a given statement.

See Also:
Serialized Form

Constructor Summary
ContextPartitionIdentifier()
          Ctor.
 
Method Summary
abstract  boolean compareTo(ContextPartitionIdentifier identifier)
          Compare identifiers returning a boolean indicator whether identifier information matches.
 java.lang.Integer getContextPartitionId()
          Returns the context partition id.
 void setContextPartitionId(java.lang.Integer contextPartitionId)
          Sets the context partition id - this set method is for engine-internal use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextPartitionIdentifier

public ContextPartitionIdentifier()
Ctor.

Method Detail

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 java.lang.Integer getContextPartitionId()
Returns the context partition id.

Returns:
context partition id

setContextPartitionId

public void setContextPartitionId(java.lang.Integer contextPartitionId)
Sets the context partition id - this set method is for engine-internal use.

Parameters:
contextPartitionId - context partition id

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com