Class: Immudb::TxEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/immudb/tx_entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key, md, vLen, hVal, vOff) ⇒ TxEntry

Returns a new instance of TxEntry.



17
18
19
20
21
22
23
24
# File 'lib/immudb/tx_entry.rb', line 17

def initialize(key, md, vLen, hVal, vOff)
  @k = key
  @kLen = key.length
  @md = md
  @vLen = vLen
  @hVal = hVal
  @vOff = vOff
end

Instance Attribute Details

#hValObject (readonly)

Returns the value of attribute hVal.



15
16
17
# File 'lib/immudb/tx_entry.rb', line 15

def hVal
  @hVal
end

#kObject (readonly)

Returns the value of attribute k.



15
16
17
# File 'lib/immudb/tx_entry.rb', line 15

def k
  @k
end

#kLenObject (readonly)

Returns the value of attribute kLen.



15
16
17
# File 'lib/immudb/tx_entry.rb', line 15

def kLen
  @kLen
end

#mdObject (readonly)

Returns the value of attribute md.



15
16
17
# File 'lib/immudb/tx_entry.rb', line 15

def md
  @md
end

#vLenObject (readonly)

Returns the value of attribute vLen.



15
16
17
# File 'lib/immudb/tx_entry.rb', line 15

def vLen
  @vLen
end

#vOffObject (readonly)

Returns the value of attribute vOff.



15
16
17
# File 'lib/immudb/tx_entry.rb', line 15

def vOff
  @vOff
end

Instance Method Details

#keyObject



26
27
28
# File 'lib/immudb/tx_entry.rb', line 26

def key
  @k
end

#metadataObject



30
31
32
# File 'lib/immudb/tx_entry.rb', line 30

def 
  @md
end