@@ -0,0 +1,1337 @@
+/*%0A * Licensed to CRATE Technology GmbH (%22Crate%22) under one or more contributor%0A * license agreements.  See the NOTICE file distributed with this work for%0A * additional information regarding copyright ownership.  Crate licenses%0A * this file to you under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.  You may%0A * obtain a copy of the License at%0A *%0A *   http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS, WITHOUT%0A * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the%0A * License for the specific language governing permissions and limitations%0A * under the License.%0A *%0A * However, if you have executed another commercial license agreement%0A * with Crate these terms will supersede the license and you may use the%0A * software solely pursuant to the terms of the relevant commercial agreement.%0A */%0A%0Apackage io.crate.operator.operations.merge;%0A%0A%0A/**%0A * merge rows - that's it%0A */%0Apublic interface MergeOperation %7B%0A%0A    /**%0A     * add more rows to merge%0A     * implementation needs to make sure that this operation is thread-safe%0A     */%0A    public boolean addRows(Object%5B%5D%5B%5D rows);%0A    public Object%5B%5D%5B%5D result();%0A%7D%0A

add MergeOperation interface