source: proiecte/HadoopJUnit/hadoop-0.20.1/src/c++/librecordio/test/test.jr @ 120

Last change on this file since 120 was 120, checked in by (none), 14 years ago

Added the mail files for the Hadoop JUNit Project

  • Property svn:executable set to *
File size: 1.8 KB
Line 
1/**
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements.  See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership.  The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License.  You may obtain a copy of the License at
9 *
10 *     http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
19module org.apache.hadoop.record.test {
20    class RecRecord0 {
21        ustring     StringVal;
22    }
23
24    class RecRecord1 {
25        boolean         BoolVal;
26        byte            ByteVal;
27        int             IntVal;
28        long            LongVal;
29        float           FloatVal;
30        double          DoubleVal;
31        ustring         StringVal;
32        buffer          BufferVal;
33        vector<ustring> VectorVal;
34        map<ustring, ustring>   MapVal;
35    }
36   
37  class RecRecordOld {
38        ustring name;
39        vector<long> ivec;
40        vector<vector<RecRecord0>> svec;
41        RecRecord0 inner;
42        vector<vector<vector<ustring>>> strvec;
43        float i1;
44        map<byte, ustring> map1;
45        vector<map<int, long>> mvec1;
46        vector<map<int, long>> mvec2;
47  }
48 
49  /* RecRecordNew is a lot like RecRecordOld. Helps test for versioning. */
50  class RecRecordNew {
51        ustring name2;
52        RecRecord0 inner;
53        vector<int> ivec;
54        vector<vector<int>> svec;
55        vector<vector<vector<ustring>>> strvec;
56                int i1;         
57                map<long, ustring> map1;
58        vector<map<int, long>> mvec2;   
59  }
60 
61   
62}
63
Note: See TracBrowser for help on using the repository browser.