Class MasterDetailSelectIdStatement
- java.lang.Object
-
- com.im.df.impl.db.query.relational.MasterDetailSelectIdStatement
-
public final class MasterDetailSelectIdStatement extends Object
TODO P2 - this could be probably refactored using polymorphism of DFRelationship implementation, so each of the relationship impls can drive the queries.- Author:
- Tim Dudgeon
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MasterDetailSelectIdStatement.ListRetriever
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MasterDetailSelectIdStatement
create(com.im.df.api.ddl.DFEntity masterEty, com.im.df.api.ddl.DFRelationship.Direction dir)
Factory method.MasterDetailSelectIdStatement.ListRetriever
createListRetriever(DataSource dataSource)
String
createPreparedStatmentSql(com.im.df.api.support.SortDirective sort)
-
-
-
Method Detail
-
create
public static MasterDetailSelectIdStatement create(com.im.df.api.ddl.DFEntity masterEty, com.im.df.api.ddl.DFRelationship.Direction dir)
Factory method. TODO - move this out of this class so that it is independent of DIF.
-
createPreparedStatmentSql
public String createPreparedStatmentSql(com.im.df.api.support.SortDirective sort)
-
createListRetriever
public MasterDetailSelectIdStatement.ListRetriever createListRetriever(DataSource dataSource)
-
-