Свойство | Type | Description | |
---|---|---|---|
client | ElasticsearchRestClient |
Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Méthode | Description | |
---|---|---|
ForEachInternal ( object query, ForEachCallback callback ) : int | ||
ReadInternal ( string sha, bool needsData ) : GetResponse |
public ElasticsearchOdbBackend ( string elasticsearchUrl, string indexName ) : System | ||
elasticsearchUrl | string | |
indexName | string | |
Résultat | System |
public ForEach ( ForEachCallback callback ) : int | ||
callback | ForEachCallback | |
Résultat | int |
public Read ( ObjectId id, Stream &data, ObjectType &objectType ) : int | ||
id | ObjectId | |
data | Stream | |
objectType | ObjectType | |
Résultat | int |
public ReadHeader ( ObjectId id, int &length, ObjectType &objectType ) : int | ||
id | ObjectId | |
length | int | |
objectType | ObjectType | |
Résultat | int |
public ReadPrefix ( string shortSha, ObjectId &id, Stream &data, ObjectType &objectType ) : int | ||
shortSha | string | |
id | ObjectId | |
data | Stream | |
objectType | ObjectType | |
Résultat | int |
public ReadStream ( ObjectId id, OdbBackendStream &stream ) : int | ||
id | ObjectId | |
stream | OdbBackendStream | |
Résultat | int |
public Write ( ObjectId id, Stream dataStream, long length, ObjectType objectType ) : int | ||
id | ObjectId | |
dataStream | Stream | |
length | long | |
objectType | ObjectType | |
Résultat | int |
public WriteStream ( long length, ObjectType objectType, OdbBackendStream &stream ) : int | ||
length | long | |
objectType | ObjectType | |
stream | OdbBackendStream | |
Résultat | int |