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; }
throw new ViewProcessingException(text + ": " + ex.getMessage(), ex);
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 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 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 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 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 = null; for(String name : sortFieldNames) { result = PropertyCheckHelper.exists(parentEventType, name); if(result != null) { throw new ViewAttachException(result); } } eventType = parentEventType; }
public void attach(EventType parentEventType, StatementContext statementContext, ViewFactory optionalParentFactory, List<ViewFactory> parentViewFactories) throws ViewAttachException { String result = PropertyCheckHelper.checkNumeric(parentEventType, fieldNameX, fieldNameWeight); if (result != null) { throw new ViewAttachException(result); } eventType = WeightedAverageView.createEventType(statementContext); }
public void attach(EventType parentEventType, StatementContext statementContext, ViewFactory optionalParentFactory, List<ViewFactory> parentViewFactories) throws ViewAttachException { String result = PropertyCheckHelper.checkNumeric(parentEventType, fieldNameX, fieldNameY); if (result != null) { throw new ViewAttachException(result); } eventType = RegressionLinestView.createEventType(statementContext); }
public void attach(EventType parentEventType, StatementContext statementContext, ViewFactory optionalParentFactory, List<ViewFactory> parentViewFactories) throws ViewAttachException { String result = PropertyCheckHelper.checkNumeric(parentEventType, fieldName); if (result != null) { throw new ViewAttachException(result); } eventType = UnivariateStatisticsView.createEventType(statementContext); }
public void attach(EventType parentEventType, StatementContext statementContext, ViewFactory optionalParentFactory, List<ViewFactory> parentViewFactories) throws ViewAttachException { String result = PropertyCheckHelper.checkNumeric(parentEventType, fieldNameX, fieldNameY); if (result != null) { throw new ViewAttachException(result); } eventType = CorrelationView.createEventType(statementContext); }
public void attach(EventType parentEventType, StatementContext statementContext, ViewFactory optionalParentFactory, List<ViewFactory> parentViewFactories) throws ViewAttachException { String message = PropertyCheckHelper.checkNumeric(parentEventType, measureField); if (message != null) { throw new ViewAttachException(message); } message = PropertyCheckHelper.exists(parentEventType, columnField); if (message != null) { throw new ViewAttachException(message); } if (rowField != null) { message = PropertyCheckHelper.exists(parentEventType, rowField); if (message != null) { throw new ViewAttachException(message); } } if (pageField != null) { message = PropertyCheckHelper.exists(parentEventType, pageField); if (message != null) { throw new ViewAttachException(message); } } eventType = MultiDimStatsView.createEventType(statementContext); }
throw new ViewAttachException("Group by view for this merge view could not be found among parent views");