ravendb
Version:
RavenDB client for Node.js
48 lines • 2.06 kB
TypeScript
import { IndexDefinition } from "./IndexDefinition.js";
import { AbstractIndexCreationTaskBase } from "./AbstractIndexCreationTaskBase.js";
/**
* Utility class to create javascript based indexes using not-strongly typed syntax.
*
* Use AbstractJavaScriptIndexCreationTask for strongly-typed javascript indexes.
*/
export declare class AbstractRawJavaScriptIndexCreationTask extends AbstractIndexCreationTaskBase<IndexDefinition> {
private readonly _definition;
protected constructor();
get maps(): Set<string>;
set maps(value: Set<string>);
get fields(): {
[]: import("./IndexFieldOptions.js").IndexFieldOptions;
};
set fields(value: {
[fieldName: string]: import("./IndexFieldOptions.js").IndexFieldOptions;
});
get reduce(): string;
set reduce(value: string);
get isMapReduce(): boolean;
/**
* @return If not null than each reduce result will be created as a document in the specified collection name.
*/
get outputReduceToCollection(): string;
/**
* @param value If not null than each reduce result will be created as a document in the specified collection name.
*/
set outputReduceToCollection(value: string);
/**
* @return Defines a collection name for reference documents created based on provided pattern
*/
get patternReferencesCollectionName(): string;
/**
* @param value Defines a collection name for reference documents created based on provided pattern
*/
set patternReferencesCollectionName(value: string);
/**
* @return Defines a collection name for reference documents created based on provided pattern
*/
get patternForOutputReduceToCollectionReferences(): string;
/**
* @param value Defines a collection name for reference documents created based on provided pattern
*/
set patternForOutputReduceToCollectionReferences(value: string);
createIndexDefinition(): IndexDefinition;
}
//# sourceMappingURL=AbstractRawJavaScriptIndexCreationTask.d.ts.map