Package com.infinyon.fluvio
Class Record
java.lang.Object
com.infinyon.fluvio.Record
Carries the data (key and value) for a Record in a Fluvio stream.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
protected void
finalize()
final byte[]
key()
The key of this Record as bytes.final String
The key of this Record as a String.final long
offset()
The absolute offset in the partition where this Record is located.final byte[]
value()
The value of this Record as bytes.final String
The contents of this Record as a String.
-
Method Details
-
offset
public final long offset()The absolute offset in the partition where this Record is located. -
value
public final byte[] value()The value of this Record as bytes. -
key
public final byte[] key()The key of this Record as bytes. -
value_string
The contents of this Record as a String.- Throws:
Exception
-
key_string
The key of this Record as a String.- Throws:
Exception
-
delete
public void delete() -
finalize
-