1 /* 2 * Hunt - A redis client library for D programming language. 3 * 4 * Copyright (C) 2018-2019 HuntLabs 5 * 6 * Website: https://www.huntlabs.net/ 7 * 8 * Licensed under the Apache-2.0 License. 9 * 10 */ 11 12 module hunt.redis.commands.RedisClusterBinaryScriptingCommands; 13 14 import hunt.collection.List; 15 import hunt.Double; 16 import hunt.Long; 17 18 interface RedisClusterBinaryScriptingCommands { 19 // Object eval(const(ubyte)[] script, const(ubyte)[] keyCount, const(ubyte)[][] params...); 20 21 // Object eval(const(ubyte)[] script, int keyCount, const(ubyte)[][] params...); 22 23 // Object eval(const(ubyte)[] script, List!(const(ubyte)[]) keys, List!(const(ubyte)[]) args); 24 25 // /** 26 // * @param script 27 // * @param sampleKey Command will be executed in the node where the hash slot of this key is assigned to 28 // * @return 29 // */ 30 // Object eval(const(ubyte)[] script, const(ubyte)[] sampleKey); 31 32 // /** 33 // * @param sha1 34 // * @param sampleKey Command will be executed in the node where the hash slot of this key is assigned to 35 // * @return 36 // */ 37 // Object evalsha(const(ubyte)[] sha1, const(ubyte)[] sampleKey); 38 39 // Object evalsha(const(ubyte)[] sha1, List!(const(ubyte)[]) keys, List!(const(ubyte)[]) args); 40 41 // Object evalsha(const(ubyte)[] sha1, int keyCount, const(ubyte)[][] params...); 42 43 // /** 44 // * @param sampleKey Command will be executed in the node where the hash slot of this key is assigned to 45 // * @param sha1 46 // * @return 47 // */ 48 // List!(Long) scriptExists(const(ubyte)[] sampleKey, const(ubyte)[][] sha1...); 49 50 // /** 51 // * @param script 52 // * @param sampleKey Command will be executed in the node where the hash slot of this key is assigned to 53 // * @return 54 // */ 55 // const(ubyte)[] scriptLoad(const(ubyte)[] script, const(ubyte)[] sampleKey); 56 57 // /** 58 // * @param sampleKey Command will be executed in the node where the hash slot of this key is assigned to 59 // * @return 60 // */ 61 // string scriptFlush(const(ubyte)[] sampleKey); 62 63 // /** 64 // * @param sampleKey Command will be executed in the node where the hash slot of this key is assigned to 65 // * @return 66 // */ 67 // string scriptKill(const(ubyte)[] sampleKey); 68 }