0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
LegacyDecoder.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_Lib_LegacyDecoder_h
23 #define Hypertable_Lib_LegacyDecoder_h
24 
34 
35 namespace Hypertable {
36 
37  using namespace Lib::RangeServerRecovery;
38 
39  extern void legacy_decode(const uint8_t **bufp, size_t *remainp, BalancePlan *plan);
40 
41  extern void legacy_decode(const uint8_t **bufp, size_t *remainp, TableIdentifier *tid);
42 
43  extern void legacy_decode(const uint8_t **bufp, size_t *remainp, TableIdentifierManaged *tid);
44 
45  extern void legacy_decode(const uint8_t **bufp, size_t *remainp, RangeSpec *spec);
46 
47  extern void legacy_decode(const uint8_t **bufp, size_t *remainp, RangeSpecManaged *spec);
48 
49  extern void legacy_decode(const uint8_t **bufp, size_t *remainp, QualifiedRangeSpec *spec);
50 
51  extern void legacy_decode(const uint8_t **bufp, size_t *remainp, RangeMoveSpec *spec);
52 
53  extern void legacy_decode(const uint8_t **bufp, size_t *remainp, RangeState *state);
54 
55  extern void legacy_decode(const uint8_t **bufp, size_t *remainp, RangeStateManaged *state);
56 
57  extern void legacy_decode(const uint8_t **bufp, size_t *remainp, FragmentReplayPlan *plan);
58 
59  extern void legacy_decode(const uint8_t **bufp, size_t *remainp, ReplayPlan *plan);
60 
61  extern void legacy_decode(const uint8_t **bufp, size_t *remainp, ServerReceiverPlan *plan);
62 
63  extern void legacy_decode(const uint8_t **bufp, size_t *remainp, ReceiverPlan *plan);
64 
65  extern void legacy_decode(const uint8_t **bufp, size_t *remainp, Plan *plan);
66 
67 }
68 
69 #endif // Hypertable_Lib_LegacyDecoder_h
Range specification.
Definition: RangeSpec.h:40
Balance plan.
Definition: BalancePlan.h:38
Declarations for Plan.
Declarations for TableIdentifier and TableIdentifierManaged.
Declarations for ReplayPlan.
RangeServer recovery plan.
Definition: Plan.h:49
Range move specification.
Definition: RangeMoveSpec.h:43
Wrapper for TableIdentifier providing member storage.
Declarations for QualifiedRangeSpec and QualifiedRangeSpecManaged.
Declarations for RangeState.
Declarations for RangeMoveSpec.
Declarations for RangeSpec and RangeSpecManaged.
Hypertable definitions
void legacy_decode(const uint8_t **bufp, size_t *remainp, BalancePlan *plan)
Qualified (with table identifier) range specification.
Range state.
Definition: RangeState.h:48
Wrapper for RangeSpec providing member storage.
Definition: RangeSpec.h:89
Holds a fragment replay plan for the recovery of a RangeServer.
Definition: ReplayPlan.h:53
Range state with memory management.
Definition: RangeState.h:166
RangeServer recovery receiver plan.
Definition: ReceiverPlan.h:48