hpexpireat(
name: KeyT,
unix_time_milliseconds: AbsExpiryT,
*fields: str,
nx: bool = False,
xx: bool = False,
gt: bool = False,
lt: bool = False
) → ResponseT
Possible errors
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
hpExpireAt(
key: RedisArgument,
fields: RedisVariadicArgument,
timestamp: number | Date,
mode?: 'NX' | 'XX' | 'GT' | 'LT'
) → ArrayReply<HashExpiration> | NullReply
Possible errors
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
hpexpireat(
key: RedisKey,
unixTimeMilliseconds: number | string,
fieldsToken: "FIELDS",
numfields: number | string,
...fields: (string | Buffer)[],
callback: Callback<number[]>
) → Result<number[], Context>
hpexpireat(
key: RedisKey,
unixTimeMilliseconds: number | string,
fieldsToken: "FIELDS",
numfields: number | string,
...fields: (string | Buffer)[]
) → Result<number[], Context>
hpexpireat(
key: RedisKey,
unixTimeMilliseconds: number | string,
nx: "NX",
fieldsToken: "FIELDS",
numfields: number | string,
...fields: (string | Buffer)[],
callback: Callback<number[]>
) → Result<number[], Context>
hpexpireat(
key: RedisKey,
unixTimeMilliseconds: number | string,
nx: "NX",
fieldsToken: "FIELDS",
numfields: number | string,
...fields: (string | Buffer)[]
) → Result<number[], Context>
hpexpireat(
key: RedisKey,
unixTimeMilliseconds: number | string,
xx: "XX",
fieldsToken: "FIELDS",
numfields: number | string,
...fields: (string | Buffer)[],
callback: Callback<number[]>
) → Result<number[], Context>
Possible errors
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
hpexpireAt(
key: byte[],
unixTimeMillis: long,
fields: byte[]...
) → List<Long>
hpexpireAt(
key: byte[],
unixTimeMillis: long,
condition: ExpiryOption,
fields: byte[]...
) → List<Long>
hpexpireAt(
key: String,
unixTimeMillis: long,
fields: String...
) → List<Long>
hpexpireAt(
key: String,
unixTimeMillis: long,
condition: ExpiryOption,
fields: String...
) → List<Long>
Possible errors
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
hpexpireat(
key: K, // the key.
timestamp: long, // the milliseconds-timestamp type: posix time.
fields: K... // one or more fields to set the TTL for.
) → List<Long> // a list of Long values for each of the fields provided: 2 indicating the specific field is deleted already due to expiration, or provided expiry interval is in the past; 1 indicating expiration time is set/updated; 0 indicating the expiration time is not set (a provided NX | XX | GT | LT condition is not met); -2 indicating there is no such field @since 6.4
hpexpireat(
key: K, // the key.
timestamp: long, // the milliseconds-timestamp type: posix time.
expireArgs: ExpireArgs, // the expiry arguments.
fields: K... // one or more fields to set the TTL for.
) → List<Long> // a list of Long values for each of the fields provided: 2 indicating the specific field is deleted already due to expiration, or provided expiry interval is in the past; 1 indicating expiration time is set/updated; 0 indicating the expiration time is not set (a provided NX | XX | GT | LT condition is not met); -2 indicating there is no such field @since 6.4
hpexpireat(
key: K, // the key.
timestamp: Date, // the milliseconds-timestamp type: posix time.
fields: K... // one or more fields to set the TTL for.
) → List<Long> // a list of Long values for each of the fields provided: 2 indicating the specific field is deleted already due to expiration, or provided expiry interval is in the past; 1 indicating expiration time is set/updated; 0 indicating the expiration time is not set (a provided NX | XX | GT | LT condition is not met); -2 indicating there is no such field @since 6.4
hpexpireat(
key: K, // the key.
timestamp: Date, // the milliseconds-timestamp type: posix time.
expireArgs: ExpireArgs, // the expiry arguments.
fields: K... // one or more fields to set the TTL for.
) → List<Long> // a list of Long values for each of the fields provided: 2 indicating the specific field is deleted already due to expiration, or provided expiry interval is in the past; 1 indicating expiration time is set/updated; 0 indicating the expiration time is not set (a provided NX | XX | GT | LT condition is not met); -2 indicating there is no such field @since 6.4
hpexpireat(
key: K, // the key.
timestamp: Instant, // the milliseconds-timestamp type: posix time.
fields: K... // one or more fields to set the TTL for.
) → List<Long> // a list of Long values for each of the fields provided: 2 indicating the specific field is deleted already due to expiration, or provided expiry interval is in the past; 1 indicating expiration time is set/updated; 0 indicating the expiration time is not set (a provided NX | XX | GT | LT condition is not met); -2 indicating there is no such field @since 6.4
hpexpireat(
key: K, // the key.
timestamp: long, // the milliseconds-timestamp type: posix time.
fields: K... // one or more fields to set the TTL for.
) → RedisFuture<List<Long>> // a list of Long values for each of the fields provided: 2 indicating the specific field is deleted already due to expiration, or provided expiry interval is in the past; 1 indicating expiration time is set/updated; 0 indicating the expiration time is not set (a provided NX | XX | GT | LT condition is not met); -2 indicating there is no such field @since 6.4
hpexpireat(
key: K, // the key.
timestamp: long, // the milliseconds-timestamp type: posix time.
expireArgs: ExpireArgs, // the expiry arguments.
fields: K... // one or more fields to set the TTL for.
) → RedisFuture<List<Long>> // a list of Long values for each of the fields provided: 2 indicating the specific field is deleted already due to expiration, or provided expiry interval is in the past; 1 indicating expiration time is set/updated; 0 indicating the expiration time is not set (a provided NX | XX | GT | LT condition is not met); -2 indicating there is no such field @since 6.4
hpexpireat(
key: K, // the key.
timestamp: Date, // the milliseconds-timestamp type: posix time.
fields: K... // one or more fields to set the TTL for.
) → RedisFuture<List<Long>> // a list of Long values for each of the fields provided: 2 indicating the specific field is deleted already due to expiration, or provided expiry interval is in the past; 1 indicating expiration time is set/updated; 0 indicating the expiration time is not set (a provided NX | XX | GT | LT condition is not met); -2 indicating there is no such field @since 6.4
hpexpireat(
key: K, // the key.
timestamp: Date, // the milliseconds-timestamp type: posix time.
expireArgs: ExpireArgs, // the expiry arguments.
fields: K... // one or more fields to set the TTL for.
) → RedisFuture<List<Long>> // a list of Long values for each of the fields provided: 2 indicating the specific field is deleted already due to expiration, or provided expiry interval is in the past; 1 indicating expiration time is set/updated; 0 indicating the expiration time is not set (a provided NX | XX | GT | LT condition is not met); -2 indicating there is no such field @since 6.4
hpexpireat(
key: K, // the key.
timestamp: Instant, // the milliseconds-timestamp type: posix time.
fields: K... // one or more fields to set the TTL for.
) → RedisFuture<List<Long>> // a list of Long values for each of the fields provided: 2 indicating the specific field is deleted already due to expiration, or provided expiry interval is in the past; 1 indicating expiration time is set/updated; 0 indicating the expiration time is not set (a provided NX | XX | GT | LT condition is not met); -2 indicating there is no such field @since 6.4
hpexpireat(
key: K, // the key.
timestamp: long, // the milliseconds-timestamp type: posix time.
fields: K... // one or more fields to set the TTL for.
) → Flux<Long> // a list of Long values for each of the fields provided: 2 indicating the specific field is deleted already due to expiration, or provided expiry interval is in the past; 1 indicating expiration time is set/updated; 0 indicating the expiration time is not set (a provided NX | XX | GT | LT condition is not met); -2 indicating there is no such field @since 6.4
hpexpireat(
key: K, // the key.
timestamp: long, // the milliseconds-timestamp type: posix time.
expireArgs: ExpireArgs, // the expiry arguments.
fields: K... // one or more fields to set the TTL for.
) → Flux<Long> // a list of Long values for each of the fields provided: 2 indicating the specific field is deleted already due to expiration, or provided expiry interval is in the past; 1 indicating expiration time is set/updated; 0 indicating the expiration time is not set (a provided NX | XX | GT | LT condition is not met); -2 indicating there is no such field @since 6.4
hpexpireat(
key: K, // the key.
timestamp: Date, // the milliseconds-timestamp type: posix time.
fields: K... // one or more fields to set the TTL for.
) → Flux<Long> // a list of Long values for each of the fields provided: 2 indicating the specific field is deleted already due to expiration, or provided expiry interval is in the past; 1 indicating expiration time is set/updated; 0 indicating the expiration time is not set (a provided NX | XX | GT | LT condition is not met); -2 indicating there is no such field @since 6.4
hpexpireat(
key: K, // the key.
timestamp: Date, // the milliseconds-timestamp type: posix time.
expireArgs: ExpireArgs, // the expiry arguments.
fields: K... // one or more fields to set the TTL for.
) → Flux<Long> // a list of Long values for each of the fields provided: 2 indicating the specific field is deleted already due to expiration, or provided expiry interval is in the past; 1 indicating expiration time is set/updated; 0 indicating the expiration time is not set (a provided NX | XX | GT | LT condition is not met); -2 indicating there is no such field @since 6.4
hpexpireat(
key: K, // the key.
timestamp: Instant, // the milliseconds-timestamp type: posix time.
fields: K... // one or more fields to set the TTL for.
) → Flux<Long> // a list of Long values for each of the fields provided: 2 indicating the specific field is deleted already due to expiration, or provided expiry interval is in the past; 1 indicating expiration time is set/updated; 0 indicating the expiration time is not set (a provided NX | XX | GT | LT condition is not met); -2 indicating there is no such field @since 6.4
HPExpireAt(
ctx: context.Context,
key: string,
tm: time.Time,
fields: ...string
) → *IntSliceCmd
Possible errors
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
No method signature available for this client.
No method signature available for this client.
hpexpireat(
$key: string,
$unixTimeMilliseconds: int,
$fields: array,
$flag: string
) → array|null
redis-rb has no dedicated method for this command. Send it with call.
hpexpire_at(
key: K,
ts: i64,
opt: ExpireOption,
fields: F
) → (Vec<IntegerReplyOrNoOp>)
hpexpire_at(
key: K,
ts: i64,
opt: ExpireOption,
fields: F
) → (Vec<IntegerReplyOrNoOp>)