public class VirtualDWViewImpl extends ViewSupport implements VirtualDWView
EMPTY_VIEW_ARRAY
Constructor and Description |
---|
VirtualDWViewImpl(VirtualDataWindow dataExternal,
EventType eventType,
java.lang.String namedWindowName) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains.
|
java.util.Collection<EventBean> |
getFireAndForgetData(EventTable eventTable,
java.lang.Object[] keyValues,
RangeIndexLookupValue[] rangeValues,
java.lang.annotation.Annotation[] annotations) |
Pair<IndexMultiKey,EventTable> |
getFireAndForgetDesc(java.util.Set<java.lang.String> keysAvailable,
java.util.Set<java.lang.String> rangesAvailable) |
EventTable |
getJoinIndexTable(QueryPlanIndexItem queryPlanIndexItem) |
JoinExecTableLookupStrategy |
getJoinLookupStrategy(java.lang.String accessedByStmtName,
java.lang.String accessedByStmtId,
java.lang.annotation.Annotation[] accessedByStmtAnnotations,
EventTable[] eventTables,
TableLookupKeyDesc keyDescriptor,
int lookupStreamNum) |
SubordTableLookupStrategy |
getSubordinateLookupStrategy(java.lang.String accessedByStatementName,
java.lang.String accessedByStatementId,
java.lang.annotation.Annotation[] accessedByStmtAnnotations,
EventType[] outerStreamTypes,
java.util.List<SubordPropHashKey> hashKeys,
CoercionDesc hashKeyCoercionTypes,
java.util.List<SubordPropRangeKey> rangeKeys,
CoercionDesc rangeKeyCoercionTypes,
boolean nwOnTrigger,
EventTable eventTable,
SubordPropPlan joinDesc,
boolean forceTableScan) |
Pair<IndexMultiKey,EventTable> |
getSubordinateQueryDesc(boolean unique,
java.util.List<IndexedPropDesc> hashedProps,
java.util.List<IndexedPropDesc> btreeProps) |
VirtualDataWindow |
getVirtualDataWindow() |
void |
handleStartIndex(CreateIndexDesc spec) |
void |
handleStopIndex(CreateIndexDesc spec) |
void |
handleStopWindow() |
java.util.Iterator<EventBean> |
iterator()
Allows iteration through all elements in this event collection.
|
void |
update(EventBean[] newData,
EventBean[] oldData)
Notify that data has been added or removed from the Viewable parent.
|
addView, addView, dumpChildViews, dumpUpdateParams, dumpUpdateParams, findDescendent, findViewIndex, getParent, getViews, hasViews, removeAllViews, removeView, removeView, setParent, updateChildren
public VirtualDWViewImpl(VirtualDataWindow dataExternal, EventType eventType, java.lang.String namedWindowName)
public VirtualDataWindow getVirtualDataWindow()
getVirtualDataWindow
in interface VirtualDWView
public Pair<IndexMultiKey,EventTable> getSubordinateQueryDesc(boolean unique, java.util.List<IndexedPropDesc> hashedProps, java.util.List<IndexedPropDesc> btreeProps)
getSubordinateQueryDesc
in interface VirtualDWView
public SubordTableLookupStrategy getSubordinateLookupStrategy(java.lang.String accessedByStatementName, java.lang.String accessedByStatementId, java.lang.annotation.Annotation[] accessedByStmtAnnotations, EventType[] outerStreamTypes, java.util.List<SubordPropHashKey> hashKeys, CoercionDesc hashKeyCoercionTypes, java.util.List<SubordPropRangeKey> rangeKeys, CoercionDesc rangeKeyCoercionTypes, boolean nwOnTrigger, EventTable eventTable, SubordPropPlan joinDesc, boolean forceTableScan)
getSubordinateLookupStrategy
in interface VirtualDWView
public EventTable getJoinIndexTable(QueryPlanIndexItem queryPlanIndexItem)
getJoinIndexTable
in interface VirtualDWView
public JoinExecTableLookupStrategy getJoinLookupStrategy(java.lang.String accessedByStmtName, java.lang.String accessedByStmtId, java.lang.annotation.Annotation[] accessedByStmtAnnotations, EventTable[] eventTables, TableLookupKeyDesc keyDescriptor, int lookupStreamNum)
getJoinLookupStrategy
in interface VirtualDWView
public Pair<IndexMultiKey,EventTable> getFireAndForgetDesc(java.util.Set<java.lang.String> keysAvailable, java.util.Set<java.lang.String> rangesAvailable)
getFireAndForgetDesc
in interface VirtualDWView
public java.util.Collection<EventBean> getFireAndForgetData(EventTable eventTable, java.lang.Object[] keyValues, RangeIndexLookupValue[] rangeValues, java.lang.annotation.Annotation[] annotations)
getFireAndForgetData
in interface VirtualDWView
public void update(EventBean[] newData, EventBean[] oldData)
View
public EventType getEventType()
EventCollection
getEventType
in interface EventCollection
public void destroy()
destroy
in interface VirtualDWView
public java.util.Iterator<EventBean> iterator()
EventCollection
iterator
in interface EventCollection
iterator
in interface java.lang.Iterable<EventBean>
public void handleStartIndex(CreateIndexDesc spec)
handleStartIndex
in interface VirtualDWView
public void handleStopIndex(CreateIndexDesc spec)
handleStopIndex
in interface VirtualDWView
public void handleStopWindow()
handleStopWindow
in interface VirtualDWView