public static Within within(Expression pattern) { return new Within(pattern); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AggregationInputStore that = (AggregationInputStore) o; if (within != null ? !within.equals(that.within) : that.within != null) { return false; } if (onCondition != null ? !onCondition.equals(that.onCondition) : that.onCondition != null) { return false; } if (store != null ? !store.equals(that.store) : that.store != null) { return false; } return per != null ? per.equals(that.per) : that.per == null; }
@Override public int hashCode() { int result = within != null ? within.hashCode() : 0; result = 31 * result + (per != null ? per.hashCode() : 0); return result; }
@Override public Object visitWithin_time_range(SiddhiQLParser.Within_time_rangeContext ctx) { Within within; if (ctx.end_pattern == null) { within = Within.within((Expression) visit(ctx.start_pattern)); } else { within = Within.within((Expression) visit(ctx.start_pattern), (Expression) visit(ctx.end_pattern)); } populateQueryContext(within, ctx); return within; }
@Override public int hashCode() { int result = leftInputStream != null ? leftInputStream.hashCode() : 0; result = 31 * result + (type != null ? type.hashCode() : 0); result = 31 * result + (rightInputStream != null ? rightInputStream.hashCode() : 0); result = 31 * result + (onCompare != null ? onCompare.hashCode() : 0); result = 31 * result + (trigger != null ? trigger.hashCode() : 0); result = 31 * result + (within != null ? within.hashCode() : 0); result = 31 * result + (per != null ? per.hashCode() : 0); return result; }
public static Within within(Expression start, Expression end) { return new Within(start, end); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } JoinInputStream that = (JoinInputStream) o; if (leftInputStream != null ? !leftInputStream.equals(that.leftInputStream) : that.leftInputStream != null) { return false; } if (type != that.type) { return false; } if (rightInputStream != null ? !rightInputStream.equals(that.rightInputStream) : that.rightInputStream != null) { return false; } if (onCompare != null ? !onCompare.equals(that.onCompare) : that.onCompare != null) { return false; } if (trigger != that.trigger) { return false; } if (within != null ? !within.equals(that.within) : that.within != null) { return false; } return per != null ? per.equals(that.per) : that.per == null; }
@Override public int hashCode() { int result = within != null ? within.hashCode() : 0; result = 31 * result + (per != null ? per.hashCode() : 0); return result; }
public static Within within(Expression pattern) { return new Within(pattern); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AggregationInputStore that = (AggregationInputStore) o; if (within != null ? !within.equals(that.within) : that.within != null) { return false; } if (onCondition != null ? !onCondition.equals(that.onCondition) : that.onCondition != null) { return false; } if (store != null ? !store.equals(that.store) : that.store != null) { return false; } return per != null ? per.equals(that.per) : that.per == null; }
@Override public int hashCode() { int result = leftInputStream != null ? leftInputStream.hashCode() : 0; result = 31 * result + (type != null ? type.hashCode() : 0); result = 31 * result + (rightInputStream != null ? rightInputStream.hashCode() : 0); result = 31 * result + (onCompare != null ? onCompare.hashCode() : 0); result = 31 * result + (trigger != null ? trigger.hashCode() : 0); result = 31 * result + (within != null ? within.hashCode() : 0); result = 31 * result + (per != null ? per.hashCode() : 0); return result; }
public static Within within(Expression start, Expression end) { return new Within(start, end); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } JoinInputStream that = (JoinInputStream) o; if (leftInputStream != null ? !leftInputStream.equals(that.leftInputStream) : that.leftInputStream != null) { return false; } if (type != that.type) { return false; } if (rightInputStream != null ? !rightInputStream.equals(that.rightInputStream) : that.rightInputStream != null) { return false; } if (onCompare != null ? !onCompare.equals(that.onCompare) : that.onCompare != null) { return false; } if (trigger != that.trigger) { return false; } if (within != null ? !within.equals(that.within) : that.within != null) { return false; } return per != null ? per.equals(that.per) : that.per == null; }