예제 #1
0
 /// <summary>Initializes a new instance of the <see cref="TarantoolIndex{T, TKey}" /> class by index name.</summary>
 /// <param name="tarantoolClient">The tarantool client.</param>
 /// <param name="space">The space.</param>
 /// <param name="indexName">The index name.</param>
 public TarantoolIndex(ITarantoolClient tarantoolClient, ITarantoolSpace <T> space, string indexName)
 {
     TarantoolClient = tarantoolClient;
     Space           = space;
     _indexName      = indexName;
 }
예제 #2
0
 /// <summary>Initializes a new instance of the <see cref="TarantoolIndex{T, TKey}" /> class by index id.</summary>
 /// <param name="tarantoolClient">The tarantool client.</param>
 /// <param name="space">The space.</param>
 /// <param name="indexId">The index id.</param>
 public TarantoolIndex(ITarantoolClient tarantoolClient, ITarantoolSpace <T> space, uint indexId)
 {
     TarantoolClient = tarantoolClient;
     Space           = space;
     IndexId         = indexId;
 }