public final class ChunkEvent extends BytesEvent
Title: Structured Data Objects: Chunk Event
Description: Defines a Chunk Event.
BytesEvent
that contains a chunk of content of the associated StreamEvent
.
e.chunk.<streamEventId>
(e.g. for StreamEvent
with event id event.stream1
the associated ChunkEvent
will have event id e.chunk.event.stream1
).
Copyright: Copyright (c) 2013
Company: StreamScape Technologies
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CHUNK_NUMBER_PROPERTY |
SEMANTIC_TYPE_NAME
DEFAULT_SERIAL_VERSION_ID
Modifier and Type | Method and Description |
---|---|
int |
getChunkNumber()
Returns a number of the data chunk associated with this event.
|
static java.lang.String |
getEventId(java.lang.String streamingEventId)
Returns an event id of the
ChunkEvent associated with the specified StreamEvent . |
java.lang.String |
getStreamEventId()
Returns an event id of the
StreamEvent associated with this event. |
static java.lang.String |
getStreamEventId(java.lang.String chunkEventId)
Returns an event id of the
StreamEvent associated with the specified ChunkEvent . |
addAnnotation, clearData, clone, equals, getBytes, getBytesLength, readBoolean, readByte, readBytes, readBytes, readChar, readDouble, readFloat, readInt, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, resetData, setBytes, writeBoolean, writeByte, writeBytes, writeBytes, writeChar, writeDouble, writeFloat, writeInt, writeLong, writeObject, writeShort, writeUTF
clearEventProperties, protect, removeAnnotation, removeEventProperty, resetReplyTo, setCorrelationId, setCorrelationIdAsBytes, setDurable, setEventBigDecimalProperty, setEventBigDecimalProperty, setEventBooleanProperty, setEventByteProperty, setEventDoubleProperty, setEventExpiration, setEventFloatProperty, setEventGroupId, setEventIntProperty, setEventKey, setEventLongProperty, setEventObjectProperty, setEventShortProperty, setEventStringProperty, setFinal, setForwardTo, setReplyTo, setSecurityAssertionToken, setSecurityAssertionTokenAsBytes, unprotect
canConvertEventProperty, existsEventProperty, getAnnotatedProperties, getAnnotation, getCorrelationId, getCorrelationIdAsBytes, getDurable, getEventBigDecimalProperty, getEventBooleanProperty, getEventByteProperty, getEventDoubleProperty, getEventExpiration, getEventFloatProperty, getEventGroupId, getEventId, getEventIntProperty, getEventKey, getEventLongProperty, getEventObjectProperty, getEventPropertyNames, getEventPropertyType, getEventShortProperty, getEventSource, getEventStringProperty, getForwardTo, getPermissions, getReadAccess, getReplyTo, getSecurityAssertionToken, getSecurityAssertionTokenAsBytes, getTimestamp, getTransmitAccess, getWriteAccess, hasAnnotatedProperties, hasSuitableAnnotationType, isProtected
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canConvertEventProperty, clearEventProperties, existsEventProperty, getAnnotatedProperties, getAnnotation, getCorrelationId, getCorrelationIdAsBytes, getEventBigDecimalProperty, getEventBooleanProperty, getEventByteProperty, getEventDoubleProperty, getEventExpiration, getEventFloatProperty, getEventIntProperty, getEventLongProperty, getEventObjectProperty, getEventPropertyNames, getEventPropertyType, getEventShortProperty, getEventStringProperty, getForwardTo, getPermissions, getReadAccess, getReplyTo, getSecurityAssertionToken, getSecurityAssertionTokenAsBytes, getTransmitAccess, getWriteAccess, hasAnnotatedProperties, isProtected, protect, removeAnnotation, removeEventProperty, resetReplyTo, setCorrelationId, setCorrelationIdAsBytes, setDurable, setEventBigDecimalProperty, setEventBigDecimalProperty, setEventBooleanProperty, setEventByteProperty, setEventDoubleProperty, setEventExpiration, setEventFloatProperty, setEventGroupId, setEventIntProperty, setEventKey, setEventLongProperty, setEventObjectProperty, setEventShortProperty, setEventStringProperty, setFinal, setForwardTo, setReplyTo, setSecurityAssertionToken, setSecurityAssertionTokenAsBytes, unprotect
getDurable, getEventGroupId, getEventId, getEventKey, getEventSource, getTimestamp
getSerialVersionUID
public static final java.lang.String CHUNK_NUMBER_PROPERTY
public java.lang.String getStreamEventId()
StreamEvent
associated with this event.StreamEvent
.public int getChunkNumber()
public static java.lang.String getEventId(java.lang.String streamingEventId)
ChunkEvent
associated with the specified StreamEvent
.streamingEventId
- the event id of the StreamEvent
.ChunkEvent
associated with the specified StreamEvent
.public static java.lang.String getStreamEventId(java.lang.String chunkEventId)
StreamEvent
associated with the specified ChunkEvent
.chunkEventId
- the event id of the ChunkEvent
.StreamEvent
associated with the specified ChunkEvent
.Copyright © 2015-2024 StreamScape Technologies. All rights reserved.