Class: AerospikeNative::Record

Inherits:
Object
  • Object
show all
Defined in:
ext/aerospike_native/record.c

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#new(key, bins, gen, ttl) ⇒ AerospikeNative::Record

initialize new record



13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'ext/aerospike_native/record.c', line 13

VALUE record_initialize(VALUE vSelf, VALUE vKey, VALUE vBins, VALUE vGen, VALUE vTtl)
{
    check_aerospike_key(vKey);
    Check_Type(vBins, T_HASH);
    Check_Type(vGen, T_FIXNUM);
    Check_Type(vTtl, T_FIXNUM);

    rb_iv_set(vSelf, "@key", vKey);
    rb_iv_set(vSelf, "@bins", vBins);
    rb_iv_set(vSelf, "@gen", vGen);
    rb_iv_set(vSelf, "@ttl", vTtl);

    return vSelf;
}

Instance Attribute Details

#binsObject (readonly)

#genObject (readonly)

#keyObject (readonly)

#ttlObject (readonly)