public class SystemStream
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
stream |
protected java.lang.String |
system |
Constructor and Description |
---|
SystemStream(java.lang.String system,
java.lang.String stream)
Constructs a Samza stream object from specified components.
|
SystemStream(SystemStream other)
Constructs a Samza stream object based upon an existing Samza stream.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getStream() |
java.lang.String |
getSystem() |
int |
hashCode() |
java.lang.String |
toString() |
protected final java.lang.String system
protected final java.lang.String stream
public SystemStream(java.lang.String system, java.lang.String stream)
system
- The name of the system of which this stream is associated with.stream
- The name of the stream as specified in the stream configuration file.public SystemStream(SystemStream other)
other
- Reference to an already existing Samza stream.public java.lang.String getSystem()
public java.lang.String getStream()
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