EclipseLink 1.1.4, build 'v20100812-r7860' API Reference

org.eclipse.persistence.queries
Class ModifyQuery

java.lang.Object
  extended by org.eclipse.persistence.queries.DatabaseQuery
      extended by org.eclipse.persistence.queries.ModifyQuery
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
DataModifyQuery, ModifyAllQuery, ObjectLevelModifyQuery

public abstract class ModifyQuery
extends DatabaseQuery

Purpose: Abstract class for all modify queries. Currently contains no behavior.

See Also:
Serialized Form
Author:
Yvon Lavoie
Since:
TOPLink/Java 1.0

Field Summary
protected  boolean forceBatchStatementExecution
           
protected  org.eclipse.persistence.internal.sessions.AbstractRecord modifyRow
           
 
Fields inherited from class org.eclipse.persistence.queries.DatabaseQuery
accessor, argumentFields, arguments, argumentTypeNames, argumentTypes, argumentValues, CascadeAggregateDelete, CascadeAllParts, CascadeByMapping, CascadeDependentParts, cascadePolicy, CascadePrivateParts, descriptor, doNotRedirect, executionSession, flushOnExecute, hintString, isCustomQueryUsed, isExecutionClone, isNativeConnectionRequired, isPrepared, isUserDefined, name, NoCascading, properties, queryMechanism, queryTimeout, redirector, session, sessionName, shouldBindAllParameters, shouldCacheStatement, shouldCloneCall, shouldMaintainCache, shouldPrepare, shouldUseWrapperPolicy, sourceMapping, translationRow
 
Constructor Summary
ModifyQuery()
           
 
Method Summary
 boolean forceBatchStatementExecution()
          PUBLIC: Returns if this query has been set to flush on execution.
 org.eclipse.persistence.internal.sessions.AbstractRecord getModifyRow()
          INTERNAL: Return the modify row
 boolean isModifyQuery()
          PUBLIC: Return if this is a modify query.
 void setForceBatchStatementExecution(boolean value)
          PUBLIC: Allow setting this query to be the last statement added to a batch statement and ensure it is flushed on execution.
 void setModifyRow(org.eclipse.persistence.internal.sessions.AbstractRecord row)
          INTERNAL: Set the modify row
 
Methods inherited from class org.eclipse.persistence.queries.DatabaseQuery
addArgument, addArgument, addArgument, addArgumentByTypeName, addArgumentValue, addArgumentValues, addCall, addStatement, bindAllParameters, buildArgumentFields, buildSelectionCriteria, cacheStatement, cascadeAllParts, cascadeByMapping, cascadeOnlyDependentParts, cascadePrivateParts, checkDescriptor, checkEarlyReturn, checkForCustomQuery, checkPrepare, checkPrepare, clone, clonedQueryExecutionComplete, convertClassNamesToClasses, copyFromQuery, dontBindAllParameters, dontCacheStatement, dontCascadeParts, dontMaintainCache, execute, executeDatabaseQuery, executeInUnitOfWork, extractRemoteResult, getAccessor, getArguments, getArgumentTypeNames, getArgumentTypes, getArgumentValues, getCall, getCascadePolicy, getDatasourceCall, getDatasourceCalls, getDefaultRedirector, getDescriptor, getDomainClassNounName, getDoNotRedirect, getEJBQLString, getExecutionSession, getFlushOnExecute, getHintString, getJPQLString, getName, getProperties, getProperty, getQueryMechanism, getQueryNounName, getQueryTimeout, getRedirector, getReferenceClass, getReferenceClassName, getSelectionCriteria, getSensorName, getSession, getSessionName, getShouldBindAllParameters, getSourceMapping, getSQLStatement, getSQLString, getSQLStrings, getTranslatedSQLString, getTranslatedSQLStrings, getTranslationRow, hasAccessor, hasArguments, hasProperties, hasQueryMechanism, hasSessionName, ignoreBindAllParameters, ignoreCacheStatement, isCallQuery, isCascadeOfAggregateDelete, isCustomQueryUsed, isCustomSelectionQuery, isDataModifyQuery, isDataReadQuery, isDefaultPropertiesQuery, isDeleteAllQuery, isDeleteObjectQuery, isDirectReadQuery, isExecutionClone, isExpressionQuery, isInsertObjectQuery, isJPQLCallQuery, isModifyAllQuery, isNativeConnectionRequired, isObjectBuildingQuery, isObjectLevelModifyQuery, isObjectLevelReadQuery, isPrepared, isReadAllQuery, isReadObjectQuery, isReadQuery, isReportQuery, isSQLCallQuery, isUpdateAllQuery, isUpdateObjectQuery, isUserDefined, isValueReadQuery, isWriteObjectQuery, maintainCache, prepare, prepareCall, prepareCustomQuery, prepareForExecution, prepareForRemoteExecution, prepareFromQuery, redirectQuery, remoteExecute, remoteExecute, removeProperty, replaceValueHoldersIn, rowFromArguments, setAccessor, setArguments, setArgumentTypeNames, setArgumentTypes, setArgumentValues, setCall, setCascadePolicy, setDatasourceCall, setDescriptor, setDoNotRedirect, setEJBQLString, setExecutionSession, setFlushOnExecute, setHintString, setIsCustomQueryUsed, setIsExecutionClone, setIsNativeConnectionRequired, setIsPrepared, setIsUserDefined, setJPQLString, setName, setProperties, setProperty, setQueryMechanism, setQueryTimeout, setRedirector, setSelectionCriteria, setSession, setSessionName, setShouldBindAllParameters, setShouldBindAllParameters, setShouldCacheStatement, setShouldMaintainCache, setShouldPrepare, setShouldUseWrapperPolicy, setSourceMapping, setSQLStatement, setSQLString, setTranslationRow, shouldBindAllParameters, shouldCacheStatement, shouldCascadeAllParts, shouldCascadeByMapping, shouldCascadeOnlyDependentParts, shouldCascadeParts, shouldCascadePrivateParts, shouldCloneCall, shouldIgnoreBindAllParameters, shouldIgnoreCacheStatement, shouldMaintainCache, shouldPrepare, shouldUseWrapperPolicy, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

modifyRow

protected org.eclipse.persistence.internal.sessions.AbstractRecord modifyRow

forceBatchStatementExecution

protected boolean forceBatchStatementExecution
Constructor Detail

ModifyQuery

public ModifyQuery()
Method Detail

getModifyRow

public org.eclipse.persistence.internal.sessions.AbstractRecord getModifyRow()
INTERNAL: Return the modify row


isModifyQuery

public boolean isModifyQuery()
PUBLIC: Return if this is a modify query.

Overrides:
isModifyQuery in class DatabaseQuery

setModifyRow

public void setModifyRow(org.eclipse.persistence.internal.sessions.AbstractRecord row)
INTERNAL: Set the modify row


setForceBatchStatementExecution

public void setForceBatchStatementExecution(boolean value)
PUBLIC: Allow setting this query to be the last statement added to a batch statement and ensure it is flushed on execution. Setting to true will cause the batch statement to be sent to the database. Default setting of false causes the batch statement execution to be delayed to allow additional statements to be added. Setting to true reduces the efficiency of batch writing. This has no effect if batch writing is not enabled.


forceBatchStatementExecution

public boolean forceBatchStatementExecution()
PUBLIC: Returns if this query has been set to flush on execution.

See Also:
setForceBatchStatementExecution(boolean)

EclipseLink 1.1.4, build 'v20100812-r7860' API Reference