public class PartitionKey
extends java.lang.Object
Constructor and Description |
---|
PartitionKey(java.lang.String source,
OddType oddType,
SportType sportType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static PartitionKey |
fromString(java.lang.String input) |
int |
hashCode()
HashCode of odd type, source, sport type
|
OddType |
oddType() |
java.lang.String |
source() |
SportType |
sportType() |
java.lang.String |
toString()
Kind of a string builder
|
public java.lang.String source()
public OddType oddType()
public SportType sportType()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static PartitionKey fromString(java.lang.String input)
input
- is a String consists of sport type, source, and odd type e.g TENNIS_CROWN_LIVEtoString()