@configurator/ravendb
Version:
RavenDB client for Node.js
21 lines (20 loc) • 1.18 kB
TypeScript
import { DocumentConventions } from "../Conventions/DocumentConventions";
import { IndexDefinition } from "./IndexDefinition";
import { IndexPriority, IndexLockMode, IndexState, SearchEngineType } from "./Enums";
import { IDocumentStore } from "../IDocumentStore";
import { AbstractCommonApiForIndexes } from "./AbstractCommonApiForIndexes";
import { IAbstractIndexCreationTask } from "./IAbstractIndexCreationTask";
import { IndexDeploymentMode } from "./IndexDeploymentMode";
export declare abstract class AbstractIndexCreationTaskBase<TIndexDefinition extends IndexDefinition> extends AbstractCommonApiForIndexes implements IAbstractIndexCreationTask {
abstract createIndexDefinition(): TIndexDefinition;
conventions: DocumentConventions;
priority: IndexPriority;
lockMode: IndexLockMode;
deploymentMode: IndexDeploymentMode;
searchEngineType: SearchEngineType;
state: IndexState;
execute(store: IDocumentStore): Promise<void>;
execute(store: IDocumentStore, conventions: DocumentConventions): Promise<void>;
execute(store: IDocumentStore, conventions: DocumentConventions, database: string): Promise<void>;
private _putIndex;
}