프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
public ElasticsearchOdbBackend ( string elasticsearchUrl, string indexName ) : System | ||
elasticsearchUrl | string | |
indexName | string | |
리턴 | System |
public Read ( ObjectId id, Stream &data, ObjectType &objectType ) : int | ||
id | ObjectId | |
data | Stream | |
objectType | ObjectType | |
리턴 | int |
public ReadHeader ( ObjectId id, int &length, ObjectType &objectType ) : int | ||
id | ObjectId | |
length | int | |
objectType | ObjectType | |
리턴 | int |
public ReadPrefix ( string shortSha, ObjectId &id, Stream &data, ObjectType &objectType ) : int | ||
shortSha | string | |
id | ObjectId | |
data | Stream | |
objectType | ObjectType | |
리턴 | int |
public ReadStream ( ObjectId id, OdbBackendStream &stream ) : int | ||
id | ObjectId | |
stream | OdbBackendStream | |
리턴 | int |
public Write ( ObjectId id, Stream dataStream, long length, ObjectType objectType ) : int | ||
id | ObjectId | |
dataStream | Stream | |
length | long | |
objectType | ObjectType | |
리턴 | int |
public WriteStream ( long length, ObjectType objectType, OdbBackendStream &stream ) : int | ||
length | long | |
objectType | ObjectType | |
stream | OdbBackendStream | |
리턴 | int |