public class CollectionFetch extends AbstractCollectionReference implements Fetch
Modifier | Constructor and Description |
---|---|
protected |
CollectionFetch(CollectionFetch original,
CopyContext copyContext,
FetchOwner fetchOwnerCopy) |
|
CollectionFetch(SessionFactoryImplementor sessionFactory,
LockMode lockMode,
FetchOwner fetchOwner,
FetchStrategy fetchStrategy,
String ownerProperty) |
Modifier and Type | Method and Description |
---|---|
String[] |
getColumnNames()
Gets the column names used for this fetch.
|
FetchStrategy |
getFetchStrategy()
Gets the fetch strategy for this fetch.
|
FetchOwner |
getOwner()
Obtain the owner of this fetch.
|
String |
getOwnerPropertyName()
Obtain the name of the property, relative to the owner, being fetched.
|
void |
hydrate(ResultSet resultSet,
ResultSetProcessingContext context) |
boolean |
isNullable()
Is this fetch nullable?
|
CollectionFetch |
makeCopy(CopyContext copyContext,
FetchOwner fetchOwnerCopy) |
Object |
resolve(ResultSet resultSet,
ResultSetProcessingContext context) |
getCollectionPersister, getElementGraph, getIndexGraph, getLockMode, getPropertyPath, hasEntityElements
sessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPropertyPath
public CollectionFetch(SessionFactoryImplementor sessionFactory, LockMode lockMode, FetchOwner fetchOwner, FetchStrategy fetchStrategy, String ownerProperty)
protected CollectionFetch(CollectionFetch original, CopyContext copyContext, FetchOwner fetchOwnerCopy)
public FetchOwner getOwner()
Fetch
public String getOwnerPropertyName()
Fetch
getOwnerPropertyName
in interface Fetch
public boolean isNullable()
Fetch
isNullable
in interface Fetch
public String[] getColumnNames()
Fetch
getColumnNames
in interface Fetch
public FetchStrategy getFetchStrategy()
Fetch
getFetchStrategy
in interface Fetch
public void hydrate(ResultSet resultSet, ResultSetProcessingContext context) throws SQLException
hydrate
in interface Fetch
SQLException
public Object resolve(ResultSet resultSet, ResultSetProcessingContext context) throws SQLException
resolve
in interface Fetch
SQLException
public CollectionFetch makeCopy(CopyContext copyContext, FetchOwner fetchOwnerCopy)
makeCopy
in interface CopyableFetch
makeCopy
in interface Fetch
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.