com.speedment.jpastreamer.interopoptimizer.standard.internal.strategy.squash.SingleValueSquash Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of interopoptimizer-standard Show documentation
Show all versions of interopoptimizer-standard Show documentation
Standard IntermediateOperationOptimizer
/*
* JPAstreamer - Express JPA queries with Java Streams
* Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
*/
package com.speedment.jpastreamer.interopoptimizer.standard.internal.strategy.squash;
import com.speedment.jpastreamer.pipeline.intermediate.IntermediateOperation;
import java.util.function.BiFunction;
import java.util.function.Function;
public interface SingleValueSquash extends Squash {
BiFunction squash();
Function> operationProvider();
Class valueClass();
S initialValue();
default S checkValue() { return initialValue(); }
default S resetValue() { return initialValue(); }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy