org.seasar.doma.internal.jdbc.query
クラス AutoBatchModifyQuery<I,E extends Entity<I>>

java.lang.Object
  上位を拡張 org.seasar.doma.internal.jdbc.query.AutoBatchModifyQuery<I,E>
すべての実装されたインタフェース:
BatchModifyQuery, Query
直系の既知のサブクラス:
AutoBatchDeleteQuery, AutoBatchInsertQuery, AutoBatchUpdateQuery

public abstract class AutoBatchModifyQuery<I,E extends Entity<I>>
extends Object
implements BatchModifyQuery

作成者:
taedium

フィールドの概要
protected  boolean autoGeneratedKeysSupported
           
protected  int batchSize
           
protected  String callerClassName
           
protected  String callerMethodName
           
protected  Map<String,String> columnNameMap
           
protected  Config config
           
protected static String[] EMPTY_STRINGS
           
protected  List<E> entities
           
protected  E entity
           
protected  Class<E> entityClass
           
protected  String[] excludedPropertyNames
           
protected  boolean executable
           
protected  SqlExecutionSkipCause executionSkipCause
           
protected  List<EntityProperty<?>> idProperties
           
protected  String[] includedPropertyNames
           
protected  boolean optimisticLockCheckRequired
           
protected  int queryTimeout
           
protected  List<PreparedSql> sqls
           
protected  String tableName
           
protected  List<EntityProperty<?>> targetProperties
           
protected  VersionProperty<?> versionProperty
           
 
コンストラクタの概要
AutoBatchModifyQuery(Class<E> entityClass)
           
 
メソッドの概要
 int getBatchSize()
           
 String getClassName()
           
 Config getConfig()
           
 String getMethodName()
           
 int getQueryTimeout()
           
 PreparedSql getSql()
           
 SqlExecutionSkipCause getSqlExecutionSkipCause()
           
 List<PreparedSql> getSqls()
           
 boolean isAutoGeneratedKeysSupported()
           
 boolean isExecutable()
           
 boolean isOptimisticLockCheckRequired()
           
protected  boolean isTargetPropertyName(String name)
           
protected  void prepareIdAndVersionProperties()
           
protected  void prepareOptions()
           
protected  void prepareTableAndColumnNames()
           
 void setBatchSize(int batchSize)
           
 void setCallerClassName(String callerClassName)
           
 void setCallerMethodName(String callerMethodName)
           
 void setConfig(Config config)
           
 void setEntities(List<I> entities)
           
 void setExcludedPropertyNames(String... excludedPropertyNames)
           
 void setIncludedPropertyNames(String... includedPropertyNames)
           
 void setQueryTimeout(int queryTimeout)
           
 String toString()
           
protected  void validateIdExistent()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

EMPTY_STRINGS

protected static final String[] EMPTY_STRINGS

includedPropertyNames

protected String[] includedPropertyNames

excludedPropertyNames

protected String[] excludedPropertyNames

entityClass

protected final Class<E extends Entity<I>> entityClass

config

protected Config config

entities

protected List<E extends Entity<I>> entities

callerClassName

protected String callerClassName

callerMethodName

protected String callerMethodName

targetProperties

protected final List<EntityProperty<?>> targetProperties

idProperties

protected final List<EntityProperty<?>> idProperties

versionProperty

protected VersionProperty<?> versionProperty

tableName

protected String tableName

columnNameMap

protected final Map<String,String> columnNameMap

sqls

protected final List<PreparedSql> sqls

optimisticLockCheckRequired

protected boolean optimisticLockCheckRequired

autoGeneratedKeysSupported

protected boolean autoGeneratedKeysSupported

executable

protected boolean executable

executionSkipCause

protected SqlExecutionSkipCause executionSkipCause

entity

protected E extends Entity<I> entity

queryTimeout

protected int queryTimeout

batchSize

protected int batchSize
コンストラクタの詳細

AutoBatchModifyQuery

public AutoBatchModifyQuery(Class<E> entityClass)
メソッドの詳細

prepareTableAndColumnNames

protected void prepareTableAndColumnNames()

prepareIdAndVersionProperties

protected void prepareIdAndVersionProperties()

validateIdExistent

protected void validateIdExistent()

prepareOptions

protected void prepareOptions()

isTargetPropertyName

protected boolean isTargetPropertyName(String name)

setConfig

public void setConfig(Config config)

setEntities

public void setEntities(List<I> entities)

setCallerClassName

public void setCallerClassName(String callerClassName)

setCallerMethodName

public void setCallerMethodName(String callerMethodName)

setQueryTimeout

public void setQueryTimeout(int queryTimeout)

setBatchSize

public void setBatchSize(int batchSize)

setIncludedPropertyNames

public void setIncludedPropertyNames(String... includedPropertyNames)

setExcludedPropertyNames

public void setExcludedPropertyNames(String... excludedPropertyNames)

getSql

public PreparedSql getSql()
定義:
インタフェース BatchModifyQuery 内の getSql
定義:
インタフェース Query 内の getSql

getClassName

public String getClassName()
定義:
インタフェース Query 内の getClassName

getMethodName

public String getMethodName()
定義:
インタフェース Query 内の getMethodName

getSqls

public List<PreparedSql> getSqls()
定義:
インタフェース BatchModifyQuery 内の getSqls

getConfig

public Config getConfig()
定義:
インタフェース Query 内の getConfig

isOptimisticLockCheckRequired

public boolean isOptimisticLockCheckRequired()
定義:
インタフェース BatchModifyQuery 内の isOptimisticLockCheckRequired

isAutoGeneratedKeysSupported

public boolean isAutoGeneratedKeysSupported()
定義:
インタフェース BatchModifyQuery 内の isAutoGeneratedKeysSupported

isExecutable

public boolean isExecutable()
定義:
インタフェース BatchModifyQuery 内の isExecutable

getSqlExecutionSkipCause

public SqlExecutionSkipCause getSqlExecutionSkipCause()
定義:
インタフェース BatchModifyQuery 内の getSqlExecutionSkipCause

getQueryTimeout

public int getQueryTimeout()
定義:
インタフェース Query 内の getQueryTimeout

getBatchSize

public int getBatchSize()
定義:
インタフェース BatchModifyQuery 内の getBatchSize

toString

public String toString()
オーバーライド:
クラス Object 内の toString


Copyright © 2009 The Seasar Foundation. All Rights Reserved.