public class LazySessionOperations extends java.lang.Object implements ILazySessionOperations
Modifier and Type | Field and Description |
---|---|
protected DocumentSession |
delegate |
Constructor and Description |
---|
LazySessionOperations(DocumentSession delegate) |
Modifier and Type | Method and Description |
---|---|
ILazyLoaderWithInclude |
include(com.mysema.query.types.Path<?> path)
Begin a load while including the specified path
|
ILazyLoaderWithInclude |
include(java.lang.String path)
Begin a load while including the specified path
|
<T> Lazy<T[]> |
load(java.lang.Class<T> clazz,
java.util.Collection<java.lang.String> ids)
Loads the specified ids.
|
<T> Lazy<T[]> |
load(java.lang.Class<T> clazz,
java.lang.Number... ids)
Loads the specified entities with the specified id after applying
conventions on the provided id to get the real document id.
|
<T> Lazy<T> |
load(java.lang.Class<T> clazz,
java.lang.Number id)
Loads the specified entity with the specified id after applying
conventions on the provided id to get the real document id.
|
<T> Lazy<T> |
load(java.lang.Class<T> clazz,
java.lang.Number id,
Action1<T> onEval)
Loads the specified entity with the specified id after applying
conventions on the provided id to get the real document id.
|
<T> Lazy<T> |
load(java.lang.Class<T> clazz,
java.lang.String id)
Loads the specified id.
|
<T> Lazy<T[]> |
load(java.lang.Class<T> clazz,
java.lang.String[] ids)
Loads the specified ids.
|
<T> Lazy<T> |
load(java.lang.Class<T> clazz,
java.lang.String id,
Action1<T> onEval)
Loads the specified id and a function to call when it is evaluated
|
<T> Lazy<T[]> |
load(java.lang.Class<T> clazz,
java.util.UUID... ids)
Loads the specified entities with the specified id after applying
conventions on the provided id to get the real document id.
|
<T> Lazy<T> |
load(java.lang.Class<T> clazz,
java.util.UUID id)
Loads the specified entity with the specified id after applying
conventions on the provided id to get the real document id.
|
<T> Lazy<T> |
load(java.lang.Class<T> clazz,
java.util.UUID id,
Action1<T> onEval)
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(java.lang.Class<TResult> clazz,
Action1<TResult[]> onEval,
java.lang.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(java.lang.Class<TResult> clazz,
Action1<TResult[]> onEval,
java.util.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(java.lang.Class<TResult> clazz,
java.util.Collection<java.lang.String> ids,
Action1<TResult[]> onEval)
Loads the specified ids and a function to call when it is evaluated
|
<TResult> Lazy<TResult[]> |
load(java.lang.Class<TResult> clazz,
java.lang.String[] ids,
Action1<TResult[]> onEval)
Loads the specified ids and a function to call when it is evaluated
|
<TResult,TTransformer extends AbstractTransformerCreationTask> |
load(java.lang.Class<TTransformer> tranformerClass,
java.lang.Class<TResult> clazz,
java.lang.String[] ids,
LoadConfigurationFactory configure) |
<TResult,TTransformer extends AbstractTransformerCreationTask> |
load(java.lang.Class<TTransformer> tranformerClass,
java.lang.Class<TResult> clazz,
java.lang.String id,
LoadConfigurationFactory configure) |
<T> Lazy<T[]> |
loadStartingWith(java.lang.Class<T> clazz,
java.lang.String keyPrefix)
Load documents with the specified key prefix
|
<T> Lazy<T[]> |
loadStartingWith(java.lang.Class<T> clazz,
java.lang.String keyPrefix,
java.lang.String matches)
Load documents with the specified key prefix
|
<T> Lazy<T[]> |
loadStartingWith(java.lang.Class<T> clazz,
java.lang.String keyPrefix,
java.lang.String matches,
int start)
Load documents with the specified key prefix
|
<T> Lazy<T[]> |
loadStartingWith(java.lang.Class<T> clazz,
java.lang.String keyPrefix,
java.lang.String matches,
int start,
int pageSize)
Load documents with the specified key prefix
|
<TResult> Lazy<TResult[]> |
loadStartingWith(java.lang.Class<TResult> clazz,
java.lang.String keyPrefix,
java.lang.String matches,
int start,
int pageSize,
java.lang.String exclude)
Load documents with the specified key prefix
|
<TResult> Lazy<TResult[]> |
loadStartingWith(java.lang.Class<TResult> clazz,
java.lang.String keyPrefix,
java.lang.String matches,
int start,
int pageSize,
java.lang.String exclude,
RavenPagingInformation pagingInformation)
Load documents with the specified key prefix
|
<TResult> Lazy<TResult[]> |
loadStartingWith(java.lang.Class<TResult> clazz,
java.lang.String keyPrefix,
java.lang.String matches,
int start,
int pageSize,
java.lang.String exclude,
RavenPagingInformation pagingInformation,
java.lang.String skipAfter) |
<TResult> Lazy<TResult[]> |
moreLikeThis(java.lang.Class<TResult> clazz,
MoreLikeThisQuery query) |
protected DocumentSession delegate
public LazySessionOperations(DocumentSession delegate)
public ILazyLoaderWithInclude include(com.mysema.query.types.Path<?> path)
include
in interface ILazySessionOperations
public <T> Lazy<T[]> load(java.lang.Class<T> clazz, java.lang.String[] ids)
load
in interface ILazySessionOperations
public <TResult> Lazy<TResult[]> load(java.lang.Class<TResult> clazz, java.lang.String[] ids, Action1<TResult[]> onEval)
ILazySessionOperations
load
in interface ILazySessionOperations
public <T> Lazy<T[]> load(java.lang.Class<T> clazz, java.util.Collection<java.lang.String> ids)
load
in interface ILazySessionOperations
public <T> Lazy<T> load(java.lang.Class<T> clazz, java.lang.String id)
load
in interface ILazySessionOperations
public <TResult> Lazy<TResult[]> load(java.lang.Class<TResult> clazz, java.util.Collection<java.lang.String> ids, Action1<TResult[]> onEval)
load
in interface ILazySessionOperations
public <T> Lazy<T> load(java.lang.Class<T> clazz, java.lang.String id, Action1<T> onEval)
load
in interface ILazySessionOperations
public <T> Lazy<T> load(java.lang.Class<T> clazz, java.lang.Number id, Action1<T> onEval)
ILazySessionOperations
load
in interface ILazySessionOperations
public <T> Lazy<T> load(java.lang.Class<T> clazz, java.util.UUID id, Action1<T> onEval)
ILazySessionOperations
load
in interface ILazySessionOperations
public <T> Lazy<T[]> load(java.lang.Class<T> clazz, java.lang.Number... ids)
ILazySessionOperations
load
in interface ILazySessionOperations
public <T> Lazy<T[]> load(java.lang.Class<T> clazz, java.util.UUID... ids)
ILazySessionOperations
load
in interface ILazySessionOperations
public <TResult> Lazy<TResult[]> load(java.lang.Class<TResult> clazz, Action1<TResult[]> onEval, java.lang.Number... ids)
ILazySessionOperations
load
in interface ILazySessionOperations
public <TResult> Lazy<TResult[]> load(java.lang.Class<TResult> clazz, Action1<TResult[]> onEval, java.util.UUID... ids)
ILazySessionOperations
load
in interface ILazySessionOperations
public <TResult,TTransformer extends AbstractTransformerCreationTask> Lazy<TResult> load(java.lang.Class<TTransformer> tranformerClass, java.lang.Class<TResult> clazz, java.lang.String id, LoadConfigurationFactory configure)
load
in interface ILazySessionOperations
public <TResult,TTransformer extends AbstractTransformerCreationTask> Lazy<TResult[]> load(java.lang.Class<TTransformer> tranformerClass, java.lang.Class<TResult> clazz, java.lang.String[] ids, LoadConfigurationFactory configure)
load
in interface ILazySessionOperations
public ILazyLoaderWithInclude include(java.lang.String path)
include
in interface ILazySessionOperations
public <T> Lazy<T> load(java.lang.Class<T> clazz, java.lang.Number id)
ILazySessionOperations
load
in interface ILazySessionOperations
public <T> Lazy<T> load(java.lang.Class<T> clazz, java.util.UUID id)
ILazySessionOperations
load
in interface ILazySessionOperations
public <T> Lazy<T[]> loadStartingWith(java.lang.Class<T> clazz, java.lang.String keyPrefix)
ILazySessionOperations
loadStartingWith
in interface ILazySessionOperations
public <T> Lazy<T[]> loadStartingWith(java.lang.Class<T> clazz, java.lang.String keyPrefix, java.lang.String matches)
ILazySessionOperations
loadStartingWith
in interface ILazySessionOperations
public <T> Lazy<T[]> loadStartingWith(java.lang.Class<T> clazz, java.lang.String keyPrefix, java.lang.String matches, int start)
ILazySessionOperations
loadStartingWith
in interface ILazySessionOperations
public <T> Lazy<T[]> loadStartingWith(java.lang.Class<T> clazz, java.lang.String keyPrefix, java.lang.String matches, int start, int pageSize)
ILazySessionOperations
loadStartingWith
in interface ILazySessionOperations
public <TResult> Lazy<TResult[]> loadStartingWith(java.lang.Class<TResult> clazz, java.lang.String keyPrefix, java.lang.String matches, int start, int pageSize, java.lang.String exclude)
ILazySessionOperations
loadStartingWith
in interface ILazySessionOperations
public <TResult> Lazy<TResult[]> loadStartingWith(java.lang.Class<TResult> clazz, java.lang.String keyPrefix, java.lang.String matches, int start, int pageSize, java.lang.String exclude, RavenPagingInformation pagingInformation)
ILazySessionOperations
loadStartingWith
in interface ILazySessionOperations
public <TResult> Lazy<TResult[]> loadStartingWith(java.lang.Class<TResult> clazz, java.lang.String keyPrefix, java.lang.String matches, int start, int pageSize, java.lang.String exclude, RavenPagingInformation pagingInformation, java.lang.String skipAfter)
loadStartingWith
in interface ILazySessionOperations
public <TResult> Lazy<TResult[]> moreLikeThis(java.lang.Class<TResult> clazz, MoreLikeThisQuery query)
moreLikeThis
in interface ILazySessionOperations
Copyright © 2014. All Rights Reserved.