C# 클래스 LibGit2Sharp.Elasticsearch.ElasticsearchOdbBackend

상속: OdbBackend
파일 보기 프로젝트 열기: synhershko/libgit2sharp.Elasticsearch 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
client ElasticsearchRestClient

공개 메소드들

메소드 설명
ElasticsearchOdbBackend ( string elasticsearchUrl, string indexName ) : System
Exists ( ObjectId id ) : bool
ForEach ( ForEachCallback callback ) : int
Read ( ObjectId id, Stream &data, ObjectType &objectType ) : int
ReadHeader ( ObjectId id, int &length, ObjectType &objectType ) : int
ReadPrefix ( string shortSha, ObjectId &id, Stream &data, ObjectType &objectType ) : int
ReadStream ( ObjectId id, OdbBackendStream &stream ) : int
Write ( ObjectId id, Stream dataStream, long length, ObjectType objectType ) : int

Writes a git object to the backend. Assumes libgit2 calls Exists before (which is indeed the case)

WriteStream ( long length, ObjectType objectType, OdbBackendStream &stream ) : int

보호된 메소드들

메소드 설명
Dispose ( ) : void

비공개 메소드들

메소드 설명
ForEachInternal ( object query, ForEachCallback callback ) : int
ReadInternal ( string sha, bool needsData ) : GetResponse

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( ) : void
리턴 void

ElasticsearchOdbBackend() 공개 메소드

public ElasticsearchOdbBackend ( string elasticsearchUrl, string indexName ) : System
elasticsearchUrl string
indexName string
리턴 System

Exists() 공개 메소드

public Exists ( ObjectId id ) : bool
id ObjectId
리턴 bool

ForEach() 공개 메소드

public ForEach ( ForEachCallback callback ) : int
callback ForEachCallback
리턴 int

Read() 공개 메소드

public Read ( ObjectId id, Stream &data, ObjectType &objectType ) : int
id ObjectId
data Stream
objectType ObjectType
리턴 int

ReadHeader() 공개 메소드

public ReadHeader ( ObjectId id, int &length, ObjectType &objectType ) : int
id ObjectId
length int
objectType ObjectType
리턴 int

ReadPrefix() 공개 메소드

public ReadPrefix ( string shortSha, ObjectId &id, Stream &data, ObjectType &objectType ) : int
shortSha string
id ObjectId
data Stream
objectType ObjectType
리턴 int

ReadStream() 공개 메소드

public ReadStream ( ObjectId id, OdbBackendStream &stream ) : int
id ObjectId
stream OdbBackendStream
리턴 int

Write() 공개 메소드

Writes a git object to the backend. Assumes libgit2 calls Exists before (which is indeed the case)
public Write ( ObjectId id, Stream dataStream, long length, ObjectType objectType ) : int
id ObjectId
dataStream Stream
length long
objectType ObjectType
리턴 int

WriteStream() 공개 메소드

public WriteStream ( long length, ObjectType objectType, OdbBackendStream &stream ) : int
length long
objectType ObjectType
stream OdbBackendStream
리턴 int

프로퍼티 상세

client 보호되어 있는 프로퍼티

protected ElasticsearchRestClient client
리턴 ElasticsearchRestClient