public class MultiLoaderWithInclude extends Object implements ILoaderWithInclude
Constructor and Description |
---|
MultiLoaderWithInclude(IDocumentSessionImpl session) |
Modifier and Type | Method and Description |
---|---|
ILoaderWithInclude |
include(Class<?> targetClass,
com.mysema.query.types.Expression<?> path)
Includes the specified path.
|
ILoaderWithInclude |
include(com.mysema.query.types.Expression<?> path)
Includes the specified path
|
ILoaderWithInclude |
include(String path)
Includes the specified path.
|
ILoaderWithInclude |
include(String path,
Class<?> type) |
<TResult> TResult[] |
load(Class<TResult> clazz,
Collection<String> ids)
Loads the specified ids.
|
<TResult> TResult[] |
load(Class<TResult> clazz,
Number... ids)
Loads the specified entity with the specified id after applying
conventions on the provided id to get the real document id.
|
<TResult> 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> TResult[] |
load(Class<TResult> clazz,
String... ids)
Loads the specified ids.
|
<TResult> TResult |
load(Class<TResult> clazz,
String id)
Loads the specified id.
|
<TResult> TResult[] |
load(Class<TResult> clazz,
UUID... ids)
Loads the specified entity with the specified id after applying
conventions on the provided id to get the real document id.
|
<TResult> 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.
|
<TResult,TTransformer extends AbstractTransformerCreationTask> |
load(Class<TTransformer> transformerClass,
Class<TResult> clazz,
String[] ids,
LoadConfigurationFactory configure)
Performs a load that will use the specified results transformer against the specified id
|
<TResult,TTransformer extends AbstractTransformerCreationTask> |
load(Class<TTransformer> transformerClass,
Class<TResult> clazz,
String id,
LoadConfigurationFactory configure)
Performs a load that will use the specified results transformer against the specified id
|
public MultiLoaderWithInclude(IDocumentSessionImpl session)
public ILoaderWithInclude include(Class<?> targetClass, com.mysema.query.types.Expression<?> path)
ILoaderWithInclude
include
in interface ILoaderWithInclude
public ILoaderWithInclude include(String path)
include
in interface ILoaderWithInclude
public ILoaderWithInclude include(String path, Class<?> type)
public ILoaderWithInclude include(com.mysema.query.types.Expression<?> path)
include
in interface ILoaderWithInclude
public <TResult> TResult[] load(Class<TResult> clazz, String... ids)
ILoaderWithInclude
load
in interface ILoaderWithInclude
public <TResult> TResult[] load(Class<TResult> clazz, Collection<String> ids)
ILoaderWithInclude
load
in interface ILoaderWithInclude
public <TResult> TResult load(Class<TResult> clazz, String id)
ILoaderWithInclude
load
in interface ILoaderWithInclude
public <TResult> TResult load(Class<TResult> clazz, Number id)
ILoaderWithInclude
load
in interface ILoaderWithInclude
public <TResult> TResult load(Class<TResult> clazz, UUID id)
ILoaderWithInclude
load
in interface ILoaderWithInclude
public <TResult> TResult[] load(Class<TResult> clazz, UUID... ids)
ILoaderWithInclude
load
in interface ILoaderWithInclude
public <TResult> TResult[] load(Class<TResult> clazz, Number... ids)
ILoaderWithInclude
load
in interface ILoaderWithInclude
public <TResult,TTransformer extends AbstractTransformerCreationTask> TResult load(Class<TTransformer> transformerClass, Class<TResult> clazz, String id, LoadConfigurationFactory configure)
ILoaderWithInclude
load
in interface ILoaderWithInclude
transformerClass
- The transformer to use in this load operationclazz
- Defines type of objectid
- Id of a entity to loadconfigure
- Additional configuration options for operation e.g. AddTransformerParameterpublic <TResult,TTransformer extends AbstractTransformerCreationTask> TResult[] load(Class<TTransformer> transformerClass, Class<TResult> clazz, String[] ids, LoadConfigurationFactory configure)
ILoaderWithInclude
load
in interface ILoaderWithInclude
transformerClass
- The transformer to use in this load operationclazz
- Defines type of objectids
- Array of ids of documents to loadconfigure
- Additional configuration options for operation e.g. AddTransformerParameterCopyright © 2016. All Rights Reserved.