com.aneeshpu.dpdeppop.query
Class QueryFactory

java.lang.Object
  extended by com.aneeshpu.dpdeppop.query.QueryFactory

public class QueryFactory
extends Object


Constructor Summary
QueryFactory(Connection connection)
           
 
Method Summary
 Query generateDeleteQuery(Column primaryKeyColumn, Map<String,Map<String,Object>> preassignedValues, Record record)
           
 Query generateInsertQuery(Map<String,Column> columns, Map<String,Map<String,Object>> preassignedValues, Record record)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryFactory

public QueryFactory(Connection connection)
Method Detail

generateInsertQuery

public Query generateInsertQuery(Map<String,Column> columns,
                                 Map<String,Map<String,Object>> preassignedValues,
                                 Record record)
                          throws SQLException
Throws:
SQLException

generateDeleteQuery

public Query generateDeleteQuery(Column primaryKeyColumn,
                                 Map<String,Map<String,Object>> preassignedValues,
                                 Record record)
                          throws SQLException
Throws:
SQLException


Copyright © 2013. All Rights Reserved.