PageRenderTime 37ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/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
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
  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. package org.apache.hadoop.hive.serde2.lazybinary;
  19. import java.util.List;
  20. import java.util.Map;
  21. import org.apache.hadoop.hive.serde2.binarysortable.MyTestInnerStruct;
  22. /**
  23. * MyTestClassBigger.
  24. *
  25. */
  26. public class MyTestClassBigger {
  27. Byte myByte;
  28. Short myShort;
  29. Integer myInt;
  30. Long myLong;
  31. Float myFloat;
  32. Double myDouble;
  33. String myString;
  34. MyTestInnerStruct myStruct;
  35. List<Integer> myList;
  36. Map<String, List<MyTestInnerStruct>> myMap;
  37. public MyTestClassBigger() {
  38. }
  39. public MyTestClassBigger(Byte b, Short s, Integer i, Long l, Float f,
  40. Double d, String st, MyTestInnerStruct is, List<Integer> li,
  41. Map<String, List<MyTestInnerStruct>> mp) {
  42. myByte = b;
  43. myShort = s;
  44. myInt = i;
  45. myLong = l;
  46. myFloat = f;
  47. myDouble = d;
  48. myString = st;
  49. myStruct = is;
  50. myList = li;
  51. myMap = mp;
  52. }
  53. }