|
Oracle® Fusion Middleware Java API Reference for Event Processing in Oracle Stream Analytics 12c Release (12.2.1.3.0) E98700-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A event channel is a conduit for events.
Event channels support two types of modeling, streams and relations.
Streams are append-only, that is, events are always appended to the end of the stream. Relations support events that insert, delete, and update its content.
Events send to channels must have non-decreasing time-stamps.
Field Summary | |
static java.lang.String |
RECOVERY_PRECISION_BEST_EFFORT Precision of recovery to be used for archived channels. |
static java.lang.String |
RECOVERY_PRECISION_NO_DUPS Precision of recovery to be used for archived channels. |
Method Summary | |
abstract java.lang.String |
getEventType() Only events of this event type are allowed to pass through this event channel. |
abstract java.lang.String |
getId() Returns the event channel identity |
abstract java.lang.Integer |
getPartitionOrderCapacity() The capacity (i.e.number of buckets) of partition used for partition-ordered sources (e.g. relation/stream). |
abstract java.util.List |
getPrimaryKey() Returns primary key of relation, or an empty list for streams. |
abstract java.lang.String |
getRecoveryPrecision() Returns the recovery precision for archived channel. |
abstract java.lang.String |
getTimestampExpression() Returns expression used to calculate the application timestamp. |
abstract boolean |
isApplicationTimestamped() Returns if channel is application timestamped, that is, application is responsible for assigning a timestamp to each event. |
abstract boolean |
isArchived() Returns if channel should handle archived events. |
abstract boolean |
isBatchEvents() Returns if channel is batching over timestamp |
abstract boolean |
isLocalPartitioner() Returns if channel partitions input stream into multiple substreams and push to a single downstream processor. |
abstract boolean |
isRelation() Returns if event channel is carrying relations, instead of streams. |
abstract boolean |
isSystemTimestamped() Returns if channel is system timestamped, that is, the system is responsible for assigning a timestamp to each event. |
abstract boolean |
isTotalOrder() Returns if application time published is always strictly greater than the last value used. |
Methods inherited from interface com.bea.wlevs.ede.api.EventQueue |
getCurrentSize, getMaxSize, getMaxThreads, getOfferTimeout, isFailWhenRejected, setFailWhenRejected, setMaxSize, setMaxThreads, setOfferTimeout |
Methods inherited from interface com.bea.wlevs.ede.api.HeartbeatAware |
onHeartbeat |
Methods inherited from interface com.bea.wlevs.ede.api.BatchRelationSink |
onEvents |
Methods inherited from interface com.bea.wlevs.ede.api.BatchStreamSink |
onInsertEvents |
Methods inherited from interface com.bea.wlevs.ede.api.EventSender |
sendEvent |
Methods inherited from interface com.bea.wlevs.ede.api.BatchRelationSender |
sendEvents |
Methods inherited from interface com.bea.wlevs.ede.api.BatchStreamSender |
sendInsertEvents |
Methods inherited from interface com.bea.wlevs.ede.api.RelationSender |
sendDeleteEvent, sendUpdateEvent |
Methods inherited from interface com.bea.wlevs.ede.api.RelationSink |
onDeleteEvent, onUpdateEvent |
Field Detail |
public static final java.lang.String RECOVERY_PRECISION_BEST_EFFORT
best-effort
recovery entails that events may be lost, or you may get duplicate events while recovering an archived channel from failure.
public static final java.lang.String RECOVERY_PRECISION_NO_DUPS
no-dups
recovery entails that the system will attempt to remove duplicate events by comparing their output event time.
Method Detail |
public java.lang.String getId()
public java.lang.String getEventType()
public java.lang.String getTimestampExpression()
expression
- public boolean isRelation()
public java.util.List getPrimaryKey()
public boolean isTotalOrder()
public boolean isSystemTimestamped()
System.nanoTime()
.public boolean isApplicationTimestamped()
public boolean isBatchEvents()
public java.lang.Integer getPartitionOrderCapacity()
public boolean isArchived()
Archived channels are channels that replay their events while recovering from a failure of the system in an attempt to revive the state of a downstream processor as it was before the failure.
The archiving of the events should be realized by the upstream stage to this channel.
public java.lang.String getRecoveryPrecision()
By default, recovery precision is best-effort
. This means that events may be lost, and you may receive duplicates. If precision is set to no-dups
, then the timestamp of the output events are used to remove duplicates.
public boolean isLocalPartitioner()
By default, the local partitioner flag will be false and channel will act as event partitioner if channel specifies partitionby attributes or user defined partition function.
|
Copyright © 2007, 2018, Oracle and/or its affiliates. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |