Module org.seasar.doma.core
Class AbstractSetOperand<STMT extends AbstractSetOperand<STMT,ELEMENT>,ELEMENT>
java.lang.Object
org.seasar.doma.jdbc.criteria.statement.AbstractStatement<STMT,List<ELEMENT>>
org.seasar.doma.jdbc.criteria.statement.AbstractSetOperand<STMT,ELEMENT>
- All Implemented Interfaces:
Buildable<Statement<List<ELEMENT>>>,Listable<ELEMENT>,SetOperand<ELEMENT>,Statement<List<ELEMENT>>,StreamMappable<ELEMENT>
- Direct Known Subclasses:
NativeSqlSelectIntermediate,NativeSqlSelectStarting,NativeSqlSetStarting
public abstract class AbstractSetOperand<STMT extends AbstractSetOperand<STMT,ELEMENT>,ELEMENT>
extends AbstractStatement<STMT,List<ELEMENT>>
implements SetOperand<ELEMENT>
-
Field Summary
FieldsFields inherited from class org.seasar.doma.jdbc.criteria.statement.AbstractStatement
config, EXECUTE_METHOD, EXECUTE_METHOD_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSetOperand(Config config, Function<SelectQuery, ObjectProvider<ELEMENT>> objectProviderFactory) -
Method Summary
Modifier and TypeMethodDescriptionunion(SetOperand<ELEMENT> other) Creates an UNION statementunionAll(SetOperand<ELEMENT> other) Creates an UNION ALL statementMethods inherited from class org.seasar.doma.jdbc.criteria.statement.AbstractStatement
asSql, createCommand, 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
getContext, peekMethods inherited from interface org.seasar.doma.jdbc.criteria.statement.StreamMappable
collect, mapStream, openStream
-
Field Details
-
objectProviderFactory
-
-
Constructor Details
-
AbstractSetOperand
protected AbstractSetOperand(Config config, Function<SelectQuery, ObjectProvider<ELEMENT>> objectProviderFactory)
-
-
Method Details
-
union
Description copied from interface:SetOperandCreates an UNION statement- Specified by:
unionin interfaceSetOperand<STMT extends AbstractSetOperand<STMT,ELEMENT>> - Parameters:
other- the UNION operand- Returns:
- the UNION operator
-
unionAll
Description copied from interface:SetOperandCreates an UNION ALL statement- Specified by:
unionAllin interfaceSetOperand<STMT extends AbstractSetOperand<STMT,ELEMENT>> - Parameters:
other- the UNION ALL operand- Returns:
- the UNION ALL operator
-