@Override
    public boolean equals(Object o) {

        if (this == o) {
            return true;
        }
        if (!(o instanceof InsertIntoStream)) {
            return false;
        }

        InsertIntoStream that = (InsertIntoStream) o;

        if (isInnerStream != that.isInnerStream) {
            return false;
        }

        if (isFaultStream != that.isFaultStream) {
            return false;
        }

        return true;
    }
Query output stream inserting events in to another stream, table, or window
modules/siddhi-query-api/src/main/java/io/siddhi/query/api/execution/query/output/stream/InsertIntoStream.java