类 NativeSQLQueryNonScalarReturn
- java.lang.Object
-
- org.hibernate.engine.query.spi.sql.NativeSQLQueryNonScalarReturn
-
- 所有已实现的接口:
Serializable,NativeSQLQueryReturn
public abstract class NativeSQLQueryNonScalarReturn extends Object implements NativeSQLQueryReturn, Serializable
Represents the base information for a non-scalar return defined as part of a native sql query.- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.hibernate.engine.query.spi.sql.NativeSQLQueryReturn
NativeSQLQueryReturn.TraceLogger
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object o)StringgetAlias()Retrieve the defined result aliasLockModegetLockMode()Retrieve the lock-mode to apply to this returnMap<String,String[]>getPropertyResultsMap()Retrieve the user-supplied column->property mappings.inthashCode()voidtraceLog(NativeSQLQueryReturn.TraceLogger logger)
-
-
-
构造器详细资料
-
NativeSQLQueryNonScalarReturn
protected NativeSQLQueryNonScalarReturn(String alias, Map<String,String[]> propertyResults, LockMode lockMode)
Constructs some form of non-scalar return descriptor- 参数:
alias- The result aliaspropertyResults- Any user-supplied column->property mappingslockMode- The lock mode to apply to the return.
-
-
方法详细资料
-
getAlias
public String getAlias()
Retrieve the defined result alias- 返回:
- The result alias.
-
getLockMode
public LockMode getLockMode()
Retrieve the lock-mode to apply to this return- 返回:
- The lock mode
-
getPropertyResultsMap
public Map<String,String[]> getPropertyResultsMap()
Retrieve the user-supplied column->property mappings.- 返回:
- The property mappings.
-
traceLog
public void traceLog(NativeSQLQueryReturn.TraceLogger logger)
- 指定者:
traceLog在接口中NativeSQLQueryReturn
-
-