Module org.seasar.doma.core
Class UnifiedSelectStarting<ENTITY>
java.lang.Object
org.seasar.doma.jdbc.criteria.statement.AbstractStatement<UnifiedSelectStarting<ENTITY>,List<ENTITY>>
org.seasar.doma.jdbc.criteria.statement.UnifiedSelectStarting<ENTITY>
- Type Parameters:
ENTITY- the type of the entity
- All Implemented Interfaces:
Buildable<Statement<List<ENTITY>>>,EntityQueryable<ENTITY>,Listable<ENTITY>,SetOperand<ENTITY>,Statement<List<ENTITY>>,StreamMappable<ENTITY>
public class UnifiedSelectStarting<ENTITY>
extends AbstractStatement<UnifiedSelectStarting<ENTITY>,List<ENTITY>>
implements SetOperand<ENTITY>, EntityQueryable<ENTITY>
Represents a SELECT statement starting point.
Note: project(EntityMetamodel) and projectTo(EntityMetamodel, PropertyMetamodel[]) will remove duplicate entities from the results.
-
Field Summary
Fields inherited from class org.seasar.doma.jdbc.criteria.statement.AbstractStatement
config, EXECUTE_METHOD, EXECUTE_METHOD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionUnifiedSelectStarting(Config config, SelectFromDeclaration declaration, EntityMetamodel<ENTITY> entityMetamodel) Creates an instance. -
Method Summary
Modifier and TypeMethodDescription<ENTITY1,ENTITY2>
EntityQueryable<ENTITY>associate(EntityMetamodel<ENTITY1> first, EntityMetamodel<ENTITY2> second, BiConsumer<ENTITY1, ENTITY2> associator) Associates the entities.<ENTITY1,ENTITY2>
EntityQueryable<ENTITY>associate(EntityMetamodel<ENTITY1> first, EntityMetamodel<ENTITY2> second, BiConsumer<ENTITY1, ENTITY2> associator, AssociationOption option) Associates the entities with the option.<ENTITY1,ENTITY2>
EntityQueryable<ENTITY>associateWith(EntityMetamodel<ENTITY1> first, EntityMetamodel<ENTITY2> second, BiFunction<ENTITY1, ENTITY2, ENTITY1> associator) Associates the immutable entities.<ENTITY1,ENTITY2>
EntityQueryable<ENTITY>associateWith(EntityMetamodel<ENTITY1> first, EntityMetamodel<ENTITY2> second, BiFunction<ENTITY1, ENTITY2, ENTITY1> associator, AssociationOption option) Associates the immutable entities with the option.distinct()Specifies the distinct keyword.distinct(DistinctOption distinctOption) Specifies the distinct keyword with the specified option.Specifies the for update clause.forUpdate(ForUpdateOption option) Specifies the for update clause with the specified option.Returns the set operation contextgroupBy(PropertyMetamodel<?>... propertyMetamodels) Specifies the group by clause.having(Consumer<HavingDeclaration> block) Specifies the having clause.innerJoin(EntityMetamodel<?> entityMetamodel, Consumer<JoinDeclaration> block) Specifies the inner join clause.leftJoin(EntityMetamodel<?> entityMetamodel, Consumer<JoinDeclaration> block) Specifies the left join clause.Specifies the limit clause.<RESULT> RESULTMap a stream.Specifies the offset clause.Open a stream.orderBy(Consumer<OrderByNameDeclaration> block) Specifies the order by clause.<RESULT> Listable<RESULT>project(EntityMetamodel<RESULT> entityMetamodel) Projects the result to the entity.<RESULT> Listable<RESULT>projectTo(EntityMetamodel<RESULT> entityMetamodel, PropertyMetamodel<?>... propertyMetamodels) Projects the result to the entity with the specified properties.select()Projects the result to the entity.<T> SetOperand<T>select(EntityMetamodel<T> entityMetamodel) Projects the result to the specified entity.<T1,T2> SetOperand<Tuple2<T1, T2>> select(EntityMetamodel<T1> entityMetamodel1, EntityMetamodel<T2> entityMetamodel2) Projects the result to the specified entities.<T1,T2, T3> SetOperand<Tuple3<T1, T2, T3>> select(EntityMetamodel<T1> entityMetamodel1, EntityMetamodel<T2> entityMetamodel2, EntityMetamodel<T3> entityMetamodel3) Projects the result to the specified entities.<T1,T2, T3, T4>
SetOperand<Tuple4<T1,T2, T3, T4>> select(EntityMetamodel<T1> entityMetamodel1, EntityMetamodel<T2> entityMetamodel2, EntityMetamodel<T3> entityMetamodel3, EntityMetamodel<T4> entityMetamodel4) Projects the result to the specified entities.<T1,T2, T3, T4, T5>
SetOperand<Tuple5<T1,T2, T3, T4, T5>> select(EntityMetamodel<T1> entityMetamodel1, EntityMetamodel<T2> entityMetamodel2, EntityMetamodel<T3> entityMetamodel3, EntityMetamodel<T4> entityMetamodel4, EntityMetamodel<T5> entityMetamodel5) Projects the result to the specified entities.<T1,T2, T3, T4, T5, T6>
SetOperand<Tuple6<T1,T2, T3, T4, T5, T6>> select(EntityMetamodel<T1> entityMetamodel1, EntityMetamodel<T2> entityMetamodel2, EntityMetamodel<T3> entityMetamodel3, EntityMetamodel<T4> entityMetamodel4, EntityMetamodel<T5> entityMetamodel5, EntityMetamodel<T6> entityMetamodel6) Projects the result to the specified entities.<T1,T2, T3, T4, T5, T6, T7>
SetOperand<Tuple7<T1,T2, T3, T4, T5, T6, T7>> select(EntityMetamodel<T1> entityMetamodel1, EntityMetamodel<T2> entityMetamodel2, EntityMetamodel<T3> entityMetamodel3, EntityMetamodel<T4> entityMetamodel4, EntityMetamodel<T5> entityMetamodel5, EntityMetamodel<T6> entityMetamodel6, EntityMetamodel<T7> entityMetamodel7) Projects the result to the specified entities.<T1,T2, T3, T4, T5, T6, T7, T8>
SetOperand<Tuple8<T1,T2, T3, T4, T5, T6, T7, T8>> select(EntityMetamodel<T1> entityMetamodel1, EntityMetamodel<T2> entityMetamodel2, EntityMetamodel<T3> entityMetamodel3, EntityMetamodel<T4> entityMetamodel4, EntityMetamodel<T5> entityMetamodel5, EntityMetamodel<T6> entityMetamodel6, EntityMetamodel<T7> entityMetamodel7, EntityMetamodel<T8> entityMetamodel8) Projects the result to the specified entities.<T1,T2, T3, T4, T5, T6, T7, T8, T9>
SetOperand<Tuple9<T1,T2, T3, T4, T5, T6, T7, T8, T9>> select(EntityMetamodel<T1> entityMetamodel1, EntityMetamodel<T2> entityMetamodel2, EntityMetamodel<T3> entityMetamodel3, EntityMetamodel<T4> entityMetamodel4, EntityMetamodel<T5> entityMetamodel5, EntityMetamodel<T6> entityMetamodel6, EntityMetamodel<T7> entityMetamodel7, EntityMetamodel<T8> entityMetamodel8, EntityMetamodel<T9> entityMetamodel9) Projects the result to the specified entities.select(PropertyMetamodel<?> propertyMetamodel, PropertyMetamodel<?>... propertyMetamodels) Projects the result as a List ofRowimplicitly with the specified properties.<T> SetOperand<T>select(PropertyMetamodel<T> propertyMetamodel) Projects the result with the specified property.<T1,T2> SetOperand<Tuple2<T1, T2>> select(PropertyMetamodel<T1> propertyMetamodel1, PropertyMetamodel<T2> propertyMetamodel2) Projects the result with the specified properties.<T1,T2, T3> SetOperand<Tuple3<T1, T2, T3>> select(PropertyMetamodel<T1> propertyMetamodel1, PropertyMetamodel<T2> propertyMetamodel2, PropertyMetamodel<T3> propertyMetamodel3) Projects the result with the specified properties.<T1,T2, T3, T4>
SetOperand<Tuple4<T1,T2, T3, T4>> select(PropertyMetamodel<T1> propertyMetamodel1, PropertyMetamodel<T2> propertyMetamodel2, PropertyMetamodel<T3> propertyMetamodel3, PropertyMetamodel<T4> propertyMetamodel4) Projects the result with the specified properties.<T1,T2, T3, T4, T5>
SetOperand<Tuple5<T1,T2, T3, T4, T5>> select(PropertyMetamodel<T1> propertyMetamodel1, PropertyMetamodel<T2> propertyMetamodel2, PropertyMetamodel<T3> propertyMetamodel3, PropertyMetamodel<T4> propertyMetamodel4, PropertyMetamodel<T5> propertyMetamodel5) Projects the result with the specified properties.<T1,T2, T3, T4, T5, T6>
SetOperand<Tuple6<T1,T2, T3, T4, T5, T6>> select(PropertyMetamodel<T1> propertyMetamodel1, PropertyMetamodel<T2> propertyMetamodel2, PropertyMetamodel<T3> propertyMetamodel3, PropertyMetamodel<T4> propertyMetamodel4, PropertyMetamodel<T5> propertyMetamodel5, PropertyMetamodel<T6> propertyMetamodel6) Projects the result with the specified properties.<T1,T2, T3, T4, T5, T6, T7>
SetOperand<Tuple7<T1,T2, T3, T4, T5, T6, T7>> select(PropertyMetamodel<T1> propertyMetamodel1, PropertyMetamodel<T2> propertyMetamodel2, PropertyMetamodel<T3> propertyMetamodel3, PropertyMetamodel<T4> propertyMetamodel4, PropertyMetamodel<T5> propertyMetamodel5, PropertyMetamodel<T6> propertyMetamodel6, PropertyMetamodel<T7> propertyMetamodel7) Projects the result with the specified properties.<T1,T2, T3, T4, T5, T6, T7, T8>
SetOperand<Tuple8<T1,T2, T3, T4, T5, T6, T7, T8>> select(PropertyMetamodel<T1> propertyMetamodel1, PropertyMetamodel<T2> propertyMetamodel2, PropertyMetamodel<T3> propertyMetamodel3, PropertyMetamodel<T4> propertyMetamodel4, PropertyMetamodel<T5> propertyMetamodel5, PropertyMetamodel<T6> propertyMetamodel6, PropertyMetamodel<T7> propertyMetamodel7, PropertyMetamodel<T8> propertyMetamodel8) Projects the result with the specified properties.<T1,T2, T3, T4, T5, T6, T7, T8, T9>
SetOperand<Tuple9<T1,T2, T3, T4, T5, T6, T7, T8, T9>> select(PropertyMetamodel<T1> propertyMetamodel1, PropertyMetamodel<T2> propertyMetamodel2, PropertyMetamodel<T3> propertyMetamodel3, PropertyMetamodel<T4> propertyMetamodel4, PropertyMetamodel<T5> propertyMetamodel5, PropertyMetamodel<T6> propertyMetamodel6, PropertyMetamodel<T7> propertyMetamodel7, PropertyMetamodel<T8> propertyMetamodel8, PropertyMetamodel<T9> propertyMetamodel9) Projects the result with the specified properties.selectAsRow(PropertyMetamodel<?> propertyMetamodel, PropertyMetamodel<?>... propertyMetamodels) Projects the result as a List ofRowexplicitly with the specified properties.<RESULT> SetOperand<RESULT>selectTo(EntityMetamodel<RESULT> entityMetamodel, PropertyMetamodel<?>... propertyMetamodels) Projects the result to the entity.union(SetOperand<ENTITY> other) Creates an UNION statementunionAll(SetOperand<ENTITY> other) Creates an UNION ALL statementwhere(Consumer<WhereDeclaration> block) Specifies the where clause.Methods 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
-
UnifiedSelectStarting
public UnifiedSelectStarting(Config config, SelectFromDeclaration declaration, EntityMetamodel<ENTITY> entityMetamodel) Creates an instance.- Parameters:
config- the configurationdeclaration- the declarationentityMetamodel- the entity metamodel
-
-
Method Details
-
distinct
Description copied from interface:EntityQueryableSpecifies the distinct keyword.- Specified by:
distinctin interfaceEntityQueryable<ENTITY>- Returns:
- the select statement
-
distinct
Description copied from interface:EntityQueryableSpecifies the distinct keyword with the specified option.- Specified by:
distinctin interfaceEntityQueryable<ENTITY>- Parameters:
distinctOption- the distinct option- Returns:
- the select statement
-
innerJoin
public UnifiedSelectStarting<ENTITY> innerJoin(EntityMetamodel<?> entityMetamodel, Consumer<JoinDeclaration> block) Description copied from interface:EntityQueryableSpecifies the inner join clause.- Specified by:
innerJoinin interfaceEntityQueryable<ENTITY>- Parameters:
entityMetamodel- the entity metamodelblock- the block that describes the join condition- Returns:
- the select statement
-
leftJoin
public UnifiedSelectStarting<ENTITY> leftJoin(EntityMetamodel<?> entityMetamodel, Consumer<JoinDeclaration> block) Description copied from interface:EntityQueryableSpecifies the left join clause.- Specified by:
leftJoinin interfaceEntityQueryable<ENTITY>- Parameters:
entityMetamodel- the entity metamodelblock- the block that describes the join condition- Returns:
- the select statement
-
where
Description copied from interface:EntityQueryableSpecifies the where clause.- Specified by:
wherein interfaceEntityQueryable<ENTITY>- Parameters:
block- the block that describes the where condition- Returns:
- the select statement
-
orderBy
Description copied from interface:EntityQueryableSpecifies the order by clause.- Specified by:
orderByin interfaceEntityQueryable<ENTITY>- Parameters:
block- the block that describes the order by condition- Returns:
- the select statement
-
limit
Description copied from interface:EntityQueryableSpecifies the limit clause.- Specified by:
limitin interfaceEntityQueryable<ENTITY>- Parameters:
limit- the limit- Returns:
- the select statement
-
offset
Description copied from interface:EntityQueryableSpecifies the offset clause.- Specified by:
offsetin interfaceEntityQueryable<ENTITY>- Parameters:
offset- the offset- Returns:
- the select statement
-
forUpdate
Description copied from interface:EntityQueryableSpecifies the for update clause.- Specified by:
forUpdatein interfaceEntityQueryable<ENTITY>- Returns:
- the select statement
-
forUpdate
Description copied from interface:EntityQueryableSpecifies the for update clause with the specified option.- Specified by:
forUpdatein interfaceEntityQueryable<ENTITY>- Parameters:
option- the for update option- Returns:
- the select statement
-
associate
public <ENTITY1,ENTITY2> EntityQueryable<ENTITY> associate(EntityMetamodel<ENTITY1> first, EntityMetamodel<ENTITY2> second, BiConsumer<ENTITY1, ENTITY2> associator) Description copied from interface:EntityQueryableAssociates the entities.- Specified by:
associatein interfaceEntityQueryable<ENTITY>- Parameters:
first- the first entity metamodelsecond- the second entity metamodelassociator- the associator- Returns:
- the select statement
-
associate
public <ENTITY1,ENTITY2> EntityQueryable<ENTITY> associate(EntityMetamodel<ENTITY1> first, EntityMetamodel<ENTITY2> second, BiConsumer<ENTITY1, ENTITY2> associator, AssociationOption option) Description copied from interface:EntityQueryableAssociates the entities with the option.- Specified by:
associatein interfaceEntityQueryable<ENTITY>- Parameters:
first- the first entity metamodelsecond- the second entity metamodelassociator- the associatoroption- the association option- Returns:
- the select statement
-
associateWith
public <ENTITY1,ENTITY2> EntityQueryable<ENTITY> associateWith(EntityMetamodel<ENTITY1> first, EntityMetamodel<ENTITY2> second, BiFunction<ENTITY1, ENTITY2, ENTITY1> associator) Description copied from interface:EntityQueryableAssociates the immutable entities.- Specified by:
associateWithin interfaceEntityQueryable<ENTITY>- Parameters:
first- the first entity metamodelsecond- the second entity metamodelassociator- the associator- Returns:
- the select statement
-
associateWith
public <ENTITY1,ENTITY2> EntityQueryable<ENTITY> associateWith(EntityMetamodel<ENTITY1> first, EntityMetamodel<ENTITY2> second, BiFunction<ENTITY1, ENTITY2, ENTITY1> associator, AssociationOption option) Description copied from interface:EntityQueryableAssociates the immutable entities with the option.- Specified by:
associateWithin interfaceEntityQueryable<ENTITY>- Parameters:
first- the first entity metamodelsecond- the second entity metamodelassociator- the associator- Returns:
- the select statement
-
project
Description copied from interface:EntityQueryableProjects the result to the entity. The duplicated entities are removed from the result.- Specified by:
projectin interfaceEntityQueryable<ENTITY>- Parameters:
entityMetamodel- the entity metamodel- Returns:
- the select statement
-
projectTo
public <RESULT> Listable<RESULT> projectTo(EntityMetamodel<RESULT> entityMetamodel, PropertyMetamodel<?>... propertyMetamodels) Description copied from interface:EntityQueryableProjects the result to the entity with the specified properties. The duplicated entities are removed from the result.- Specified by:
projectToin interfaceEntityQueryable<ENTITY>- Parameters:
entityMetamodel- the entity metamodelpropertyMetamodels- the property metamodels to project- Returns:
- the select statement
-
groupBy
Specifies the group by clause.- Parameters:
propertyMetamodels- the property metamodels to group by- Returns:
- the select statement
-
having
Specifies the having clause.- Parameters:
block- the block to declare the having condition- Returns:
- the select statement
-
select
Projects the result to the entity. The duplicated entities are NOT removed from the result.- Returns:
- the result
-
select
Projects the result to the specified entity. The duplicated entities are NOT removed from the result.- Parameters:
entityMetamodel- the entity metamodel to project- Returns:
- the result
-
select
public <T1,T2> SetOperand<Tuple2<T1,T2>> select(EntityMetamodel<T1> entityMetamodel1, EntityMetamodel<T2> entityMetamodel2) Projects the result to the specified entities. The duplicated entities are NOT removed from the result.- Parameters:
entityMetamodel1- the first entity metamodel to projectentityMetamodel2- the second entity metamodel to project- Returns:
- the result
-
select
public <T1,T2, SetOperand<Tuple3<T1,T3> T2, selectT3>> (EntityMetamodel<T1> entityMetamodel1, EntityMetamodel<T2> entityMetamodel2, EntityMetamodel<T3> entityMetamodel3) Projects the result to the specified entities. The duplicated entities are NOT removed from the result.- Parameters:
entityMetamodel1- the first entity metamodel to projectentityMetamodel2- the second entity metamodel to projectentityMetamodel3- the third entity metamodel to project- Returns:
- the result
-
select
public <T1,T2, SetOperand<Tuple4<T1,T3, T4> T2, selectT3, T4>> (EntityMetamodel<T1> entityMetamodel1, EntityMetamodel<T2> entityMetamodel2, EntityMetamodel<T3> entityMetamodel3, EntityMetamodel<T4> entityMetamodel4) Projects the result to the specified entities. The duplicated entities are NOT removed from the result.- Parameters:
entityMetamodel1- the first entity metamodel to projectentityMetamodel2- the second entity metamodel to projectentityMetamodel3- the third entity metamodel to projectentityMetamodel4- the fourth entity metamodel to project- Returns:
- the result
-
select
public <T1,T2, SetOperand<Tuple5<T1,T3, T4, T5> T2, selectT3, T4, T5>> (EntityMetamodel<T1> entityMetamodel1, EntityMetamodel<T2> entityMetamodel2, EntityMetamodel<T3> entityMetamodel3, EntityMetamodel<T4> entityMetamodel4, EntityMetamodel<T5> entityMetamodel5) Projects the result to the specified entities. The duplicated entities are NOT removed from the result.- Parameters:
entityMetamodel1- the first entity metamodel to projectentityMetamodel2- the second entity metamodel to projectentityMetamodel3- the third entity metamodel to projectentityMetamodel4- the fourth entity metamodel to projectentityMetamodel5- the fifth entity metamodel to project- Returns:
- the result
-
select
public <T1,T2, SetOperand<Tuple6<T1,T3, T4, T5, T6> T2, selectT3, T4, T5, T6>> (EntityMetamodel<T1> entityMetamodel1, EntityMetamodel<T2> entityMetamodel2, EntityMetamodel<T3> entityMetamodel3, EntityMetamodel<T4> entityMetamodel4, EntityMetamodel<T5> entityMetamodel5, EntityMetamodel<T6> entityMetamodel6) Projects the result to the specified entities. The duplicated entities are NOT removed from the result.- Parameters:
entityMetamodel1- the first entity metamodel to projectentityMetamodel2- the second entity metamodel to projectentityMetamodel3- the third entity metamodel to projectentityMetamodel4- the fourth entity metamodel to projectentityMetamodel5- the fifth entity metamodel to projectentityMetamodel6- the sixth entity metamodel to project- Returns:
- the result
-
select
public <T1,T2, SetOperand<Tuple7<T1,T3, T4, T5, T6, T7> T2, selectT3, T4, T5, T6, T7>> (EntityMetamodel<T1> entityMetamodel1, EntityMetamodel<T2> entityMetamodel2, EntityMetamodel<T3> entityMetamodel3, EntityMetamodel<T4> entityMetamodel4, EntityMetamodel<T5> entityMetamodel5, EntityMetamodel<T6> entityMetamodel6, EntityMetamodel<T7> entityMetamodel7) Projects the result to the specified entities. The duplicated entities are NOT removed from the result.- Parameters:
entityMetamodel1- the first entity metamodel to projectentityMetamodel2- the second entity metamodel to projectentityMetamodel3- the third entity metamodel to projectentityMetamodel4- the fourth entity metamodel to projectentityMetamodel5- the fifth entity metamodel to projectentityMetamodel6- the sixth entity metamodel to projectentityMetamodel7- the seventh entity metamodel to project- Returns:
- the result
-
select
public <T1,T2, SetOperand<Tuple8<T1,T3, T4, T5, T6, T7, T8> T2, selectT3, T4, T5, T6, T7, T8>> (EntityMetamodel<T1> entityMetamodel1, EntityMetamodel<T2> entityMetamodel2, EntityMetamodel<T3> entityMetamodel3, EntityMetamodel<T4> entityMetamodel4, EntityMetamodel<T5> entityMetamodel5, EntityMetamodel<T6> entityMetamodel6, EntityMetamodel<T7> entityMetamodel7, EntityMetamodel<T8> entityMetamodel8) Projects the result to the specified entities. The duplicated entities are NOT removed from the result.- Parameters:
entityMetamodel1- the first entity metamodel to projectentityMetamodel2- the second entity metamodel to projectentityMetamodel3- the third entity metamodel to projectentityMetamodel4- the fourth entity metamodel to projectentityMetamodel5- the fifth entity metamodel to projectentityMetamodel6- the sixth entity metamodel to projectentityMetamodel7- the seventh entity metamodel to projectentityMetamodel8- the eighth entity metamodel to project- Returns:
- the result
-
select
public <T1,T2, SetOperand<Tuple9<T1,T3, T4, T5, T6, T7, T8, T9> T2, selectT3, T4, T5, T6, T7, T8, T9>> (EntityMetamodel<T1> entityMetamodel1, EntityMetamodel<T2> entityMetamodel2, EntityMetamodel<T3> entityMetamodel3, EntityMetamodel<T4> entityMetamodel4, EntityMetamodel<T5> entityMetamodel5, EntityMetamodel<T6> entityMetamodel6, EntityMetamodel<T7> entityMetamodel7, EntityMetamodel<T8> entityMetamodel8, EntityMetamodel<T9> entityMetamodel9) Projects the result to the specified entities. The duplicated entities are NOT removed from the result.- Parameters:
entityMetamodel1- the first entity metamodel to projectentityMetamodel2- the second entity metamodel to projectentityMetamodel3- the third entity metamodel to projectentityMetamodel4- the fourth entity metamodel to projectentityMetamodel5- the fifth entity metamodel to projectentityMetamodel6- the sixth entity metamodel to projectentityMetamodel7- the seventh entity metamodel to projectentityMetamodel8- the eighth entity metamodel to projectentityMetamodel9- the ninth entity metamodel to project- Returns:
- the result
-
select
Projects the result with the specified property. The duplicated tuples are NOT removed from the result.- Parameters:
propertyMetamodel- the property metamodel to project- Returns:
- the result
-
select
public <T1,T2> SetOperand<Tuple2<T1,T2>> select(PropertyMetamodel<T1> propertyMetamodel1, PropertyMetamodel<T2> propertyMetamodel2) Projects the result with the specified properties. The duplicated tuples are NOT removed from the result.- Parameters:
propertyMetamodel1- the first property metamodel to projectpropertyMetamodel2- the second property metamodel to project- Returns:
- the result
-
select
public <T1,T2, SetOperand<Tuple3<T1,T3> T2, selectT3>> (PropertyMetamodel<T1> propertyMetamodel1, PropertyMetamodel<T2> propertyMetamodel2, PropertyMetamodel<T3> propertyMetamodel3) Projects the result with the specified properties. The duplicated tuples are NOT removed from the result.- Parameters:
propertyMetamodel1- the first property metamodel to projectpropertyMetamodel2- the second property metamodel to projectpropertyMetamodel3- the third property metamodel to project- Returns:
- the result
-
select
public <T1,T2, SetOperand<Tuple4<T1,T3, T4> T2, selectT3, T4>> (PropertyMetamodel<T1> propertyMetamodel1, PropertyMetamodel<T2> propertyMetamodel2, PropertyMetamodel<T3> propertyMetamodel3, PropertyMetamodel<T4> propertyMetamodel4) Projects the result with the specified properties. The duplicated tuples are NOT removed from the result.- Parameters:
propertyMetamodel1- the first property metamodel to projectpropertyMetamodel2- the second property metamodel to projectpropertyMetamodel3- the third property metamodel to projectpropertyMetamodel4- the fourth property metamodel to project- Returns:
- the result
-
select
public <T1,T2, SetOperand<Tuple5<T1,T3, T4, T5> T2, selectT3, T4, T5>> (PropertyMetamodel<T1> propertyMetamodel1, PropertyMetamodel<T2> propertyMetamodel2, PropertyMetamodel<T3> propertyMetamodel3, PropertyMetamodel<T4> propertyMetamodel4, PropertyMetamodel<T5> propertyMetamodel5) Projects the result with the specified properties. The duplicated tuples are NOT removed from the result.- Parameters:
propertyMetamodel1- the first property metamodel to projectpropertyMetamodel2- the second property metamodel to projectpropertyMetamodel3- the third property metamodel to projectpropertyMetamodel4- the fourth property metamodel to projectpropertyMetamodel5- the fifth property metamodel to project- Returns:
- the result
-
select
public <T1,T2, SetOperand<Tuple6<T1,T3, T4, T5, T6> T2, selectT3, T4, T5, T6>> (PropertyMetamodel<T1> propertyMetamodel1, PropertyMetamodel<T2> propertyMetamodel2, PropertyMetamodel<T3> propertyMetamodel3, PropertyMetamodel<T4> propertyMetamodel4, PropertyMetamodel<T5> propertyMetamodel5, PropertyMetamodel<T6> propertyMetamodel6) Projects the result with the specified properties. The duplicated tuples are NOT removed from the result.- Parameters:
propertyMetamodel1- the first property metamodel to projectpropertyMetamodel2- the second property metamodel to projectpropertyMetamodel3- the third property metamodel to projectpropertyMetamodel4- the fourth property metamodel to projectpropertyMetamodel5- the fifth property metamodel to projectpropertyMetamodel6- the sixth property metamodel to project- Returns:
- the result
-
select
public <T1,T2, SetOperand<Tuple7<T1,T3, T4, T5, T6, T7> T2, selectT3, T4, T5, T6, T7>> (PropertyMetamodel<T1> propertyMetamodel1, PropertyMetamodel<T2> propertyMetamodel2, PropertyMetamodel<T3> propertyMetamodel3, PropertyMetamodel<T4> propertyMetamodel4, PropertyMetamodel<T5> propertyMetamodel5, PropertyMetamodel<T6> propertyMetamodel6, PropertyMetamodel<T7> propertyMetamodel7) Projects the result with the specified properties. The duplicated tuples are NOT removed from the result.- Parameters:
propertyMetamodel1- the first property metamodel to projectpropertyMetamodel2- the second property metamodel to projectpropertyMetamodel3- the third property metamodel to projectpropertyMetamodel4- the fourth property metamodel to projectpropertyMetamodel5- the fifth property metamodel to projectpropertyMetamodel6- the sixth property metamodel to projectpropertyMetamodel7- the seventh property metamodel to project- Returns:
- the result
-
select
public <T1,T2, SetOperand<Tuple8<T1,T3, T4, T5, T6, T7, T8> T2, selectT3, T4, T5, T6, T7, T8>> (PropertyMetamodel<T1> propertyMetamodel1, PropertyMetamodel<T2> propertyMetamodel2, PropertyMetamodel<T3> propertyMetamodel3, PropertyMetamodel<T4> propertyMetamodel4, PropertyMetamodel<T5> propertyMetamodel5, PropertyMetamodel<T6> propertyMetamodel6, PropertyMetamodel<T7> propertyMetamodel7, PropertyMetamodel<T8> propertyMetamodel8) Projects the result with the specified properties. The duplicated tuples are NOT removed from the result.- Parameters:
propertyMetamodel1- the first property metamodel to projectpropertyMetamodel2- the second property metamodel to projectpropertyMetamodel3- the third property metamodel to projectpropertyMetamodel4- the fourth property metamodel to projectpropertyMetamodel5- the fifth property metamodel to projectpropertyMetamodel6- the sixth property metamodel to projectpropertyMetamodel7- the seventh property metamodel to projectpropertyMetamodel8- the eighth property metamodel to project- Returns:
- the result
-
select
public <T1,T2, SetOperand<Tuple9<T1,T3, T4, T5, T6, T7, T8, T9> T2, selectT3, T4, T5, T6, T7, T8, T9>> (PropertyMetamodel<T1> propertyMetamodel1, PropertyMetamodel<T2> propertyMetamodel2, PropertyMetamodel<T3> propertyMetamodel3, PropertyMetamodel<T4> propertyMetamodel4, PropertyMetamodel<T5> propertyMetamodel5, PropertyMetamodel<T6> propertyMetamodel6, PropertyMetamodel<T7> propertyMetamodel7, PropertyMetamodel<T8> propertyMetamodel8, PropertyMetamodel<T9> propertyMetamodel9) Projects the result with the specified properties. The duplicated tuples are NOT removed from the result.- Parameters:
propertyMetamodel1- the first property metamodel to projectpropertyMetamodel2- the second property metamodel to projectpropertyMetamodel3- the third property metamodel to projectpropertyMetamodel4- the fourth property metamodel to projectpropertyMetamodel5- the fifth property metamodel to projectpropertyMetamodel6- the sixth property metamodel to projectpropertyMetamodel7- the seventh property metamodel to projectpropertyMetamodel8- the eighth property metamodel to projectpropertyMetamodel9- the ninth property metamodel to project- Returns:
- the result
-
select
public SetOperand<Row> select(PropertyMetamodel<?> propertyMetamodel, PropertyMetamodel<?>... propertyMetamodels) Projects the result as a List ofRowimplicitly with the specified properties. The duplicated rows are NOT removed from the result.- Parameters:
propertyMetamodels- the property metamodels to project- Returns:
- the result
-
selectAsRow
public SetOperand<Row> selectAsRow(PropertyMetamodel<?> propertyMetamodel, PropertyMetamodel<?>... propertyMetamodels) Projects the result as a List ofRowexplicitly with the specified properties. The duplicated rows are NOT removed from the result.- Parameters:
propertyMetamodels- the property metamodels to project- Returns:
- the result
-
selectTo
public <RESULT> SetOperand<RESULT> selectTo(EntityMetamodel<RESULT> entityMetamodel, PropertyMetamodel<?>... propertyMetamodels) Projects the result to the entity. The duplicated entities are NOT removed from the result.- Returns:
- the result
-
openStream
Description copied from interface:StreamMappableOpen a stream.You must close the stream after using it.
- Specified by:
openStreamin interfaceStreamMappable<ENTITY>- Returns:
- the opened stream
-
mapStream
Description copied from interface:StreamMappableMap a stream.- Specified by:
mapStreamin interfaceStreamMappable<ENTITY>- Type Parameters:
RESULT- the mapped result- Parameters:
streamMapper- the mapper- Returns:
- the mapped result
-
getContext
Description copied from interface:SetOperandReturns the set operation context- Specified by:
getContextin interfaceSetOperand<ENTITY>- Returns:
- the context
-
union
Description copied from interface:SetOperandCreates an UNION statement- Specified by:
unionin interfaceSetOperand<ENTITY>- Parameters:
other- the UNION operand- Returns:
- the UNION operator
-
unionAll
Description copied from interface:SetOperandCreates an UNION ALL statement- Specified by:
unionAllin interfaceSetOperand<ENTITY>- Parameters:
other- the UNION ALL operand- Returns:
- the UNION ALL operator
-
createCommand
- Specified by:
createCommandin classAbstractStatement<UnifiedSelectStarting<ENTITY>,List<ENTITY>>
-