public class NativeSqlSelectIntermediate<ELEMENT> extends AbstractSetOperand<NativeSqlSelectIntermediate<ELEMENT>,ELEMENT>
objectProviderFactoryconfig, EXECUTE_METHOD, EXECUTE_METHOD_NAME| Constructor and Description |
|---|
NativeSqlSelectIntermediate(Config config,
SelectFromDeclaration declaration,
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.
|
union, unionAllasSql, createCommenter, execute, peekclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpeekcollectfetch, fetchOne, fetchOptional, streampublic NativeSqlSelectIntermediate(Config config, SelectFromDeclaration declaration, java.util.function.Function<SelectQuery,ObjectProvider<ELEMENT>> objectProviderFactory)
public SetOperationContext<ELEMENT> getContext()
SetOperandpublic java.util.stream.Stream<ELEMENT> openStream()
StreamMappableYou must close the stream after using it.
public <RESULT> RESULT mapStream(java.util.function.Function<java.util.stream.Stream<ELEMENT>,RESULT> streamMapper)
StreamMappableRESULT - the mapped resultstreamMapper - the mapperprotected Command<java.util.List<ELEMENT>> createCommand()
createCommand in class AbstractStatement<NativeSqlSelectIntermediate<ELEMENT>,java.util.List<ELEMENT>>