Example #1
0
 public TableIndexSchema(EncodingByteString name, EncodingByteString[] patterns)
 {
     Name     = name;
     Patterns = patterns;
 }
Example #2
0
 public void CleanEntry(ILowLevelTransaction tx, EncodingByteString key)
 {
     CleanEntry(tx, key.Values);
 }
Example #3
0
 public void RemoveEntry(ILowLevelTransaction tx, EncodingByteString key)
 {
     RemoveEntry(tx, key.Values);
 }
Example #4
0
 public void AddEntry(ILowLevelTransaction tx, EncodingByteString key, EncodingByteString value)
 {
     AddEntry(tx, key.Values, value.Values);
 }
Example #5
0
 public TableSchema(EncodingByteString name, IEnumerable <TableIndexSchema> indexes)
 {
     Name    = name;
     Indexes = indexes.ToDictionary(item => item.Name);
 }
Example #6
0
 public Tree GetTree(EncodingByteString name, ILowLevelTransaction tx)
 {
     return(_trees.GetOrAdd(name, k => tx.OpenTree(name)));
 }