C# 클래스 Raven.Smuggler.SmugglerApi

상속: Raven.Abstractions.Smuggler.SmugglerApiBase
파일 보기 프로젝트 열기: robashton/ravendb 1 사용 예제들

Private Properties

프로퍼티 타입 설명
FlushBatch Task
StripQuotesIfNeeded string

공개 메소드들

메소드 설명
ExportData ( System.Stream stream, SmugglerOptions options, bool incremental, Raven.Abstractions.Data.PeriodicBackupStatus backupStatus = null ) : Task
ExportData ( System.Stream stream, SmugglerOptions options, bool incremental, bool lastEtagsFromFile, Raven.Abstractions.Data.PeriodicBackupStatus lastEtag ) : Task
ImportData ( System.Stream stream, SmugglerOptions options ) : Task
SmugglerApi ( SmugglerOptions smugglerOptions, RavenConnectionStringOptions connectionStringOptions ) : System

보호된 메소드들

메소드 설명
CreateRequest ( string url, string method = "GET" ) : HttpRavenRequest
CreateStore ( ) : DocumentStore
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

비공개 메소드들

메소드 설명
FlushBatch ( ) : Task
StripQuotesIfNeeded ( RavenJToken value ) : string

메소드 상세

CreateRequest() 보호된 메소드

protected CreateRequest ( string url, string method = "GET" ) : HttpRavenRequest
url string
method string
리턴 HttpRavenRequest

CreateStore() 보호된 메소드

protected CreateStore ( ) : DocumentStore
리턴 DocumentStore

EnsureDatabaseExists() 보호된 메소드

protected EnsureDatabaseExists ( ) : Task
리턴 Task

ExportAttachments() 보호된 메소드

protected ExportAttachments ( Raven.Imports.Newtonsoft.Json.JsonTextWriter jsonWriter, Etag lastEtag ) : Task
jsonWriter Raven.Imports.Newtonsoft.Json.JsonTextWriter
lastEtag Raven.Abstractions.Util.Etag
리턴 Task

ExportData() 공개 메소드

public ExportData ( System.Stream stream, SmugglerOptions options, bool incremental, Raven.Abstractions.Data.PeriodicBackupStatus backupStatus = null ) : Task
stream System.Stream
options SmugglerOptions
incremental bool
backupStatus Raven.Abstractions.Data.PeriodicBackupStatus
리턴 Task

ExportData() 공개 메소드

public ExportData ( System.Stream stream, SmugglerOptions options, bool incremental, bool lastEtagsFromFile, Raven.Abstractions.Data.PeriodicBackupStatus lastEtag ) : Task
stream System.Stream
options SmugglerOptions
incremental bool
lastEtagsFromFile bool
lastEtag Raven.Abstractions.Data.PeriodicBackupStatus
리턴 Task

GetDocuments() 보호된 메소드

protected GetDocuments ( Etag lastEtag ) : Task>
lastEtag Raven.Abstractions.Util.Etag
리턴 Task>

GetIndexes() 보호된 메소드

protected GetIndexes ( int totalCount ) : Task
totalCount int
리턴 Task

GetStats() 보호된 메소드

protected GetStats ( ) : Task
리턴 Task

GetTransformers() 보호된 메소드

protected GetTransformers ( int totalCount ) : Task
totalCount int
리턴 Task

GetVersion() 보호된 메소드

protected GetVersion ( ) : Task
리턴 Task

ImportData() 공개 메소드

public ImportData ( System.Stream stream, SmugglerOptions options ) : Task
stream System.Stream
options SmugglerOptions
리턴 Task

PutAttachment() 보호된 메소드

protected PutAttachment ( AttachmentExportInfo attachmentExportInfo ) : Task
attachmentExportInfo AttachmentExportInfo
리턴 Task

PutDocument() 보호된 메소드

protected PutDocument ( RavenJObject document ) : Task
document RavenJObject
리턴 Task

PutIndex() 보호된 메소드

protected PutIndex ( string indexName, RavenJToken index ) : Task
indexName string
index RavenJToken
리턴 Task

PutTransformer() 보호된 메소드

protected PutTransformer ( string transformerName, RavenJToken transformer ) : Task
transformerName string
transformer RavenJToken
리턴 Task

ShowProgress() 보호된 메소드

protected ShowProgress ( string format ) : void
format string
리턴 void

SmugglerApi() 공개 메소드

public SmugglerApi ( SmugglerOptions smugglerOptions, RavenConnectionStringOptions connectionStringOptions ) : System
smugglerOptions SmugglerOptions
connectionStringOptions RavenConnectionStringOptions
리턴 System

TransformDocument() 보호된 메소드

protected TransformDocument ( RavenJObject document, string transformScript ) : Task
document RavenJObject
transformScript string
리턴 Task