0.9.8.10
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
home
doug
src
hypertable
src
cc
Hypertable
RangeServer
CellStoreScannerInterval.h
Go to the documentation of this file.
1
/* -*- c++ -*-
2
* Copyright (C) 2007-2015 Hypertable, Inc.
3
*
4
* This file is part of Hypertable.
5
*
6
* Hypertable is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; version 3 of the
9
* License, or any later version.
10
*
11
* Hypertable is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19
* 02110-1301, USA.
20
*/
21
22
#ifndef HYPERTABLE_CELLSTORESCANNERINTERVAL_H
23
#define HYPERTABLE_CELLSTORESCANNERINTERVAL_H
24
25
#include "
Common/ByteString.h
"
26
#include "
Hypertable/Lib/Key.h
"
27
28
namespace
Hypertable
{
29
30
class
CellStoreScannerInterval
{
31
public
:
32
CellStoreScannerInterval
() :
m_disk_read
(0) { }
33
virtual
void
forward
() = 0;
34
virtual
bool
get
(
Key
&key,
ByteString
&value) = 0;
35
virtual
~CellStoreScannerInterval
() { }
36
int64_t
get_disk_read
() {
return
m_disk_read
; }
37
38
protected
:
39
struct
BlockInfo
{
40
int64_t
offset
;
41
int64_t
zlength
;
42
const
uint8_t *
base
;
43
const
uint8_t *
end
;
44
};
45
uint64_t
m_disk_read
;
46
};
47
48
}
49
50
#endif // HYPERTABLE_CELLSTORESCANNERINTERVAL_H
Hypertable::CellStoreScannerInterval::forward
virtual void forward()=0
Hypertable::CellStoreScannerInterval::BlockInfo::offset
int64_t offset
Definition:
CellStoreScannerInterval.h:40
Hypertable::CellStoreScannerInterval::BlockInfo::base
const uint8_t * base
Definition:
CellStoreScannerInterval.h:42
Hypertable::CellStoreScannerInterval::get_disk_read
int64_t get_disk_read()
Definition:
CellStoreScannerInterval.h:36
Hypertable::CellStoreScannerInterval
Definition:
CellStoreScannerInterval.h:30
Hypertable::ByteString
A class managing one or more serializable ByteStrings.
Definition:
ByteString.h:47
Key.h
Hypertable::CellStoreScannerInterval::BlockInfo
Definition:
CellStoreScannerInterval.h:39
Hypertable
Hypertable definitions
Definition:
ApplicationHandler.h:36
Hypertable::CellStoreScannerInterval::~CellStoreScannerInterval
virtual ~CellStoreScannerInterval()
Definition:
CellStoreScannerInterval.h:35
Hypertable::Key
Provides access to internal components of opaque key.
Definition:
Key.h:40
Hypertable::CellStoreScannerInterval::m_disk_read
uint64_t m_disk_read
Definition:
CellStoreScannerInterval.h:45
ByteString.h
A serializable ByteString.
Hypertable::CellStoreScannerInterval::BlockInfo::zlength
int64_t zlength
Definition:
CellStoreScannerInterval.h:41
Hypertable::CellStoreScannerInterval::BlockInfo::end
const uint8_t * end
Definition:
CellStoreScannerInterval.h:43
Hypertable::CellStoreScannerInterval::CellStoreScannerInterval
CellStoreScannerInterval()
Definition:
CellStoreScannerInterval.h:32
Generated on Tue Dec 22 2015 18:43:15 for Hypertable by
1.8.8