Package | Description |
---|---|
net.ravendb.client.shard |
Modifier and Type | Method and Description |
---|---|
<T> T[] |
SequentialShardAccessStrategy.apply(Class<?> clazz,
List<IDatabaseCommands> commands,
ShardRequestData request,
Function2<IDatabaseCommands,Integer,T> operation)
Applies the specified action for all shard sessions.
|
<T> T[] |
ParallelShardAccessStrategy.apply(Class<?> clazz,
List<IDatabaseCommands> commands,
ShardRequestData request,
Function2<IDatabaseCommands,Integer,T> operation) |
<T> T[] |
IShardAccessStrategy.apply(Class<?> clazz,
List<IDatabaseCommands> commands,
ShardRequestData request,
Function2<IDatabaseCommands,Integer,T> operation)
Applies the specified action to all shard sessions.
|
List<TDatabaseCommands> |
BaseShardedDocumentSession.getCommandsToOperateOn(ShardRequestData resultionData) |
protected List<Tuple<String,TDatabaseCommands>> |
BaseShardedDocumentSession.getShardsToOperateOn(ShardRequestData resultionData) |
List<String> |
IShardResolutionStrategy.potentialShardsFor(ShardRequestData requestData)
Selects the shard ids appropriate for the specified data.
|
List<String> |
DefaultShardResolutionStrategy.potentialShardsFor(ShardRequestData requestData)
Selects the shard ids appropriate for the specified data.
|
Constructor and Description |
---|
ShardedDocumentQuery(Class<T> clazz,
InMemoryDocumentSessionOperations session,
Function1<ShardRequestData,List<Tuple<String,IDatabaseCommands>>> getShardsToOperateOn,
ShardStrategy shardStrategy,
String indexName,
String[] fieldsToFetch,
String[] projectionFields,
List<IDocumentQueryListener> queryListeneres,
boolean isMapReduce) |
Copyright © 2016. All Rights Reserved.