class TransactionBackendHandler implements TextProtocolBackendHandler {

    @Override
    public BackendResponse execute() throws SQLException {
        switch (operationType) {
            case BEGIN:
                backendTransactionManager.begin();
                break;
            case COMMIT:
                backendTransactionManager.commit();
                break;
            case ROLLBACK:
                backendTransactionManager.rollback();
                break;
            default:
                throw new SQLFeatureNotSupportedException(operationType.name());
        }
        return new UpdateResponse();
    }

    public  TransactionBackendHandler(final TransactionOperationType operationType, final BackendConnection backendConnection);

}