Module org.seasar.doma.core
Class NativeSqlSelectIntermediate<ELEMENT>
java.lang.Object
org.seasar.doma.jdbc.criteria.statement.AbstractStatement<STMT,List<ELEMENT>>
org.seasar.doma.jdbc.criteria.statement.AbstractSetOperand<NativeSqlSelectIntermediate<ELEMENT>,ELEMENT>
org.seasar.doma.jdbc.criteria.statement.NativeSqlSelectIntermediate<ELEMENT>
- All Implemented Interfaces:
Buildable<Statement<List<ELEMENT>>>,Listable<ELEMENT>,SetOperand<ELEMENT>,Statement<List<ELEMENT>>,StreamMappable<ELEMENT>
public class NativeSqlSelectIntermediate<ELEMENT>
extends AbstractSetOperand<NativeSqlSelectIntermediate<ELEMENT>,ELEMENT>
-
Field Summary
Fields inherited from class org.seasar.doma.jdbc.criteria.statement.AbstractSetOperand
objectProviderFactoryFields inherited from class org.seasar.doma.jdbc.criteria.statement.AbstractStatement
config, EXECUTE_METHOD, EXECUTE_METHOD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionNativeSqlSelectIntermediate(Config config, SelectFromDeclaration declaration, Function<SelectQuery, ObjectProvider<ELEMENT>> objectProviderFactory) -
Method Summary
Modifier and TypeMethodDescriptionReturns the set operation context<RESULT> RESULTMap a stream.Open a stream.Methods inherited from class org.seasar.doma.jdbc.criteria.statement.AbstractSetOperand
union, unionAllMethods inherited from class org.seasar.doma.jdbc.criteria.statement.AbstractStatement
asSql, createCommenter, execute, peekMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.seasar.doma.jdbc.criteria.statement.Listable
fetch, fetchOne, fetchOptional, streamMethods inherited from interface org.seasar.doma.jdbc.criteria.statement.SetOperand
peekMethods inherited from interface org.seasar.doma.jdbc.criteria.statement.StreamMappable
collect
-
Constructor Details
-
NativeSqlSelectIntermediate
public NativeSqlSelectIntermediate(Config config, SelectFromDeclaration declaration, Function<SelectQuery, ObjectProvider<ELEMENT>> objectProviderFactory)
-
-
Method Details
-
getContext
Description copied from interface:SetOperandReturns the set operation context- Returns:
- the context
-
openStream
Description copied from interface:StreamMappableOpen a stream.You must close the stream after using it.
- Returns:
- the opened stream
-
mapStream
Description copied from interface:StreamMappableMap a stream.- Type Parameters:
RESULT- the mapped result- Parameters:
streamMapper- the mapper- Returns:
- the mapped result
-
createCommand
- Specified by:
createCommandin classAbstractStatement<NativeSqlSelectIntermediate<ELEMENT>,List<ELEMENT>>
-