C# Class Raven.Database.Smuggler.DataDumper

Inheritance: Raven.Abstractions.Smuggler.SmugglerApiBase
Mostrar archivo Open project: robashton/ravendb Class Usage Examples

Public Methods

Method Description
DataDumper ( DocumentDatabase database, SmugglerOptions options ) : System

Protected Methods

Method Description
EnsureDatabaseExists ( ) : Task
ExportAttachments ( Raven.Imports.Newtonsoft.Json.JsonTextWriter jsonWriter, Etag lastEtag ) : Task
GetDocuments ( Etag lastEtag ) : Task>
GetIndexes ( int totalCount ) : Task
GetStats ( ) : Task
GetTransformers ( int totalCount ) : Task
GetVersion ( ) : Task
PutAttachment ( AttachmentExportInfo attachmentExportInfo ) : Task
PutDocument ( RavenJObject document ) : Task
PutIndex ( string indexName, RavenJToken index ) : Task
PutTransformer ( string transformerName, RavenJToken transformer ) : Task
ShowProgress ( string format ) : void
TransformDocument ( RavenJObject document, string transformScript ) : Task

Private Methods

Method Description
GetAttachments ( int start, Etag etag ) : RavenJArray

Method Details

DataDumper() public method

public DataDumper ( DocumentDatabase database, SmugglerOptions options ) : System
database DocumentDatabase
options Raven.Abstractions.Smuggler.SmugglerOptions
return System

EnsureDatabaseExists() protected method

protected EnsureDatabaseExists ( ) : Task
return Task

ExportAttachments() protected method

protected ExportAttachments ( Raven.Imports.Newtonsoft.Json.JsonTextWriter jsonWriter, Etag lastEtag ) : Task
jsonWriter Raven.Imports.Newtonsoft.Json.JsonTextWriter
lastEtag Etag
return Task

GetDocuments() protected method

protected GetDocuments ( Etag lastEtag ) : Task>
lastEtag Etag
return Task>

GetIndexes() protected method

protected GetIndexes ( int totalCount ) : Task
totalCount int
return Task

GetStats() protected method

protected GetStats ( ) : Task
return Task

GetTransformers() protected method

protected GetTransformers ( int totalCount ) : Task
totalCount int
return Task

GetVersion() protected method

protected GetVersion ( ) : Task
return Task

PutAttachment() protected method

protected PutAttachment ( AttachmentExportInfo attachmentExportInfo ) : Task
attachmentExportInfo AttachmentExportInfo
return Task

PutDocument() protected method

protected PutDocument ( RavenJObject document ) : Task
document RavenJObject
return Task

PutIndex() protected method

protected PutIndex ( string indexName, RavenJToken index ) : Task
indexName string
index RavenJToken
return Task

PutTransformer() protected method

protected PutTransformer ( string transformerName, RavenJToken transformer ) : Task
transformerName string
transformer RavenJToken
return Task

ShowProgress() protected method

protected ShowProgress ( string format ) : void
format string
return void

TransformDocument() protected method

protected TransformDocument ( RavenJObject document, string transformScript ) : Task
document RavenJObject
transformScript string
return Task