Package io.hstream
Interface Producer
-
- All Known Subinterfaces:
BufferedProducer
public interface Producer
The interface for the HStream producer, all of methods are thread-safe
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description CompletableFuture<String>
write(byte[] rawRecord)
Deprecated.CompletableFuture<String>
write(HRecord hRecord)
Deprecated.CompletableFuture<String>
write(Record record)
Write aRecord
.
-
-
-
Method Detail
-
write
@Deprecated CompletableFuture<String> write(byte[] rawRecord)
Deprecated.Write a raw record- Parameters:
rawRecord
- raw format record- Returns:
- the record id wrapped in a
CompletableFuture
-
write
@Deprecated CompletableFuture<String> write(HRecord hRecord)
Deprecated.Write aHRecord
.- Parameters:
hRecord
-HRecord
- Returns:
- the record id wrapped in a
CompletableFuture
-
write
CompletableFuture<String> write(Record record)
Write aRecord
.- Parameters:
record
-Record
- Returns:
- the record id wrapped in a
CompletableFuture
-
-