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