net.ravendb.client.documents.session.loaders.LazyMultiLoaderWithInclude Maven / Gradle / Ivy
package net.ravendb.client.documents.session.loaders;
import net.ravendb.client.documents.Lazy;
import net.ravendb.client.documents.session.IDocumentSessionImpl;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
public class LazyMultiLoaderWithInclude implements ILazyLoaderWithInclude {
private final IDocumentSessionImpl _session;
private final List _includes = new ArrayList<>();
public LazyMultiLoaderWithInclude(IDocumentSessionImpl session) {
_session = session;
}
/**
* Includes the specified path.
*/
@Override
public ILazyLoaderWithInclude include(String path) {
_includes.add(path);
return this;
}
/**
* Loads the specified ids.
*/
@Override
public Lazy
© 2015 - 2024 Weber Informatics LLC | Privacy Policy