Module org.seasar.doma.core
Class NativeSqlSetStarting<ELEMENT>
java.lang.Object
org.seasar.doma.jdbc.criteria.statement.AbstractStatement<STMT,List<ELEMENT>>
org.seasar.doma.jdbc.criteria.statement.AbstractSetOperand<NativeSqlSetStarting<ELEMENT>,ELEMENT>
org.seasar.doma.jdbc.criteria.statement.NativeSqlSetStarting<ELEMENT>
- All Implemented Interfaces:
Buildable<Statement<List<ELEMENT>>>,Listable<ELEMENT>,SetOperand<ELEMENT>,SetOperator<ELEMENT>,Statement<List<ELEMENT>>,StreamMappable<ELEMENT>
public class NativeSqlSetStarting<ELEMENT>
extends AbstractSetOperand<NativeSqlSetStarting<ELEMENT>,ELEMENT>
implements SetOperator<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
ConstructorsConstructorDescriptionNativeSqlSetStarting(Config config, SetOperationContext<ELEMENT> context, Function<SelectQuery, ObjectProvider<ELEMENT>> objectProviderFactory) -
Method Summary
Modifier and TypeMethodDescriptionReturns the set operation context<RESULT> RESULTMap a stream.Open a stream.orderBy(Consumer<OrderByIndexDeclaration> block) 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
union, unionAllMethods inherited from interface org.seasar.doma.jdbc.criteria.statement.SetOperator
peekMethods inherited from interface org.seasar.doma.jdbc.criteria.statement.StreamMappable
collect
-
Constructor Details
-
NativeSqlSetStarting
public NativeSqlSetStarting(Config config, SetOperationContext<ELEMENT> context, Function<SelectQuery, ObjectProvider<ELEMENT>> objectProviderFactory)
-
-
Method Details
-
orderBy
- Specified by:
orderByin interfaceSetOperator<ELEMENT>
-
getContext
Description copied from interface:SetOperandReturns the set operation context- Specified by:
getContextin interfaceSetOperand<ELEMENT>- Returns:
- the context
-
openStream
Description copied from interface:StreamMappableOpen a stream.You must close the stream after using it.
- Specified by:
openStreamin interfaceStreamMappable<ELEMENT>- Returns:
- the opened stream
-
mapStream
Description copied from interface:StreamMappableMap a stream.- Specified by:
mapStreamin interfaceStreamMappable<ELEMENT>- Type Parameters:
RESULT- the mapped result- Parameters:
streamMapper- the mapper- Returns:
- the mapped result
-
createCommand
- Specified by:
createCommandin classAbstractStatement<NativeSqlSetStarting<ELEMENT>,List<ELEMENT>>
-