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

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

public class TestAvroSerdeUtils
extends Object


Constructor Summary
TestAvroSerdeUtils()
           
 
Method Summary
 void detemineSchemaTriesToOpenUrl()
           
 void determineSchemaCanReadSchemaFromHDFS()
           
 void determineSchemaFindsLiterals()
           
 void determineSchemaThrowsExceptionIfNoSchema()
           
 void getTypeFromNullableTypePositiveCase()
           
 void isNullableTypeAcceptsNullableUnions()
           
 void isNullableTypeIdentifiesNonUnionTypes()
           
 void isNullableTypeIdentifiesUnionsOfMoreThanTwoTypes()
           
 void isNullableTypeIdentifiesUnionsWithoutNulls()
           
 void noneOptionWorksForSpecifyingSchemas()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestAvroSerdeUtils

public TestAvroSerdeUtils()
Method Detail

isNullableTypeAcceptsNullableUnions

public void isNullableTypeAcceptsNullableUnions()

isNullableTypeIdentifiesUnionsOfMoreThanTwoTypes

public void isNullableTypeIdentifiesUnionsOfMoreThanTwoTypes()

isNullableTypeIdentifiesUnionsWithoutNulls

public void isNullableTypeIdentifiesUnionsWithoutNulls()

isNullableTypeIdentifiesNonUnionTypes

public void isNullableTypeIdentifiesNonUnionTypes()

getTypeFromNullableTypePositiveCase

public void getTypeFromNullableTypePositiveCase()

determineSchemaThrowsExceptionIfNoSchema

public void determineSchemaThrowsExceptionIfNoSchema()
                                              throws IOException,
                                                     AvroSerdeException
Throws:
IOException
AvroSerdeException

determineSchemaFindsLiterals

public void determineSchemaFindsLiterals()
                                  throws Exception
Throws:
Exception

detemineSchemaTriesToOpenUrl

public void detemineSchemaTriesToOpenUrl()
                                  throws AvroSerdeException,
                                         IOException
Throws:
AvroSerdeException
IOException

noneOptionWorksForSpecifyingSchemas

public void noneOptionWorksForSpecifyingSchemas()
                                         throws IOException,
                                                AvroSerdeException
Throws:
IOException
AvroSerdeException

determineSchemaCanReadSchemaFromHDFS

public void determineSchemaCanReadSchemaFromHDFS()
                                          throws IOException,
                                                 AvroSerdeException
Throws:
IOException
AvroSerdeException


Copyright © 2013 The Apache Software Foundation