class CassandraMessageFastViewProjection implements MessageFastViewProjection {

    @Override
    public Mono<Void> store(MessageId messageId, MessageFastViewPrecomputedProperties precomputedProperties) {
        checkMessage(messageId);

        return cassandraAsyncExecutor.executeVoid(storeStatement.bind()
            .setUUID(MESSAGE_ID, ((CassandraMessageId) messageId).get())
            .setString(PREVIEW, precomputedProperties.getPreview().getValue())
            .setBool(HAS_ATTACHMENT, precomputedProperties.hasAttachment())
            .setConsistencyLevel(ConsistencyLevel.ONE));
    }

    @Inject  CassandraMessageFastViewProjection(MetricFactory metricFactory, Session session);

}