Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.engine.query.sql
Class NativeSQLQueryNonScalarReturn

    java.lang.Object
      org.hibernate.engine.query.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.

Author:
  Steve Ebersole
See Also:
  Serialized Form

Constructor Summary
`protected` | `NativeSQLQueryNonScalarReturn(String alias, Map propertyResults, LockMode lockMode)` Constructs some form of non-scalar return descriptor

Method Summary
`String` | `getAlias()` Retrieve the defined result alias
`LockMode` | `getLockMode()` Retrieve the lock-mode to apply to this return
`Map` | `getPropertyResultsMap()` Retrieve the user-supplied column->property mappings.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### NativeSQLQueryNonScalarReturn

    protected NativeSQLQueryNonScalarReturn(String alias,
                                            Map propertyResults,
                                            LockMode lockMode)

  Constructs some form of non-scalar return descriptor

  Parameters:
    `alias` - The result alias
    `propertyResults` - Any user-supplied column->property mappings
    `lockMode` - 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 getPropertyResultsMap()

  Retrieve the user-supplied column->property mappings.

  Returns:
    The property mappings.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD