public class LazyMultiLoaderWithInclude extends Object implements ILazyLoaderWithInclude
Constructor and Description |
---|
LazyMultiLoaderWithInclude(IDocumentSessionImpl session)
Initializes a new instance of the
LazyMultiLoaderWithInclude class. |
Modifier and Type | Method and Description |
---|---|
ILazyLoaderWithInclude |
include(com.mysema.query.types.Path<?> path)
Includes the specified path.
|
ILazyLoaderWithInclude |
include(String path)
Includes the specified path.
|
<TResult> Lazy<TResult[]> |
load(Class<TResult> clazz,
Collection<String> ids)
Loads the specified entities with the specified ids.
|
<TResult> Lazy<TResult[]> |
load(Class<TResult> clazz,
Number... ids)
Loads the specified entities with the specified id after applying
conventions on the provided id to get the real document id.
|
<TResult> Lazy<TResult> |
load(Class<TResult> clazz,
Number id)
Loads the specified entity with the specified id after applying
conventions on the provided id to get the real document id.
|
<TResult> Lazy<TResult[]> |
load(Class<TResult> clazz,
String... ids)
Loads the specified entities with the specified ids.
|
<TResult> Lazy<TResult> |
load(Class<TResult> clazz,
String id)
Loads the specified entity with the specified id.
|
<TResult> Lazy<TResult[]> |
load(Class<TResult> clazz,
UUID... ids)
Loads the specified entities with the specified id after applying
conventions on the provided id to get the real document id.
|
<TResult> Lazy<TResult> |
load(Class<TResult> clazz,
UUID id)
Loads the specified entity with the specified id after applying
conventions on the provided id to get the real document id.
|
public LazyMultiLoaderWithInclude(IDocumentSessionImpl session)
LazyMultiLoaderWithInclude
class.session
- public ILazyLoaderWithInclude include(String path)
include
in interface ILazyLoaderWithInclude
path
- public ILazyLoaderWithInclude include(com.mysema.query.types.Path<?> path)
include
in interface ILazyLoaderWithInclude
path
- public <TResult> Lazy<TResult[]> load(Class<TResult> clazz, String... ids)
ILazyLoaderWithInclude
load
in interface ILazyLoaderWithInclude
ids
- Enumerable of Ids that should be loadedpublic <TResult> Lazy<TResult[]> load(Class<TResult> clazz, Collection<String> ids)
ILazyLoaderWithInclude
load
in interface ILazyLoaderWithInclude
ids
- Collection of Ids that should be loadedpublic <TResult> Lazy<TResult> load(Class<TResult> clazz, String id)
ILazyLoaderWithInclude
load
in interface ILazyLoaderWithInclude
id
- Identifier of a entity that will be loaded.public <TResult> Lazy<TResult> load(Class<TResult> clazz, Number id)
ILazyLoaderWithInclude
load
in interface ILazyLoaderWithInclude
public <TResult> Lazy<TResult> load(Class<TResult> clazz, UUID id)
ILazyLoaderWithInclude
load
in interface ILazyLoaderWithInclude
public <TResult> Lazy<TResult[]> load(Class<TResult> clazz, Number... ids)
ILazyLoaderWithInclude
load
in interface ILazyLoaderWithInclude
public <TResult> Lazy<TResult[]> load(Class<TResult> clazz, UUID... ids)
ILazyLoaderWithInclude
load
in interface ILazyLoaderWithInclude
Copyright © 2016. All Rights Reserved.