PageRenderTime 19ms CodeModel.GetById 12ms app.highlight 5ms RepoModel.GetById 0ms app.codeStats 1ms

/tags/release-0.1-rc2/hive/external/serde/src/test/org/apache/hadoop/hive/serde2/lazybinary/MyTestClassBigger.java

#
Java | 58 lines | 32 code | 5 blank | 21 comment | 0 complexity | 9856da60906e8acceaf9db5a2225b197 MD5 | raw file
 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 */
18package org.apache.hadoop.hive.serde2.lazybinary;
19
20import java.util.List;
21import java.util.Map;
22
23import org.apache.hadoop.hive.serde2.binarysortable.MyTestInnerStruct;
24
25/**
26 * MyTestClassBigger.
27 *
28 */
29public class MyTestClassBigger {
30  Byte myByte;
31  Short myShort;
32  Integer myInt;
33  Long myLong;
34  Float myFloat;
35  Double myDouble;
36  String myString;
37  MyTestInnerStruct myStruct;
38  List<Integer> myList;
39  Map<String, List<MyTestInnerStruct>> myMap;
40
41  public MyTestClassBigger() {
42  }
43
44  public MyTestClassBigger(Byte b, Short s, Integer i, Long l, Float f,
45      Double d, String st, MyTestInnerStruct is, List<Integer> li,
46      Map<String, List<MyTestInnerStruct>> mp) {
47    myByte = b;
48    myShort = s;
49    myInt = i;
50    myLong = l;
51    myFloat = f;
52    myDouble = d;
53    myString = st;
54    myStruct = is;
55    myList = li;
56    myMap = mp;
57  }
58}