Package io.datareplication.consumer
Class StreamingPage.Chunk.BodyEnd<EntityHeader>
- java.lang.Object
-
- io.datareplication.consumer.StreamingPage.Chunk<EntityHeader>
-
- io.datareplication.consumer.StreamingPage.Chunk.BodyEnd<EntityHeader>
-
- Type Parameters:
EntityHeader
- the type of the entity headers; seeEntity
- Enclosing class:
- StreamingPage.Chunk<EntityHeader>
public static final class StreamingPage.Chunk.BodyEnd<EntityHeader> extends StreamingPage.Chunk<EntityHeader>
Represents the end of an entity. It signals that the current entity's entire body has been read and returned.
May be followed by:
StreamingPage.Chunk.Header
: begin a new entity- nothing: after the
StreamingPage.Chunk.BodyEnd
for the final entity on the page, the stream will terminate
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.datareplication.consumer.StreamingPage.Chunk
StreamingPage.Chunk.BodyChunk<EntityHeader>, StreamingPage.Chunk.BodyEnd<EntityHeader>, StreamingPage.Chunk.Header<EntityHeader>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class io.datareplication.consumer.StreamingPage.Chunk
bodyChunk, bodyEnd, header
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-