Module org.seasar.doma.core
Interface SetOperand<ELEMENT>
- Type Parameters:
ELEMENT- the element type of the set operation result
- All Superinterfaces:
Buildable<Statement<List<ELEMENT>>>,Listable<ELEMENT>,Statement<List<ELEMENT>>,StreamMappable<ELEMENT>
- All Known Subinterfaces:
SetOperator<ELEMENT>
- All Known Implementing Classes:
AbstractSetOperand,NativeSqlSelectIntermediate,NativeSqlSelectStarting,NativeSqlSetStarting,UnifiedSelectStarting
Represents a set operand.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the set operation contextPeeks the built SQL.union(SetOperand<ELEMENT> other) Creates an UNION statementunionAll(SetOperand<ELEMENT> other) Creates an UNION ALL statementMethods inherited from interface org.seasar.doma.jdbc.criteria.statement.Listable
fetch, fetchOne, fetchOptional, streamMethods inherited from interface org.seasar.doma.jdbc.criteria.statement.StreamMappable
collect, mapStream, openStream
-
Method Details
-
getContext
SetOperationContext<ELEMENT> getContext()Returns the set operation context- Returns:
- the context
-
union
Creates an UNION statement- Parameters:
other- the UNION operand- Returns:
- the UNION operator
-
unionAll
Creates an UNION ALL statement- Parameters:
other- the UNION ALL operand- Returns:
- the UNION ALL operator
-
peek
Description copied from interface:BuildablePeeks the built SQL.
-