Class ContextPartitionIdentifierPartitioned

java.lang.Object
com.espertech.esper.common.client.context.ContextPartitionIdentifier
com.espertech.esper.common.client.context.ContextPartitionIdentifierPartitioned
All Implemented Interfaces:
Serializable

public class ContextPartitionIdentifierPartitioned extends ContextPartitionIdentifier
Context partition identifier for segmented contexts.
See Also:
  • Constructor Details

    • ContextPartitionIdentifierPartitioned

      public ContextPartitionIdentifierPartitioned()
      Ctor.
    • ContextPartitionIdentifierPartitioned

      public ContextPartitionIdentifierPartitioned(Object[] keys)
      Ctor.
      Parameters:
      keys - partitioning keys
  • Method Details

    • getKeys

      public Object[] getKeys()
      Returns the partition keys.
      Returns:
      keys
    • setKeys

      public void setKeys(Object[] keys)
      Sets the partition keys.
      Parameters:
      keys - to set
    • compareTo

      public boolean compareTo(ContextPartitionIdentifier other)
      Description copied from class: ContextPartitionIdentifier
      Compare identifiers returning a boolean indicator whether identifier information matches.
      Specified by:
      compareTo in class ContextPartitionIdentifier
      Parameters:
      other - to compare to
      Returns:
      true for objects identifying the same context partition (could be different context)
    • toString

      public String toString()
      Overrides:
      toString in class Object