Search in sources :

Example 1 with StreamTestWithHashStreamMetadataTable

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();
    });
}
Also used : StreamTestWithHashStreamMetadataTable(com.palantir.atlasdb.schema.stream.generated.StreamTestWithHashStreamMetadataTable) StreamTestWithHashStreamMetadataRow(com.palantir.atlasdb.schema.stream.generated.StreamTestWithHashStreamMetadataTable.StreamTestWithHashStreamMetadataRow)

Aggregations

StreamTestWithHashStreamMetadataTable (com.palantir.atlasdb.schema.stream.generated.StreamTestWithHashStreamMetadataTable)1 StreamTestWithHashStreamMetadataRow (com.palantir.atlasdb.schema.stream.generated.StreamTestWithHashStreamMetadataTable.StreamTestWithHashStreamMetadataRow)1