@@ -33,6 +33,15 @@ public abstract partial class BaseBatch<T>
3333 /// <inheritdoc cref="IBatchHashCommands.HashExists(ValkeyKey, ValkeyValue)" />
3434 public T HashExists ( ValkeyKey key , ValkeyValue hashField ) => AddCmd ( HashExistsAsync ( key , hashField ) ) ;
3535
36+ /// <inheritdoc cref="IBatchHashCommands.HashIncrement(ValkeyKey, ValkeyValue, long)" />
37+ public T HashIncrement ( ValkeyKey key , ValkeyValue hashField , long value = 1 ) => AddCmd ( HashIncrementAsync ( key , hashField , value ) ) ;
38+
39+ /// <inheritdoc cref="IBatchHashCommands.HashIncrement(ValkeyKey, ValkeyValue, double)" />
40+ public T HashIncrement ( ValkeyKey key , ValkeyValue hashField , double value ) => AddCmd ( HashIncrementAsync ( key , hashField , value ) ) ;
41+
42+ /// <inheritdoc cref="IBatchHashCommands.HashKeys(ValkeyKey)" />
43+ public T HashKeys ( ValkeyKey key ) => AddCmd ( HashKeysAsync ( key ) ) ;
44+
3645 /// <inheritdoc cref="IBatchHashCommands.HashLength(ValkeyKey)" />
3746 public T HashLength ( ValkeyKey key ) => AddCmd ( HashLengthAsync ( key ) ) ;
3847
@@ -51,6 +60,12 @@ public abstract partial class BaseBatch<T>
5160 /// <inheritdoc cref="IBatchHashCommands.HashRandomFieldsWithValues(ValkeyKey, long)" />
5261 public T HashRandomFieldsWithValues ( ValkeyKey key , long count ) => AddCmd ( HashRandomFieldsWithValuesAsync ( key , count ) ) ;
5362
63+ /// <inheritdoc cref="IBatchHashCommands.HashScan(ValkeyKey, long, ValkeyValue, long)" />
64+ public T HashScan ( ValkeyKey key , long cursor , ValkeyValue pattern = default , long count = 0 ) => AddCmd ( HashScanAsync < HashEntry [ ] > ( key , cursor , pattern , count , true ) ) ;
65+
66+ /// <inheritdoc cref="IBatchHashCommands.HashScanNoValues(ValkeyKey, long, ValkeyValue, long)" />
67+ public T HashScanNoValues ( ValkeyKey key , long cursor , ValkeyValue pattern = default , long count = 0 ) => AddCmd ( HashScanAsync < ValkeyValue [ ] > ( key , cursor , pattern , count , false ) ) ;
68+
5469 // Explicit interface implementations for IBatchHashCommands
5570 IBatch IBatchHashCommands . HashGet ( ValkeyKey key , ValkeyValue hashField ) => HashGet ( key , hashField ) ;
5671 IBatch IBatchHashCommands . HashGet ( ValkeyKey key , ValkeyValue [ ] hashFields ) => HashGet ( key , hashFields ) ;
@@ -60,10 +75,15 @@ public abstract partial class BaseBatch<T>
6075 IBatch IBatchHashCommands . HashDelete ( ValkeyKey key , ValkeyValue hashField ) => HashDelete ( key , hashField ) ;
6176 IBatch IBatchHashCommands . HashDelete ( ValkeyKey key , ValkeyValue [ ] hashFields ) => HashDelete ( key , hashFields ) ;
6277 IBatch IBatchHashCommands . HashExists ( ValkeyKey key , ValkeyValue hashField ) => HashExists ( key , hashField ) ;
78+ IBatch IBatchHashCommands . HashIncrement ( ValkeyKey key , ValkeyValue hashField , long value ) => HashIncrement ( key , hashField , value ) ;
79+ IBatch IBatchHashCommands . HashIncrement ( ValkeyKey key , ValkeyValue hashField , double value ) => HashIncrement ( key , hashField , value ) ;
80+ IBatch IBatchHashCommands . HashKeys ( ValkeyKey key ) => HashKeys ( key ) ;
6381 IBatch IBatchHashCommands . HashLength ( ValkeyKey key ) => HashLength ( key ) ;
6482 IBatch IBatchHashCommands . HashStringLength ( ValkeyKey key , ValkeyValue hashField ) => HashStringLength ( key , hashField ) ;
6583 IBatch IBatchHashCommands . HashValues ( ValkeyKey key ) => HashValues ( key ) ;
6684 IBatch IBatchHashCommands . HashRandomField ( ValkeyKey key ) => HashRandomField ( key ) ;
6785 IBatch IBatchHashCommands . HashRandomFields ( ValkeyKey key , long count ) => HashRandomFields ( key , count ) ;
6886 IBatch IBatchHashCommands . HashRandomFieldsWithValues ( ValkeyKey key , long count ) => HashRandomFieldsWithValues ( key , count ) ;
87+ IBatch IBatchHashCommands . HashScan ( ValkeyKey key , long cursor , ValkeyValue pattern , long count ) => HashScan ( key , cursor , pattern , count ) ;
88+ IBatch IBatchHashCommands . HashScanNoValues ( ValkeyKey key , long cursor , ValkeyValue pattern , long count ) => HashScanNoValues ( key , cursor , pattern , count ) ;
6989}
0 commit comments