use of com.palantir.atlasdb.schema.stream.generated.StreamTestWithHashStreamMetadataTable in project atlasdb by palantir.
the class StreamTest method getStreamMetadata.
private StreamMetadata getStreamMetadata(long id) {
return txManager.runTaskReadOnly(t -> {
StreamTestWithHashStreamMetadataTable table = StreamTestTableFactory.of().getStreamTestWithHashStreamMetadataTable(t);
StreamTestWithHashStreamMetadataRow row = StreamTestWithHashStreamMetadataRow.of(id);
return table.getRow(row).get().getMetadata();
});
}
Aggregations