|
58 | 58 | import io.valkey.params.GeoRadiusStoreParam;
|
59 | 59 | import io.valkey.params.GeoSearchParam;
|
60 | 60 | import io.valkey.params.GetExParams;
|
| 61 | +import io.valkey.params.HGetExParams; |
| 62 | +import io.valkey.params.HSetExParams; |
61 | 63 | import io.valkey.params.LCSParams;
|
62 | 64 | import io.valkey.params.LPosParams;
|
63 | 65 | import io.valkey.params.LolwutParams;
|
@@ -4752,6 +4754,102 @@ public long hstrlen(final byte[] key, final byte[] field) {
|
4752 | 4754 | return connection.executeCommand(commandObjects.hstrlen(key, field));
|
4753 | 4755 | }
|
4754 | 4756 |
|
| 4757 | + @Override |
| 4758 | + public List<byte[]> hgetex(byte[] key, HGetExParams params, byte[]... fields){ |
| 4759 | + checkIsInMultiOrPipeline(); |
| 4760 | + return connection.executeCommand(commandObjects.hgetex(key, params, fields)); |
| 4761 | + } |
| 4762 | + |
| 4763 | + @Override |
| 4764 | + public long hsetex(byte[] key, HSetExParams params, byte[] field, byte[] value) { |
| 4765 | + checkIsInMultiOrPipeline(); |
| 4766 | + return connection.executeCommand(commandObjects.hsetex(key, params, field, value)); |
| 4767 | + } |
| 4768 | + |
| 4769 | + @Override |
| 4770 | + public long hsetex(byte[] key, HSetExParams params, Map<byte[], byte[]> hash){ |
| 4771 | + checkIsInMultiOrPipeline(); |
| 4772 | + return connection.executeCommand(commandObjects.hsetex(key, params, hash)); |
| 4773 | + } |
| 4774 | + |
| 4775 | + @Override |
| 4776 | + public List<Long> hexpire(byte[] key, long seconds, byte[]... fields) { |
| 4777 | + checkIsInMultiOrPipeline(); |
| 4778 | + return connection.executeCommand(commandObjects.hexpire(key, seconds, fields)); |
| 4779 | + } |
| 4780 | + |
| 4781 | + @Override |
| 4782 | + public List<Long> hexpire(byte[] key, long seconds, ExpiryOption condition, byte[]... fields) { |
| 4783 | + checkIsInMultiOrPipeline(); |
| 4784 | + return connection.executeCommand(commandObjects.hexpire(key, seconds, condition, fields)); |
| 4785 | + } |
| 4786 | + |
| 4787 | + @Override |
| 4788 | + public List<Long> hpexpire(byte[] key, long milliseconds, byte[]... fields) { |
| 4789 | + checkIsInMultiOrPipeline(); |
| 4790 | + return connection.executeCommand(commandObjects.hpexpire(key, milliseconds, fields)); |
| 4791 | + } |
| 4792 | + |
| 4793 | + @Override |
| 4794 | + public List<Long> hpexpire(byte[] key, long milliseconds, ExpiryOption condition, byte[]... fields) { |
| 4795 | + checkIsInMultiOrPipeline(); |
| 4796 | + return connection.executeCommand(commandObjects.hpexpire(key, milliseconds, condition, fields)); |
| 4797 | + } |
| 4798 | + |
| 4799 | + @Override |
| 4800 | + public List<Long> hexpireAt(byte[] key, long unixTimeSeconds, byte[]... fields) { |
| 4801 | + checkIsInMultiOrPipeline(); |
| 4802 | + return connection.executeCommand(commandObjects.hexpireAt(key, unixTimeSeconds, fields)); |
| 4803 | + } |
| 4804 | + |
| 4805 | + @Override |
| 4806 | + public List<Long> hexpireAt(byte[] key, long unixTimeSeconds, ExpiryOption condition, byte[]... fields) { |
| 4807 | + checkIsInMultiOrPipeline(); |
| 4808 | + return connection.executeCommand(commandObjects.hexpireAt(key, unixTimeSeconds, condition, fields)); |
| 4809 | + } |
| 4810 | + |
| 4811 | + @Override |
| 4812 | + public List<Long> hpexpireAt(byte[] key, long unixTimeMillis, byte[]... fields) { |
| 4813 | + checkIsInMultiOrPipeline(); |
| 4814 | + return connection.executeCommand(commandObjects.hpexpireAt(key, unixTimeMillis, fields)); |
| 4815 | + } |
| 4816 | + |
| 4817 | + @Override |
| 4818 | + public List<Long> hpexpireAt(byte[] key, long unixTimeMillis, ExpiryOption condition, byte[]... fields) { |
| 4819 | + checkIsInMultiOrPipeline(); |
| 4820 | + return connection.executeCommand(commandObjects.hpexpireAt(key, unixTimeMillis, condition, fields)); |
| 4821 | + } |
| 4822 | + |
| 4823 | + @Override |
| 4824 | + public List<Long> hexpireTime(byte[] key, byte[]... fields) { |
| 4825 | + checkIsInMultiOrPipeline(); |
| 4826 | + return connection.executeCommand(commandObjects.hexpireTime(key, fields)); |
| 4827 | + } |
| 4828 | + |
| 4829 | + @Override |
| 4830 | + public List<Long> hpexpireTime(byte[] key, byte[]... fields) { |
| 4831 | + checkIsInMultiOrPipeline(); |
| 4832 | + return connection.executeCommand(commandObjects.hpexpireTime(key, fields)); |
| 4833 | + } |
| 4834 | + |
| 4835 | + @Override |
| 4836 | + public List<Long> httl(byte[] key, byte[]... fields) { |
| 4837 | + checkIsInMultiOrPipeline(); |
| 4838 | + return connection.executeCommand(commandObjects.httl(key, fields)); |
| 4839 | + } |
| 4840 | + |
| 4841 | + @Override |
| 4842 | + public List<Long> hpttl(byte[] key, byte[]... fields) { |
| 4843 | + checkIsInMultiOrPipeline(); |
| 4844 | + return connection.executeCommand(commandObjects.hpttl(key, fields)); |
| 4845 | + } |
| 4846 | + |
| 4847 | + @Override |
| 4848 | + public List<Long> hpersist(byte[] key, byte[]... fields) { |
| 4849 | + checkIsInMultiOrPipeline(); |
| 4850 | + return connection.executeCommand(commandObjects.hpersist(key, fields)); |
| 4851 | + } |
| 4852 | + |
4755 | 4853 | @Override
|
4756 | 4854 | public List<Object> xread(XReadParams xReadParams, Entry<byte[], byte[]>... streams) {
|
4757 | 4855 | checkIsInMultiOrPipeline();
|
@@ -9347,6 +9445,102 @@ public long hstrlen(final String key, final String field) {
|
9347 | 9445 | return connection.executeCommand(commandObjects.hstrlen(key, field));
|
9348 | 9446 | }
|
9349 | 9447 |
|
| 9448 | + @Override |
| 9449 | + public long hsetex(String key, HSetExParams params, String field, String value) { |
| 9450 | + checkIsInMultiOrPipeline(); |
| 9451 | + return connection.executeCommand(commandObjects.hsetex(key, params, field, value)); |
| 9452 | + } |
| 9453 | + |
| 9454 | + @Override |
| 9455 | + public long hsetex(String key, HSetExParams params, Map<String, String> hash) { |
| 9456 | + checkIsInMultiOrPipeline(); |
| 9457 | + return connection.executeCommand(commandObjects.hsetex(key, params, hash)); |
| 9458 | + } |
| 9459 | + |
| 9460 | + @Override |
| 9461 | + public List<String> hgetex(String key, HGetExParams params, String... fields) { |
| 9462 | + checkIsInMultiOrPipeline(); |
| 9463 | + return connection.executeCommand(commandObjects.hgetex(key, params, fields)); |
| 9464 | + } |
| 9465 | + |
| 9466 | + @Override |
| 9467 | + public List<Long> hexpire(String key, long seconds, String... fields) { |
| 9468 | + checkIsInMultiOrPipeline(); |
| 9469 | + return connection.executeCommand(commandObjects.hexpire(key, seconds, fields)); |
| 9470 | + } |
| 9471 | + |
| 9472 | + @Override |
| 9473 | + public List<Long> hexpire(String key, long seconds, ExpiryOption condition, String... fields) { |
| 9474 | + checkIsInMultiOrPipeline(); |
| 9475 | + return connection.executeCommand(commandObjects.hexpire(key, seconds, condition, fields)); |
| 9476 | + } |
| 9477 | + |
| 9478 | + @Override |
| 9479 | + public List<Long> hpexpire(String key, long milliseconds, String... fields) { |
| 9480 | + checkIsInMultiOrPipeline(); |
| 9481 | + return connection.executeCommand(commandObjects.hpexpire(key, milliseconds, fields)); |
| 9482 | + } |
| 9483 | + |
| 9484 | + @Override |
| 9485 | + public List<Long> hpexpire(String key, long milliseconds, ExpiryOption condition, String... fields) { |
| 9486 | + checkIsInMultiOrPipeline(); |
| 9487 | + return connection.executeCommand(commandObjects.hpexpire(key, milliseconds, condition, fields)); |
| 9488 | + } |
| 9489 | + |
| 9490 | + @Override |
| 9491 | + public List<Long> hexpireAt(String key, long unixTimeSeconds, String... fields) { |
| 9492 | + checkIsInMultiOrPipeline(); |
| 9493 | + return connection.executeCommand(commandObjects.hexpireAt(key, unixTimeSeconds, fields)); |
| 9494 | + } |
| 9495 | + |
| 9496 | + @Override |
| 9497 | + public List<Long> hexpireAt(String key, long unixTimeSeconds, ExpiryOption condition, String... fields) { |
| 9498 | + checkIsInMultiOrPipeline(); |
| 9499 | + return connection.executeCommand(commandObjects.hexpireAt(key, unixTimeSeconds, condition, fields)); |
| 9500 | + } |
| 9501 | + |
| 9502 | + @Override |
| 9503 | + public List<Long> hpexpireAt(String key, long unixTimeMillis, String... fields) { |
| 9504 | + checkIsInMultiOrPipeline(); |
| 9505 | + return connection.executeCommand(commandObjects.hpexpireAt(key, unixTimeMillis, fields)); |
| 9506 | + } |
| 9507 | + |
| 9508 | + @Override |
| 9509 | + public List<Long> hpexpireAt(String key, long unixTimeMillis, ExpiryOption condition, String... fields) { |
| 9510 | + checkIsInMultiOrPipeline(); |
| 9511 | + return connection.executeCommand(commandObjects.hpexpireAt(key, unixTimeMillis, condition, fields)); |
| 9512 | + } |
| 9513 | + |
| 9514 | + @Override |
| 9515 | + public List<Long> hexpireTime(String key, String... fields) { |
| 9516 | + checkIsInMultiOrPipeline(); |
| 9517 | + return connection.executeCommand(commandObjects.hexpireTime(key, fields)); |
| 9518 | + } |
| 9519 | + |
| 9520 | + @Override |
| 9521 | + public List<Long> hpexpireTime(String key, String... fields) { |
| 9522 | + checkIsInMultiOrPipeline(); |
| 9523 | + return connection.executeCommand(commandObjects.hpexpireTime(key, fields)); |
| 9524 | + } |
| 9525 | + |
| 9526 | + @Override |
| 9527 | + public List<Long> httl(String key, String... fields) { |
| 9528 | + checkIsInMultiOrPipeline(); |
| 9529 | + return connection.executeCommand(commandObjects.httl(key, fields)); |
| 9530 | + } |
| 9531 | + |
| 9532 | + @Override |
| 9533 | + public List<Long> hpttl(String key, String... fields) { |
| 9534 | + checkIsInMultiOrPipeline(); |
| 9535 | + return connection.executeCommand(commandObjects.hpttl(key, fields)); |
| 9536 | + } |
| 9537 | + |
| 9538 | + @Override |
| 9539 | + public List<Long> hpersist(String key, String... fields) { |
| 9540 | + checkIsInMultiOrPipeline(); |
| 9541 | + return connection.executeCommand(commandObjects.hpersist(key, fields)); |
| 9542 | + } |
| 9543 | + |
9350 | 9544 | @Override
|
9351 | 9545 | public String memoryDoctor() {
|
9352 | 9546 | checkIsInMultiOrPipeline();
|
|
0 commit comments