Package | Description |
---|---|
org.apache.avro.compiler.specific | |
org.apache.avro.generic |
A generic representation for Avro data.
|
Modifier and Type | Method and Description |
---|---|
GenericData.StringType |
ProtocolTask.getStringType()
Get the string type.
|
Modifier and Type | Method and Description |
---|---|
void |
SpecificCompiler.setStringType(GenericData.StringType t)
Set the Java type to be emitted for string schemas.
|
void |
ProtocolTask.setStringType(GenericData.StringType type)
Set the string type.
|
Modifier and Type | Method and Description |
---|---|
static GenericData.StringType |
GenericData.StringType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GenericData.StringType[] |
GenericData.StringType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
GenericData.setStringType(Schema s,
GenericData.StringType stringType)
Set the Java type to be used when reading this schema.
|
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.