Modifier and Type | Method and Description |
---|---|
IDatabaseCommands |
IDocumentStore.getDatabaseCommands()
Gets the database commands.
|
Modifier and Type | Class and Description |
---|---|
class |
ServerClient |
Modifier and Type | Method and Description |
---|---|
IDatabaseCommands |
IDatabaseCommands.forDatabase(String database)
Create a new instance of
IDatabaseCommands that will interacts with the specified database |
IDatabaseCommands |
ServerClient.forDatabase(String database) |
IDatabaseCommands |
IDatabaseCommands.forSystemDatabase()
Creates a new instance of
IDatabaseCommands that will interacts with the default database. |
IDatabaseCommands |
ServerClient.forSystemDatabase() |
IDatabaseCommands |
AdminServerClient.getCommands() |
IDatabaseCommands |
IGlobalAdminDatabaseCommands.getCommands()
Gets DatabaseCommands
|
IDatabaseCommands |
IRavenQueryInspector.getDatabaseCommands()
Grant access to the database commands
|
Modifier and Type | Method and Description |
---|---|
String |
IdConvention.findIdentifier(String dbName,
IDatabaseCommands databaseCommands,
Object entity) |
Modifier and Type | Field and Description |
---|---|
protected IDatabaseCommands |
AbstractDocumentQuery.theDatabaseCommands
The database commands to use
|
Modifier and Type | Field and Description |
---|---|
protected Function0<IDatabaseCommands> |
DocumentStore.databaseCommandsGenerator |
Modifier and Type | Method and Description |
---|---|
IDatabaseCommands |
DocumentSession.getDatabaseCommands()
Gets the database commands.
|
IDatabaseCommands |
AbstractDocumentQuery.getDatabaseCommands()
Grant access to the database commands
|
IDatabaseCommands |
DocumentStore.getDatabaseCommands() |
IDatabaseCommands |
ShardedBulkInsertOperation.getDatabaseCommands() |
IDatabaseCommands |
BulkInsertOperation.getDatabaseCommands() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractDocumentQuery.clearSortHints(IDatabaseCommands dbCommands) |
String |
DocumentKeyGenerator.generate(String dbName,
IDatabaseCommands dbCommands,
Object entity)
Generates document key
|
String |
HiLoKeyGenerator.generateDocumentKey(IDatabaseCommands databaseCommands,
DocumentConvention convention,
Object entity)
Generates the document key.
|
String |
MultiTypeHiLoKeyGenerator.generateDocumentKey(IDatabaseCommands databaseCommands,
DocumentConvention conventions,
Object entity)
Generates the document key.
|
String |
MultiDatabaseHiLoGenerator.generateDocumentKey(String dbName,
IDatabaseCommands databaseCommands,
DocumentConvention conventions,
Object entity) |
String |
DocumentConvention.generateDocumentKey(String dbName,
IDatabaseCommands databaseCommands,
Object entity)
Generates the document key.
|
protected ILowLevelBulkInsertOperation |
BulkInsertOperation.getBulkInsertOperation(BulkInsertOptions options,
IDatabaseCommands commands,
IDatabaseChanges changes) |
long |
HiLoKeyGenerator.nextId(IDatabaseCommands commands)
Create the next id (numeric)
|
Constructor and Description |
---|
AbstractDocumentQuery(Class<T> clazz,
InMemoryDocumentSessionOperations theSession,
IDatabaseCommands databaseCommands,
String indexName,
String[] fieldsToFetch,
String[] projectionFields,
List<IDocumentQueryListener> queryListeners,
boolean isMapReduce) |
DocumentQuery(Class<T> clazz,
InMemoryDocumentSessionOperations session,
IDatabaseCommands databaseCommands,
String indexName,
String[] fieldsToFetch,
String[] projectionFields,
List<IDocumentQueryListener> queryListeners,
boolean isMapReduce)
Initializes a new instance of the
DocumentQuery class. |
DocumentSession(String dbName,
DocumentStore documentStore,
DocumentSessionListeners listeners,
UUID id,
IDatabaseCommands databaseCommands)
Initializes a new instance of the
DocumentSession class. |
Modifier and Type | Method and Description |
---|---|
Object |
LazyLoadOperation.executeEmbedded(IDatabaseCommands commands) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractScriptedIndexCreationTask.afterExecute(IDatabaseCommands databaseCommands,
DocumentConvention documentConvention) |
void |
AbstractIndexCreationTask.afterExecute(IDatabaseCommands databaseCommands,
DocumentConvention documentConvention) |
protected static void |
AbstractScriptedIndexCreationTask.afterExecute(IDatabaseCommands databaseCommands,
String indexName,
ScriptedIndexResults scripts) |
void |
AbstractScriptedIndexCreationTask.execute(IDatabaseCommands databaseCommands) |
void |
AbstractIndexCreationTask.execute(IDatabaseCommands databaseCommands,
DocumentConvention documentConvention)
Executes the index creation against the specified document database using the specified conventions
|
void |
AbstractTransformerCreationTask.execute(IDatabaseCommands databaseCommands,
DocumentConvention documentConvention) |
void |
AbstractIndexCreationTask.sideBySideExecute(IDatabaseCommands databaseCommands,
DocumentConvention documentConvention,
Etag minimumEtagBeforeReplace,
Date replaceTimeUtc)
Executes the index creation using in side-by-side mode.
|
Modifier and Type | Method and Description |
---|---|
IDatabaseCommands |
RavenQueryInspector.getDatabaseCommands() |
Modifier and Type | Method and Description |
---|---|
void |
RavenQueryInspector.init(Class<T> clazz,
IRavenQueryProvider provider,
RavenQueryStatistics queryStats,
RavenQueryHighlightings highlightings,
String indexName,
com.mysema.query.types.Expression<?> expression,
InMemoryDocumentSessionOperations session,
IDatabaseCommands databaseCommands,
boolean isMapReduce) |
Constructor and Description |
---|
RavenQueryProvider(Class<T> clazz,
IDocumentQueryGenerator queryGenerator,
String indexName,
RavenQueryStatistics ravenQueryStatistics,
RavenQueryHighlightings highlightings,
IDatabaseCommands databaseCommands,
boolean isMapReduce) |
Modifier and Type | Method and Description |
---|---|
IDatabaseCommands |
ShardedDocumentStore.databaseCommandsFor(String shardId) |
IDatabaseCommands |
ShardedDocumentQuery.getDatabaseCommands() |
IDatabaseCommands |
ShardedDocumentStore.getDatabaseCommands()
Gets the database commands.
|
Modifier and Type | Method and Description |
---|---|
String |
ShardedHiloKeyGenerator.generateDocumentKey(IDatabaseCommands databaseCommands,
DocumentConvention conventions,
Object entity) |
Modifier and Type | Method and Description |
---|---|
protected Lazy<Integer> |
ShardedDocumentSession.addLazyCountOperation(ILazyOperation operation,
List<IDatabaseCommands> cmds) |
<T> Lazy<T> |
ShardedDocumentSession.addLazyOperation(ILazyOperation operation,
Action1<T> onEval,
List<IDatabaseCommands> cmds) |
void |
SequentialShardAccessStrategy.addOnError(ShardingErrorHandle<IDatabaseCommands> handler) |
void |
ParallelShardAccessStrategy.addOnError(ShardingErrorHandle<IDatabaseCommands> handler) |
void |
IShardAccessStrategy.addOnError(ShardingErrorHandle<IDatabaseCommands> handler) |
<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[] |
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[] |
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.
|
<T> T[] |
IShardAccessStrategy.apply(Class<?> clazz,
List<IDatabaseCommands> commands,
ShardRequestData request,
Function2<IDatabaseCommands,Integer,T> operation)
Applies the specified action to all shard sessions.
|
void |
SequentialShardAccessStrategy.removeOnError(ShardingErrorHandle<IDatabaseCommands> handler) |
void |
ParallelShardAccessStrategy.removeOnError(ShardingErrorHandle<IDatabaseCommands> handler) |
void |
IShardAccessStrategy.removeOnError(ShardingErrorHandle<IDatabaseCommands> handler) |
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) |
ShardedDocumentSession(String dbName,
ShardedDocumentStore documentStore,
DocumentSessionListeners listeners,
UUID id,
ShardStrategy shardStrategy,
Map<String,IDatabaseCommands> shardDbCommands)
Initializes a new instance of the ShardedDocumentSession class.
|
ShardedRavenQueryInspector(ShardStrategy shardStrategy,
Collection<IDatabaseCommands> shardDbCommands) |
Copyright © 2016. All Rights Reserved.