Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addCustomConversion(Class<?>) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
- addFileset(FileSet) - Method in class org.apache.avro.compiler.specific.ProtocolTask
-
Add a fileset.
- afterVisitNonTerminal(Schema) - Method in class org.apache.avro.compiler.schema.CloningVisitor
- afterVisitNonTerminal(Schema) - Method in interface org.apache.avro.compiler.schema.SchemaVisitor
-
Invoked for schemas with children after its children have been visited.
C
- calcAllArgConstructorParameterUnits(Schema) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Returns the number of parameter units required by fields for the AllArgsConstructor.
- CloningVisitor - Class in org.apache.avro.compiler.schema
-
this visitor will create a clone of the original Schema with docs and other nonessential fields stripped by default. what attributes are copied is customizable.
- CloningVisitor(CloningVisitor.PropertyCopier, boolean, Schema) - Constructor for class org.apache.avro.compiler.schema.CloningVisitor
- CloningVisitor(Schema) - Constructor for class org.apache.avro.compiler.schema.CloningVisitor
-
copy only serialization necessary fields.
- CloningVisitor.PropertyCopier - Interface in org.apache.avro.compiler.schema
- compileProtocol(File[], File) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates Java interface and classes for a number of protocol files.
- compileProtocol(File, File) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates Java interface and classes for a protocol.
- compileSchema(File[], File) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates Java classes for a number of schema files.
- compileSchema(File, File) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates Java classes for a schema.
- compileToDestination(File, File) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generate output under dst, unless existing file is newer than src.
- CONTINUE - Enum constant in enum org.apache.avro.compiler.schema.SchemaVisitorAction
-
continue visit.
- conversionInstance(Schema) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
- copy(Schema.Field, Schema.Field) - Method in interface org.apache.avro.compiler.schema.CloningVisitor.PropertyCopier
- copy(Schema, Schema) - Method in interface org.apache.avro.compiler.schema.CloningVisitor.PropertyCopier
- copyAliases(Schema.Field, Schema.Field) - Static method in class org.apache.avro.compiler.schema.Schemas
- copyAliases(Schema, Schema) - Static method in class org.apache.avro.compiler.schema.Schemas
- copyLogicalTypes(Schema, Schema) - Static method in class org.apache.avro.compiler.schema.Schemas
- copyProperties(JsonProperties, JsonProperties) - Static method in class org.apache.avro.compiler.schema.Schemas
D
- doCompile(File, File) - Method in class org.apache.avro.compiler.specific.ProtocolTask
- doCompile(File, File) - Method in class org.apache.avro.compiler.specific.SchemaTask
E
- escapeForJavadoc(String) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- execute() - Method in class org.apache.avro.compiler.specific.ProtocolTask
-
Run the compiler.
F
- fingerprint64(Schema) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for use by templates.
G
- generateClearMethod(Schema, Schema.Field) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates the name of a field "clear" method.
- generateGetBuilderMethod(Schema, Schema.Field) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates the name of a field Builder accessor method.
- generateGetMethod(Schema, Schema.Field) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates the name of a field accessor method.
- generateGetOptionalMethod(Schema, Schema.Field) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates the name of a field accessor method that returns a Java 8 Optional.
- generateHasBuilderMethod(Schema, Schema.Field) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates the name of a field Builder "has" method.
- generateHasMethod(Schema, Schema.Field) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates the name of a field "has" method.
- generateSetBuilderMethod(Schema, Schema.Field) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates the name of a field Builder mutator method.
- generateSetMethod(Schema, Schema.Field) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates the name of a field mutator method.
- generateSetterCode(Schema, String, String) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- get() - Method in class org.apache.avro.compiler.schema.CloningVisitor
- get() - Method in interface org.apache.avro.compiler.schema.SchemaVisitor
-
Invoked when visiting is complete.
- getJavaClassName(Schema) - Static method in class org.apache.avro.compiler.schema.Schemas
- getNonNullIndex(Schema) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- getSchemaParentClass(boolean) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
- getStringType() - Method in class org.apache.avro.compiler.specific.ProtocolTask
-
Get the string type.
- getStringType(Schema) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use (and also internal use).
- getUsedConversionClasses(Schema) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
- getUsedCustomLogicalTypeFactories(Schema) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
H
- hasBuilder(Schema) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for use by templates.
- hasGeneratedJavaClass(Schema) - Static method in class org.apache.avro.compiler.schema.Schemas
- hasLogicalTypeField(Schema) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
I
- indent(int) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- isCreateAllArgsConstructor() - Method in class org.apache.avro.compiler.specific.SpecificCompiler
- isCreateNullSafeAnnotations() - Method in class org.apache.avro.compiler.specific.SpecificCompiler
- isCreateOptionalGetters() - Method in class org.apache.avro.compiler.specific.SpecificCompiler
- isCreateSetters() - Method in class org.apache.avro.compiler.specific.SpecificCompiler
- isCustomCodable(Schema) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- isGettersReturnOptional() - Method in class org.apache.avro.compiler.specific.SpecificCompiler
- isOptionalGettersForNullableFieldsOnly() - Method in class org.apache.avro.compiler.specific.SpecificCompiler
- isStringable(Schema) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- isUnboxedJavaTypeNullable(Schema) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Tests whether an unboxed Java type can be set to null
J
- javaAnnotations(JsonProperties) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- javaEscape(String) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- javaSplit(String) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- javaType(Schema) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- javaUnbox(Schema) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Deprecated.use javaUnbox(Schema, boolean), kept for backward compatibility of custom templates
- javaUnbox(Schema, boolean) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
M
- main(String[]) - Static method in class org.apache.avro.compiler.specific.SchemaTask
- main(String[]) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
- mangle(String) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- mangle(String, boolean) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- mangle(String, Set<String>) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- mangle(String, Set<String>, boolean) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- mangleTypeIdentifier(String) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- mangleTypeIdentifier(String, boolean) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- MAX_FIELD_PARAMETER_UNIT_COUNT - Static variable in class org.apache.avro.compiler.specific.SpecificCompiler
N
- nullToEmpty(String) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
O
- org.apache.avro.compiler.schema - package org.apache.avro.compiler.schema
- org.apache.avro.compiler.specific - package org.apache.avro.compiler.specific
P
- PRIVATE - Enum constant in enum org.apache.avro.compiler.specific.SpecificCompiler.FieldVisibility
- privateFields() - Method in class org.apache.avro.compiler.specific.SpecificCompiler
- ProtocolTask - Class in org.apache.avro.compiler.specific
-
Ant task to generate Java interface and classes for a protocol.
- ProtocolTask() - Constructor for class org.apache.avro.compiler.specific.ProtocolTask
- PUBLIC - Enum constant in enum org.apache.avro.compiler.specific.SpecificCompiler.FieldVisibility
- publicFields() - Method in class org.apache.avro.compiler.specific.SpecificCompiler
S
- Schemas - Class in org.apache.avro.compiler.schema
-
Avro Schema utilities, to traverse...
- SchemaTask - Class in org.apache.avro.compiler.specific
-
Ant task to generate Java interface and classes for a protocol.
- SchemaTask() - Constructor for class org.apache.avro.compiler.specific.SchemaTask
- SchemaVisitor<T> - Interface in org.apache.avro.compiler.schema
- SchemaVisitorAction - Enum in org.apache.avro.compiler.schema
- setAdditionalVelocityTools(List<Object>) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Set additional Velocity tools (simple POJOs) to be injected into the Velocity template context.
- setCreateNullSafeAnnotations(boolean) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Set to true to add jetbrains @Nullable and @NotNull annotations
- setCreateOptionalGetters(boolean) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Set to false to not create the getters that return an Optional.
- setCreateSetters(boolean) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Set to false to not create setter methods for the fields of the record.
- setDestdir(File) - Method in class org.apache.avro.compiler.specific.ProtocolTask
-
Set the output directory
- setEnableDecimalLogicalType(boolean) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Set to true to use
BigDecimal
instead ofByteBuffer
for logical type "decimal" - setErrorSpecificClass(String) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
- setFieldVisibility(SpecificCompiler.FieldVisibility) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Sets the field visibility option.
- setFile(File) - Method in class org.apache.avro.compiler.specific.ProtocolTask
-
Set the schema file.
- setGettersReturnOptional(boolean) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Set to false to not create the getters that return an Optional.
- setOptionalGettersForNullableFieldsOnly(boolean) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Set to true to create the Optional getters only for nullable fields.
- setOutputCharacterEncoding(String) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Sets character encoding for generated java file
- setRecordSpecificClass(String) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
- setStringType(GenericData.StringType) - Method in class org.apache.avro.compiler.specific.ProtocolTask
-
Set the string type.
- setStringType(GenericData.StringType) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Set the Java type to be emitted for string schemas.
- setSuffix(String) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Set the resource file suffix, .java or .xxx
- setTemplateDir(String) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Set the resource directory where templates reside.
- SKIP_SIBLINGS - Enum constant in enum org.apache.avro.compiler.schema.SchemaVisitorAction
-
Skip visiting the siblings of this schema.
- SKIP_SUBTREE - Enum constant in enum org.apache.avro.compiler.schema.SchemaVisitorAction
-
when returned from pre non terminal visit method the children of the non terminal are skipped. afterVisitNonTerminal for the current schema will not be invoked.
- SpecificCompiler - Class in org.apache.avro.compiler.specific
-
Generate specific Java interfaces and classes for protocols and schemas.
- SpecificCompiler(Iterable<Schema>) - Constructor for class org.apache.avro.compiler.specific.SpecificCompiler
- SpecificCompiler(Collection<Schema>) - Constructor for class org.apache.avro.compiler.specific.SpecificCompiler
- SpecificCompiler(Protocol) - Constructor for class org.apache.avro.compiler.specific.SpecificCompiler
- SpecificCompiler(Schema) - Constructor for class org.apache.avro.compiler.specific.SpecificCompiler
- SpecificCompiler.FieldVisibility - Enum in org.apache.avro.compiler.specific
T
- TERMINATE - Enum constant in enum org.apache.avro.compiler.schema.SchemaVisitorAction
-
terminate visit.
- toString() - Method in class org.apache.avro.compiler.schema.CloningVisitor
V
- validateRecordForCompilation(Schema) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
- valueOf(String) - Static method in enum org.apache.avro.compiler.schema.SchemaVisitorAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.avro.compiler.specific.SpecificCompiler.FieldVisibility
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.avro.compiler.schema.SchemaVisitorAction
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.avro.compiler.specific.SpecificCompiler.FieldVisibility
-
Returns an array containing the constants of this enum type, in the order they are declared.
- visit(Schema, SchemaVisitor<T>) - Static method in class org.apache.avro.compiler.schema.Schemas
-
depth first visit.
- visitNonTerminal(Schema) - Method in class org.apache.avro.compiler.schema.CloningVisitor
- visitNonTerminal(Schema) - Method in interface org.apache.avro.compiler.schema.SchemaVisitor
-
Invoked for schema with children before proceeding to visit the children.
- visitTerminal(Schema) - Method in class org.apache.avro.compiler.schema.CloningVisitor
- visitTerminal(Schema) - Method in interface org.apache.avro.compiler.schema.SchemaVisitor
-
Invoked for schemas that do not have "child" schemas (like string, int ...)
All Classes and Interfaces|All Packages|Constant Field Values