Sha256: 303c2ec1a80a5b58b7d6b59797cff7d6a11c89669177c5dcad68123d2749bda4

Contents?: true

Size: 1.5 KB

Versions: 2

Compression:

Stored size: 1.5 KB

Contents

#ifndef IREADRECORDS_H
#define IREADRECORDS_H
/*=================================================================
   Copyright (C) 2012 2013 BizStation Corp All rights reserved.

   This program is free software; you can redistribute it and/or
   modify it under the terms of the GNU General Public License
   as published by the Free Software Foundation; either version 2
   of the License, or (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software 
   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  
   02111-1307, USA.
=================================================================*/


namespace bzs
{
namespace db
{
namespace engine
{
namespace mysql
{

#define REC_MACTH			0
#define REC_NOMACTH			1
#define REC_NOMACTH_NOMORE  2

class IReadRecordsHandler
{

public:
	virtual ~IReadRecordsHandler(){};
	virtual int match(bool typeNext) const=0;
	virtual short write(const unsigned char* bookmark, unsigned int bmlen)=0;
	virtual unsigned short rejectCount() = 0;
	virtual unsigned short maxRows() = 0;
};

}//namespace mysql
}//namespace engine
}//namespace db
}//namespace bzs

#endif //IREADRECORDS_H

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
transactd-1.1.2 source/bzs/db/engine/mysql/IReadRecords.h
transactd-1.0.1 source/bzs/db/engine/mysql/IReadRecords.h