类 NativeQueryReturnBuilderFetchImpl
- java.lang.Object
-
- org.hibernate.query.internal.NativeQueryReturnBuilderFetchImpl
-
- 所有已实现的接口:
NativeQueryReturnBuilder,SQLQuery.FetchReturn
public class NativeQueryReturnBuilderFetchImpl extends Object implements SQLQuery.FetchReturn, NativeQueryReturnBuilder
- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 NativeQueryReturnBuilderFetchImpl(String alias, String ownerTableAlias, String joinedPropertyName)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 SQLQuery.ReturnPropertyaddProperty(String propertyName)Add a property, presumably with more than one column.SQLQuery.FetchReturnaddProperty(String propertyName, String columnAlias)Add a simple property-to-one-column mapping.NativeSQLQueryReturnbuildReturn()SQLQuery.FetchReturnsetLockMode(LockMode lockMode)Set the lock mode for this return.
-
-
-
方法详细资料
-
setLockMode
public SQLQuery.FetchReturn setLockMode(LockMode lockMode)
从接口复制的说明:SQLQuery.FetchReturnSet the lock mode for this return.- 指定者:
setLockMode在接口中SQLQuery.FetchReturn- 参数:
lockMode- The new lock mode.- 返回:
this, for method chaining
-
addProperty
public SQLQuery.FetchReturn addProperty(String propertyName, String columnAlias)
从接口复制的说明:SQLQuery.FetchReturnAdd a simple property-to-one-column mapping.- 指定者:
addProperty在接口中SQLQuery.FetchReturn- 参数:
propertyName- The name of the property.columnAlias- The name of the column- 返回:
this, for method chaining
-
addProperty
public SQLQuery.ReturnProperty addProperty(String propertyName)
从接口复制的说明:SQLQuery.FetchReturnAdd a property, presumably with more than one column.- 指定者:
addProperty在接口中SQLQuery.FetchReturn- 参数:
propertyName- The name of the property.- 返回:
- The config object for further control.
-
buildReturn
public NativeSQLQueryReturn buildReturn()
- 指定者:
buildReturn在接口中NativeQueryReturnBuilder
-
-