public final class StartpointSpecific extends Startpoint
Startpoint
that represents a specific offset in a stream partition.Constructor and Description |
---|
StartpointSpecific(java.lang.String specificOffset)
Constructs a
Startpoint that represents a specific offset in a stream partition. |
Modifier and Type | Method and Description |
---|---|
<IN,OUT> OUT |
apply(IN input,
StartpointVisitor<IN,OUT> startpointVisitor)
Applies the
StartpointVisitor 's visit methods to the Startpoint
and returns the result of that operation. |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getSpecificOffset()
Getter for the specific offset.
|
int |
hashCode() |
java.lang.String |
toString() |
getCreationTimestamp
public StartpointSpecific(java.lang.String specificOffset)
Startpoint
that represents a specific offset in a stream partition.specificOffset
- Specific offset in a stream partition.public java.lang.String getSpecificOffset()
public <IN,OUT> OUT apply(IN input, StartpointVisitor<IN,OUT> startpointVisitor)
Startpoint
StartpointVisitor
's visit methods to the Startpoint
and returns the result of that operation.apply
in class Startpoint
input
- the metadata associated with the startpoint.startpointVisitor
- the visitor of the startpoint.public java.lang.String toString()
toString
in class Startpoint
public boolean equals(java.lang.Object o)
equals
in class Startpoint
public int hashCode()
hashCode
in class Startpoint