com.healthmarketscience.jackcess.impl.query
Class UpdateQueryImpl

java.lang.Object
  extended by com.healthmarketscience.jackcess.impl.query.QueryImpl
      extended by com.healthmarketscience.jackcess.impl.query.UpdateQueryImpl
All Implemented Interfaces:
Query, UpdateQuery

public class UpdateQueryImpl
extends QueryImpl
implements UpdateQuery

Concrete Query subclass which represents a row update query, e.g.: UPDATE <table> SET <newValues>

Author:
James Ahlborn

Nested Class Summary
 
Nested classes/interfaces inherited from class com.healthmarketscience.jackcess.impl.query.QueryImpl
QueryImpl.Row
 
Nested classes/interfaces inherited from interface com.healthmarketscience.jackcess.query.Query
Query.Type
 
Constructor Summary
UpdateQueryImpl(String name, List<QueryImpl.Row> rows, int objectId, int objectFlag)
           
 
Method Summary
 List<String> getNewValues()
           
 String getRemoteDbPath()
           
 String getRemoteDbType()
           
 List<String> getTargetTables()
           
 String getWhereExpression()
           
 
Methods inherited from class com.healthmarketscience.jackcess.impl.query.QueryImpl
create, getName, getObjectFlag, getObjectId, getOwnerAccessType, getParameters, getRows, getType, getTypeRow, isHidden, toSQLString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.healthmarketscience.jackcess.query.Query
getName, getObjectFlag, getObjectId, getOwnerAccessType, getParameters, getType, isHidden, toSQLString
 

Constructor Detail

UpdateQueryImpl

public UpdateQueryImpl(String name,
                       List<QueryImpl.Row> rows,
                       int objectId,
                       int objectFlag)
Method Detail

getTargetTables

public List<String> getTargetTables()
Specified by:
getTargetTables in interface UpdateQuery

getRemoteDbPath

public String getRemoteDbPath()
Specified by:
getRemoteDbPath in interface UpdateQuery

getRemoteDbType

public String getRemoteDbType()
Specified by:
getRemoteDbType in interface UpdateQuery

getNewValues

public List<String> getNewValues()
Specified by:
getNewValues in interface UpdateQuery

getWhereExpression

public String getWhereExpression()
Specified by:
getWhereExpression in interface UpdateQuery


Copyright © 2005–2017 Health Market Science. All rights reserved.