public class OperatorKey extends Object implements Serializable, Comparable<OperatorKey>
Constructor and Description |
---|
OperatorKey() |
OperatorKey(String scope,
long id) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(OperatorKey o) |
boolean |
equals(Object obj) |
static OperatorKey |
fromString(String op) |
static OperatorKey |
genOpKey(String scope)
Utility function for creating operator keys.
|
long |
getId() |
String |
getScope() |
int |
hashCode() |
String |
toString() |
public String scope
public long id
public OperatorKey()
public OperatorKey(String scope, long id)
public String getScope()
public long getId()
public int compareTo(OperatorKey o)
compareTo
in interface Comparable<OperatorKey>
public static OperatorKey genOpKey(String scope)
scope
- Scope to use in creating the key.public static OperatorKey fromString(String op)
Copyright © 2007-2012 The Apache Software Foundation