Top Fields Constructors Methods
org.hibernate.loader.plan.build.internal.spaces

public Class EntityQuerySpaceImpl

extends AbstractExpandingSourceQuerySpace
implements ExpandingEntityQuerySpace
Class Inheritance
All Implemented Interfaces
org.hibernate.loader.plan.build.spi.ExpandingEntityQuerySpace, org.hibernate.loader.plan.build.spi.ExpandingQuerySpace, org.hibernate.loader.plan.spi.QuerySpace, org.hibernate.loader.plan.spi.EntityQuerySpace
Imports
org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.loader.plan.build.spi.ExpandingCompositeQuerySpace, .ExpandingEntityQuerySpace, .ExpandingQuerySpaces, org.hibernate.loader.plan.spi.JoinDefinedByMetadata, org.hibernate.persister.entity.EntityPersister, .PropertyMapping, org.hibernate.type.CompositeType

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final EntityPersister

Constructor Summary

AccessConstructor and Description
public
EntityQuerySpaceImpl(EntityPersister persister, String uid, ExpandingQuerySpaces querySpaces, boolean canJoinsBeRequired)

Method Summary

Modifier and TypeMethod and Description
public EntityPersister
getEntityPersister()

Implements org.hibernate.loader.plan.spi.EntityQuerySpace.getEntityPersister.

Retrieve the EntityPersister that this QuerySpace refers to.
public PropertyMapping
public ExpandingCompositeQuerySpace
makeCompositeIdentifierQuerySpace()

Implements org.hibernate.loader.plan.build.spi.ExpandingEntityQuerySpace.makeCompositeIdentifierQuerySpace.

Builds a composite query space that allows adding joins used if the entity has a composite entity identifier.
protected SessionFactoryImplementor
public String[]
toAliasedColumns(String
- the table alias
alias
,
String
- the property name
propertyName
)

Implements org.hibernate.loader.plan.spi.QuerySpace.toAliasedColumns.

Get the aliased column names for the specified property in the query space..
Inherited from org.hibernate.loader.plan.build.internal.spaces.AbstractExpandingSourceQuerySpace:
addJoingetExpandingQuerySpaces

Field Detail

persisterback to summary
private final EntityPersister persister

Constructor Detail

EntityQuerySpaceImplback to summary
public EntityQuerySpaceImpl(EntityPersister persister, String uid, ExpandingQuerySpaces querySpaces, boolean canJoinsBeRequired)

Method Detail

getEntityPersisterback to summary
public EntityPersister getEntityPersister()

Implements org.hibernate.loader.plan.spi.EntityQuerySpace.getEntityPersister.

Doc from org.hibernate.loader.plan.spi.EntityQuerySpace.getEntityPersister.

Retrieve the EntityPersister that this QuerySpace refers to.

Returns:EntityPersister

The entity persister

Annotations
@Override
getPropertyMappingback to summary
public PropertyMapping getPropertyMapping()

Implements org.hibernate.loader.plan.spi.QuerySpace.getPropertyMapping.

Doc from org.hibernate.loader.plan.spi.QuerySpace.getPropertyMapping.

Get the PropertyMapping for this QuerySpace.

Returns:PropertyMapping

The PropertyMapping

Annotations
@Override
makeCompositeIdentifierQuerySpaceback to summary
public ExpandingCompositeQuerySpace makeCompositeIdentifierQuerySpace()

Implements org.hibernate.loader.plan.build.spi.ExpandingEntityQuerySpace.makeCompositeIdentifierQuerySpace.

Doc from org.hibernate.loader.plan.build.spi.ExpandingEntityQuerySpace.makeCompositeIdentifierQuerySpace.

Builds a composite query space that allows adding joins used if the entity has a composite entity identifier.

Returns:ExpandingCompositeQuerySpace

The expanding composite query space.

Annotations
@Override
sessionFactoryback to summary
protected SessionFactoryImplementor sessionFactory()

Overrides org.hibernate.loader.plan.build.internal.spaces.AbstractQuerySpace.sessionFactory.

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

toAliasedColumnsback to summary
public String[] toAliasedColumns(String alias, String propertyName)

Implements org.hibernate.loader.plan.spi.QuerySpace.toAliasedColumns.

Doc from org.hibernate.loader.plan.spi.QuerySpace.toAliasedColumns.

Get the aliased column names for the specified property in the query space..

Parameters
alias:String

- the table alias

propertyName:String

- the property name

Returns:String[]

the aliased column names for the specified property

Annotations
@Override