public class NativeSqlSetStarting<ELEMENT> extends AbstractSetOperand<NativeSqlSetStarting<ELEMENT>,ELEMENT> implements SetOperator<ELEMENT>
objectProviderFactoryconfig, EXECUTE_METHOD, EXECUTE_METHOD_NAME| Constructor and Description |
|---|
NativeSqlSetStarting(Config config,
SetOperationContext<ELEMENT> context,
java.util.function.Function<SelectQuery,ObjectProvider<ELEMENT>> objectProviderFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected Command<java.util.List<ELEMENT>> |
createCommand() |
SetOperationContext<ELEMENT> |
getContext()
Returns the set operation context
|
<RESULT> RESULT |
mapStream(java.util.function.Function<java.util.stream.Stream<ELEMENT>,RESULT> streamMapper)
Map a stream.
|
java.util.stream.Stream<ELEMENT> |
openStream()
Open a stream.
|
SetOperand<ELEMENT> |
orderBy(java.util.function.Consumer<OrderByIndexDeclaration> block) |
union, unionAllasSql, createCommenter, execute, peekclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpeekunion, unionAllcollectfetch, fetchOne, fetchOptional, streampublic NativeSqlSetStarting(Config config, SetOperationContext<ELEMENT> context, java.util.function.Function<SelectQuery,ObjectProvider<ELEMENT>> objectProviderFactory)
public SetOperand<ELEMENT> orderBy(java.util.function.Consumer<OrderByIndexDeclaration> block)
orderBy in interface SetOperator<ELEMENT>public SetOperationContext<ELEMENT> getContext()
SetOperandgetContext in interface SetOperand<ELEMENT>public java.util.stream.Stream<ELEMENT> openStream()
StreamMappableYou must close the stream after using it.
openStream in interface StreamMappable<ELEMENT>public <RESULT> RESULT mapStream(java.util.function.Function<java.util.stream.Stream<ELEMENT>,RESULT> streamMapper)
StreamMappablemapStream in interface StreamMappable<ELEMENT>RESULT - the mapped resultstreamMapper - the mapperprotected Command<java.util.List<ELEMENT>> createCommand()
createCommand in class AbstractStatement<NativeSqlSetStarting<ELEMENT>,java.util.List<ELEMENT>>