public void attach(EventType parentEventType, StatementContext statementContext, ViewFactory optionalParentFactory, List<ViewFactory> parentViewFactories) throws ViewAttachException { String message = PropertyCheckHelper.checkLong(parentEventType, timestampFieldName); if (message != null) { throw new ViewAttachException(message); } this.eventType = parentEventType; }
public void attach(EventType parentEventType, StatementContext statementContext, ViewFactory optionalParentFactory, List<ViewFactory> parentViewFactories) throws ViewAttachException { // Attaches to parent views where the sort fields exist and implement Comparable String result = PropertyCheckHelper.exists(parentEventType, timestampFieldName); if(result != null) { throw new ViewAttachException(result); } eventType = parentEventType; }
public void setParent(Viewable parent) { super.setParent(parent); namedWindowEventType = parent.getEventType(); }
public final EventType getEventType() { // The schema is the parent view's schema return parent.getEventType(); }
public View addView(View view) { view.setParent(this); return view; }
/** * Check if the field identified by the field name is a valid numeric field according to the schema. * @param type contains metadata about fields * @param numericFieldName is the field's field name to test * @return a String error message if the field doesn't exist or is not numeric, or null to indicate success */ public static String checkNumeric(EventType type, String numericFieldName) { return checkFieldNumeric(type, numericFieldName); }
public Iterator<EventBean> iterator() { return parent.iterator(); } }
public void fireStatementStopped() { for (StatementStopCallback statementStopCallback : statementStopCallbacks) { statementStopCallback.statementStopped(); } } }
public void attach(EventType parentEventType, StatementContext statementContext, ViewFactory optionalParentFactory, List<ViewFactory> parentViewFactories) throws ViewAttachException { // Attaches to just about anything as long as all the fields exists for (int i = 0; i < propertyNames.length; i++) { String message = PropertyCheckHelper.exists(parentEventType, propertyNames[i]); if (message != null) { throw new ViewAttachException(message); } } this.eventType = parentEventType; }
public final EventType getEventType() { // The schema is the parent view's schema return parent.getEventType(); }
public View addView(View view) { view.setParent(this); return view; }
public void attach(EventType parentEventType, StatementContext statementContext, ViewFactory optionalParentFactory, List<ViewFactory> parentViewFactories) throws ViewAttachException { // Attaches to just about anything as long as all the fields exists for (int i = 0; i < propertyNames.length; i++) { String message = PropertyCheckHelper.exists(parentEventType, propertyNames[i]); if (message != null) { throw new ViewAttachException(message); } } this.eventType = parentEventType; }
public final EventType getEventType() { // The event type is the parent view's event type return parent.getEventType(); }
public void attach(EventType parentEventType, StatementContext statementContext, ViewFactory optionalParentFactory, List<ViewFactory> parentViewFactories) throws ViewAttachException { // Attaches to just about anything as long as all the fields exists for (int i = 0; i < groupFieldNames.length; i++) { String message = PropertyCheckHelper.exists(parentEventType, groupFieldNames[i]); if (message != null) { throw new ViewAttachException(message); } } this.eventType = parentEventType; }
public final EventType getEventType() { // The event type is the parent view's event type return parent.getEventType(); }
public final EventType getEventType() { // The schema is the parent view's schema return parent.getEventType(); }
public final EventType getEventType() { // The event type is the parent view's event type return parent.getEventType(); }
public final EventType getEventType() { // The schema is the parent view's schema return parent.getEventType(); }
public final EventType getEventType() { // The schema is the parent view's schema return parent.getEventType(); }
public final EventType getEventType() { // The event type is the parent view's event type return parent.getEventType(); }