org.apache.hadoop.hive.serde2.avro
Class TestAvroObjectInspectorGenerator

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.avro.TestAvroObjectInspectorGenerator

public class TestAvroObjectInspectorGenerator
extends Object


Field Summary
static String ARRAY_WITH_PRIMITIVE_ELEMENT_TYPE
           
static String BYTES_SCHEMA
           
static String ENUM_SCHEMA
           
static String FIXED_SCHEMA
           
static String KITCHEN_SINK_SCHEMA
           
static String MAP_WITH_NULLABLE_PRIMITIVE_VALUE_TYPE_SCHEMA
           
static String MAP_WITH_PRIMITIVE_VALUE_TYPE
           
static String NULLABLE_STRING_SCHEMA
           
static String RECORD_SCHEMA
           
static String UNION_SCHEMA
           
 
Constructor Summary
TestAvroObjectInspectorGenerator()
           
 
Method Summary
 void canHandleArrays()
           
 void canHandleBytes()
           
 void canHandleEnums()
           
 void canHandleFixed()
           
 void canHandleMapsWithPrimitiveValueTypes()
           
 void canHandleRecords()
           
 void canHandleUnions()
           
 void convertsMapsWithNullablePrimitiveTypes()
           
 void convertsNullableTypes()
           
 void failOnNonRecords()
           
 void objectInspectorsAreCached()
           
 void primitiveTypesWorkCorrectly()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAP_WITH_PRIMITIVE_VALUE_TYPE

public static final String MAP_WITH_PRIMITIVE_VALUE_TYPE
See Also:
Constant Field Values

ARRAY_WITH_PRIMITIVE_ELEMENT_TYPE

public static final String ARRAY_WITH_PRIMITIVE_ELEMENT_TYPE
See Also:
Constant Field Values

RECORD_SCHEMA

public static final String RECORD_SCHEMA
See Also:
Constant Field Values

UNION_SCHEMA

public static final String UNION_SCHEMA
See Also:
Constant Field Values

ENUM_SCHEMA

public static final String ENUM_SCHEMA
See Also:
Constant Field Values

FIXED_SCHEMA

public static final String FIXED_SCHEMA
See Also:
Constant Field Values

NULLABLE_STRING_SCHEMA

public static final String NULLABLE_STRING_SCHEMA
See Also:
Constant Field Values

MAP_WITH_NULLABLE_PRIMITIVE_VALUE_TYPE_SCHEMA

public static final String MAP_WITH_NULLABLE_PRIMITIVE_VALUE_TYPE_SCHEMA
See Also:
Constant Field Values

BYTES_SCHEMA

public static final String BYTES_SCHEMA
See Also:
Constant Field Values

KITCHEN_SINK_SCHEMA

public static final String KITCHEN_SINK_SCHEMA
See Also:
Constant Field Values
Constructor Detail

TestAvroObjectInspectorGenerator

public TestAvroObjectInspectorGenerator()
Method Detail

failOnNonRecords

public void failOnNonRecords()
                      throws Exception
Throws:
Exception

primitiveTypesWorkCorrectly

public void primitiveTypesWorkCorrectly()
                                 throws SerDeException
Throws:
SerDeException

canHandleMapsWithPrimitiveValueTypes

public void canHandleMapsWithPrimitiveValueTypes()
                                          throws SerDeException
Throws:
SerDeException

canHandleArrays

public void canHandleArrays()
                     throws SerDeException
Throws:
SerDeException

canHandleRecords

public void canHandleRecords()
                      throws SerDeException
Throws:
SerDeException

canHandleUnions

public void canHandleUnions()
                     throws SerDeException
Throws:
SerDeException

canHandleEnums

public void canHandleEnums()
                    throws SerDeException
Throws:
SerDeException

canHandleFixed

public void canHandleFixed()
                    throws SerDeException
Throws:
SerDeException

canHandleBytes

public void canHandleBytes()
                    throws SerDeException
Throws:
SerDeException

convertsNullableTypes

public void convertsNullableTypes()
                           throws SerDeException
Throws:
SerDeException

convertsMapsWithNullablePrimitiveTypes

public void convertsMapsWithNullablePrimitiveTypes()
                                            throws SerDeException
Throws:
SerDeException

objectInspectorsAreCached

public void objectInspectorsAreCached()
                               throws SerDeException
Throws:
SerDeException


Copyright © 2011 The Apache Software Foundation