Class NativeSQLQueryNonScalarReturn
- java.lang.Object
-
- org.hibernate.engine.query.spi.sql.NativeSQLQueryNonScalarReturn
-
- All Implemented Interfaces:
Serializable,NativeSQLQueryReturn
- Direct Known Subclasses:
NativeSQLQueryCollectionReturn,NativeSQLQueryJoinReturn,NativeSQLQueryRootReturn
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.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.engine.query.spi.sql.NativeSQLQueryReturn
NativeSQLQueryReturn.TraceLogger
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Constructor Detail
-
NativeSQLQueryNonScalarReturn
protected NativeSQLQueryNonScalarReturn(String alias, Map<String,String[]> propertyResults, LockMode lockMode)
Constructs some form of non-scalar return descriptor- Parameters:
alias- The result aliaspropertyResults- Any user-supplied column->property mappingslockMode- The lock mode to apply to the return.
-
-
Method Detail
-
getAlias
public String getAlias()
Retrieve the defined result alias- Returns:
- The result alias.
-
getLockMode
public LockMode getLockMode()
Retrieve the lock-mode to apply to this return- Returns:
- The lock mode
-
getPropertyResultsMap
public Map<String,String[]> getPropertyResultsMap()
Retrieve the user-supplied column->property mappings.- Returns:
- The property mappings.
-
traceLog
public void traceLog(NativeSQLQueryReturn.TraceLogger logger)
- Specified by:
traceLogin interfaceNativeSQLQueryReturn
-
-