- AbstractAvroMojo - Class in org.apache.avro.mojo
-
Base for Avro Compiler Mojos.
- AbstractAvroMojo() - Constructor for class org.apache.avro.mojo.AbstractAvroMojo
-
- add(T) - Method in class org.apache.avro.generic.GenericData.Array
-
- add(int, T) - Method in class org.apache.avro.generic.GenericData.Array
-
- addAlias(String) - Method in class org.apache.avro.Schema
-
If this is a record, enum or fixed, add an alias.
- addAlias(String, String) - Method in class org.apache.avro.Schema
-
If this is a record, enum or fixed, add an alias.
- addAlias(String) - Method in class org.apache.avro.Schema.Field
-
- addCodec(String, CodecFactory) - Static method in class org.apache.avro.file.CodecFactory
-
Adds a new codec implementation.
- addEscapes(String) - Static method in error org.apache.avro.compiler.idl.TokenMgrError
-
Replaces unprintable characters by their escaped (or unicode escaped)
equivalents in the given string
- addFileset(FileSet) - Method in class org.apache.avro.compiler.specific.ProtocolTask
-
Add a fileset.
- addProp(String, String) - Method in class org.apache.avro.JsonProperties
-
Adds a property with the given name name and
value value.
- addProp(String, JsonNode) - Method in class org.apache.avro.JsonProperties
-
Adds a property with the given name name and
value value.
- addProp(String, JsonNode) - Method in class org.apache.avro.Schema
-
- addStringable(Class) - Method in class org.apache.avro.reflect.ReflectData
-
Cause a class to be treated as though it had an
Stringable
annotation.
- addToArray(Object, long, Object) - Method in class org.apache.avro.generic.GenericDatumReader
-
- addToArray(Object, long, Object) - Method in class org.apache.avro.reflect.ReflectDatumReader
-
- addToMap(Object, Object, Object) - Method in class org.apache.avro.generic.GenericDatumReader
-
- addTypes(Map<String, Schema>) - Method in class org.apache.avro.Schema.Parser
-
Adds the provided types to the set of defined, named types known to
this parser.
- adjustBeginLineColumn(int, int) - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
Method to adjust line and column numbers for the start of a token.
- AdjustBuffSize() - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
- adjustments - Variable in class org.apache.avro.io.parsing.Symbol.EnumAdjustAction
-
- advance(Symbol) - Method in class org.apache.avro.io.parsing.Parser
-
Recursively replaces the symbol at the top of the stack with its
production, until the top is a terminal.
- aliases() - Method in class org.apache.avro.Schema.Field
-
Return the defined aliases as an unmodifieable Set.
- aliases(String...) - Method in class org.apache.avro.SchemaBuilder.NamedBuilder
-
configure this type's optional name aliases
- AllowNull() - Constructor for class org.apache.avro.reflect.ReflectData.AllowNull
-
- and() - Method in class org.apache.avro.SchemaBuilder.UnionAccumulator
-
Add an additional type to this union
- AnyIdentifier() - Method in class org.apache.avro.compiler.idl.Idl
-
- append(D) - Method in class org.apache.avro.file.DataFileWriter
-
Append a datum to the file.
- append(List<ByteBuffer>) - Method in class org.apache.avro.util.ByteBufferOutputStream
-
Append a list of ByteBuffers to this stream.
- appendAllFrom(DataFileStream<D>, boolean) - Method in class org.apache.avro.file.DataFileWriter
-
Appends data from another file.
- appendEncoded(ByteBuffer) - Method in class org.apache.avro.file.DataFileWriter
-
Expert: Append a pre-encoded datum to the file.
- appendTo(File) - Method in class org.apache.avro.file.DataFileWriter
-
Open a writer appending to an existing file.
- appendTo(SeekableInput, OutputStream) - Method in class org.apache.avro.file.DataFileWriter
-
Open a writer appending to an existing file.
- AppendWriteException(Exception) - Constructor for exception org.apache.avro.file.DataFileWriter.AppendWriteException
-
- applyAliases(Schema, Schema) - Static method in class org.apache.avro.Schema
-
Rewrite a writer's schema using the aliases from a reader's schema.
- ARRAY - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- Array(int, Schema) - Constructor for class org.apache.avro.generic.GenericData.Array
-
- Array(Schema, Collection<T>) - Constructor for class org.apache.avro.generic.GenericData.Array
-
- array() - Static method in class org.apache.avro.SchemaBuilder
-
Create a builder for an Avro array
This is equivalent to:
- array() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build an Avro array type
- array() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build an Avro array type Example usage:
- array() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build an Avro array type
- ARRAY_END - Static variable in class org.apache.avro.io.parsing.Symbol
-
- ARRAY_START - Static variable in class org.apache.avro.io.parsing.Symbol
-
- ArrayBuilder(SchemaBuilder.Completion<R>, SchemaBuilder.NameContext) - Constructor for class org.apache.avro.SchemaBuilder.ArrayBuilder
-
- arrayDefault(List<V>) - Method in class org.apache.avro.SchemaBuilder.ArrayDefault
-
Completes this field with the default value provided, cannot be null
- arrayNext() - Method in class org.apache.avro.io.BinaryDecoder
-
- arrayNext() - Method in class org.apache.avro.io.Decoder
-
Processes the next block of an array and returns the number of items in
the block and let's the caller
read those items.
- arrayNext() - Method in class org.apache.avro.io.JsonDecoder
-
- arrayNext() - Method in class org.apache.avro.io.ValidatingDecoder
-
- ArrayType() - Method in class org.apache.avro.compiler.idl.Idl
-
- AT - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- AvroAlias - Annotation Type in org.apache.avro.reflect
-
Adds the given name and space as an alias to the schema.
- AvroDefault - Annotation Type in org.apache.avro.reflect
-
Specifies a default value for a field as a JSON string.
- AvroEncode - Annotation Type in org.apache.avro.reflect
-
Expert: Fields with this annotation are encoded using the given custom encoder.
- AvroGenerated - Annotation Type in org.apache.avro.specific
-
Indicates that an annotated class is an Avro generated class.
- AvroIgnore - Annotation Type in org.apache.avro.reflect
-
Marks a field as transient.
- AvroMeta - Annotation Type in org.apache.avro.reflect
-
Adds the given key:Value pair as metadata into the schema,
at the corresponding node.
- AvroName - Annotation Type in org.apache.avro.reflect
-
Sets the avroname for this java field.
- AvroRemoteException - Exception in org.apache.avro
-
Base class for exceptions thrown to client by server.
- AvroRemoteException() - Constructor for exception org.apache.avro.AvroRemoteException
-
- AvroRemoteException(Throwable) - Constructor for exception org.apache.avro.AvroRemoteException
-
- AvroRemoteException(Object) - Constructor for exception org.apache.avro.AvroRemoteException
-
- AvroRemoteException(Object, Throwable) - Constructor for exception org.apache.avro.AvroRemoteException
-
- AvroRuntimeException - Exception in org.apache.avro
-
Base Avro exception.
- AvroRuntimeException(Throwable) - Constructor for exception org.apache.avro.AvroRuntimeException
-
- AvroRuntimeException(String) - Constructor for exception org.apache.avro.AvroRuntimeException
-
- AvroRuntimeException(String, Throwable) - Constructor for exception org.apache.avro.AvroRuntimeException
-
- AvroSchema - Annotation Type in org.apache.avro.reflect
-
Declares that a Java type should have a specified Avro schema, overriding
the normally inferred schema.
- AvroTypeException - Exception in org.apache.avro
-
Thrown when an illegal type is used.
- AvroTypeException(String) - Constructor for exception org.apache.avro.AvroTypeException
-
- AvroTypeException(String, Throwable) - Constructor for exception org.apache.avro.AvroTypeException
-
- backup(int) - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
Retreat.
- BaseFieldTypeBuilder(SchemaBuilder.FieldBuilder<R>, SchemaBuilder.CompletionWrapper) - Constructor for class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
- beginColumn - Variable in class org.apache.avro.compiler.idl.Token
-
The column number of the first character of this Token.
- beginLine - Variable in class org.apache.avro.compiler.idl.Token
-
The line number of the first character of this Token.
- BeginToken() - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
- binaryBlockSize - Variable in class org.apache.avro.io.EncoderFactory
-
- binaryBufferSize - Variable in class org.apache.avro.io.EncoderFactory
-
- BinaryData - Class in org.apache.avro.io
-
Utilities for binary-encoded data.
- BinaryDecoder - Class in org.apache.avro.io
-
- BinaryDecoder() - Constructor for class org.apache.avro.io.BinaryDecoder
-
protected constructor for child classes
- binaryDecoder(InputStream, BinaryDecoder) - Method in class org.apache.avro.io.DecoderFactory
-
Creates or reinitializes a
BinaryDecoder with the input stream
provided as the source of data.
- binaryDecoder(byte[], int, int, BinaryDecoder) - Method in class org.apache.avro.io.DecoderFactory
-
Creates or reinitializes a
BinaryDecoder with the byte array
provided as the source of data.
- binaryDecoder(byte[], BinaryDecoder) - Method in class org.apache.avro.io.DecoderFactory
-
This method is shorthand for
- BinaryEncoder - Class in org.apache.avro.io
-
An abstract
Encoder for Avro's binary encoding.
- BinaryEncoder() - Constructor for class org.apache.avro.io.BinaryEncoder
-
- binaryEncoder(OutputStream, BinaryEncoder) - Method in class org.apache.avro.io.EncoderFactory
-
Creates or reinitializes a
BinaryEncoder with the OutputStream
provided as the destination for written data.
- bldr - Variable in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
- blockFinished() - Method in class org.apache.avro.file.DataFileReader
-
- blockFinished() - Method in class org.apache.avro.file.DataFileStream
-
- BlockingBinaryEncoder - Class in org.apache.avro.io
-
A
BinaryEncoder implementation that writes large arrays and maps as a
sequence of blocks.
- blockingBinaryEncoder(OutputStream, BinaryEncoder) - Method in class org.apache.avro.io.EncoderFactory
-
Creates or reinitializes a
BinaryEncoder with the OutputStream
provided as the destination for written data.
- BOOLEAN - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- BOOLEAN - Static variable in class org.apache.avro.io.parsing.Symbol
-
- booleanBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build a boolean type that can set custom properties.
- booleanBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build a boolean type that can set custom properties.
- booleanBuilder() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build a boolean type that can set custom properties.
- booleanDefault(boolean) - Method in class org.apache.avro.SchemaBuilder.BooleanDefault
-
Completes this field with the default value provided
- booleanType() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
A plain boolean type without custom properties.
- booleanType() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
A plain boolean type without custom properties.
- booleanType() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
A plain boolean type without custom properties.
- bufcolumn - Variable in class org.apache.avro.compiler.idl.JavaCharStream
-
- buffer - Variable in class org.apache.avro.compiler.idl.JavaCharStream
-
- BUFFER_SIZE - Static variable in class org.apache.avro.util.ByteBufferOutputStream
-
- BufferedBinaryEncoder - Class in org.apache.avro.io
-
An
Encoder for Avro's binary encoding.
- bufline - Variable in class org.apache.avro.compiler.idl.JavaCharStream
-
- bufpos - Variable in class org.apache.avro.compiler.idl.JavaCharStream
-
Position in buffer.
- build() - Method in interface org.apache.avro.data.RecordBuilder
-
Constructs a new instance using the values set in the RecordBuilder.
- build() - Method in class org.apache.avro.generic.GenericRecordBuilder
-
- builder() - Static method in class org.apache.avro.SchemaBuilder
-
Create a builder for Avro schemas.
- builder(String) - Static method in class org.apache.avro.SchemaBuilder
-
Create a builder for Avro schemas with a default namespace.
- ByteBufferInputStream - Class in org.apache.avro.util
-
- ByteBufferInputStream(List<ByteBuffer>) - Constructor for class org.apache.avro.util.ByteBufferInputStream
-
- ByteBufferOutputStream - Class in org.apache.avro.util
-
- ByteBufferOutputStream() - Constructor for class org.apache.avro.util.ByteBufferOutputStream
-
- BYTES - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- bytes(byte[]) - Method in class org.apache.avro.generic.GenericData.Fixed
-
- bytes() - Method in class org.apache.avro.generic.GenericData.Fixed
-
- bytes() - Method in interface org.apache.avro.generic.GenericFixed
-
Return the data.
- BYTES - Static variable in class org.apache.avro.io.parsing.Symbol
-
- bytesBuffered() - Method in class org.apache.avro.io.BinaryEncoder
-
Returns the number of bytes currently buffered by this encoder.
- bytesBuffered() - Method in class org.apache.avro.io.BlockingBinaryEncoder
-
- bytesBuffered() - Method in class org.apache.avro.io.BufferedBinaryEncoder
-
- bytesBuffered() - Method in class org.apache.avro.io.DirectBinaryEncoder
-
- bytesBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build a bytes type that can set custom properties.
- bytesBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build a bytes type that can set custom properties.
- bytesBuilder() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build a bytes type that can set custom properties.
- bytesDefault(byte[]) - Method in class org.apache.avro.SchemaBuilder.BytesDefault
-
Completes this field with the default value provided, cannot be null
- bytesDefault(ByteBuffer) - Method in class org.apache.avro.SchemaBuilder.BytesDefault
-
Completes this field with the default value provided, cannot be null
- bytesDefault(String) - Method in class org.apache.avro.SchemaBuilder.BytesDefault
-
Completes this field with the default value provided, cannot be null.
- bytesType() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
A plain bytes type without custom properties.
- bytesType() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
A plain bytes type without custom properties.
- bytesType() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
A plain bytes type without custom properties.
- BZIP2_CODEC - Static variable in class org.apache.avro.file.DataFileConstants
-
- BZip2Codec - Class in org.apache.avro.file
-
Implements bzip2 compression and decompression.
- BZip2Codec() - Constructor for class org.apache.avro.file.BZip2Codec
-
- bzip2Codec() - Static method in class org.apache.avro.file.CodecFactory
-
bzip2 codec.
- CHARACTER_LITERAL - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- charAt(int) - Method in class org.apache.avro.util.Utf8
-
- checkReaderWriterCompatibility(Schema, Schema) - Static method in class org.apache.avro.SchemaCompatibility
-
Validates that the provided reader schema can be used to decode avro data written with the
provided writer schema.
- CLASS_PROP - Static variable in class org.apache.avro.specific.SpecificData
-
- ClassUtils - Class in org.apache.avro.util
-
- clear() - Method in class org.apache.avro.generic.GenericData.Array
-
- clear(String) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Clears the value of the given field.
- clear(Schema.Field) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Clears the value of the given field.
- clear(int) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Clears the value of the given field.
- clear() - Method in class org.apache.avro.util.WeakIdentityHashMap
-
- clearCause() - Method in interface org.apache.avro.data.ErrorBuilder
-
Clears the cause
- clearCause() - Method in class org.apache.avro.specific.SpecificErrorBuilderBase
-
- clearValue() - Method in interface org.apache.avro.data.ErrorBuilder
-
Clears the value
- clearValue() - Method in class org.apache.avro.specific.SpecificErrorBuilderBase
-
- close() - Method in class org.apache.avro.compiler.idl.Idl
-
- close() - Method in class org.apache.avro.file.DataFileReader12
-
Close this reader.
- close() - Method in class org.apache.avro.file.DataFileStream
-
Close this reader.
- close() - Method in class org.apache.avro.file.DataFileWriter
-
Flush and close the file.
- Codec - Class in org.apache.avro.file
-
Interface for Avro-supported compression codecs for data files.
- Codec() - Constructor for class org.apache.avro.file.Codec
-
- CODEC - Static variable in class org.apache.avro.file.DataFileConstants
-
- CodecFactory - Class in org.apache.avro.file
-
Encapsulates the ability to specify and configure a compression codec.
- CodecFactory() - Constructor for class org.apache.avro.file.CodecFactory
-
- COLON - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- column - Variable in class org.apache.avro.compiler.idl.JavaCharStream
-
- COMMA - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- compare(Object, Object, Schema) - Method in class org.apache.avro.generic.GenericData
-
Compare objects according to their schema.
- compare(Object, Object, Schema, boolean) - Method in class org.apache.avro.generic.GenericData
-
Comparison implementation.
- compare(byte[], int, byte[], int, Schema) - Static method in class org.apache.avro.io.BinaryData
-
Compare binary encoded data.
- compare(byte[], int, int, byte[], int, int, Schema) - Static method in class org.apache.avro.io.BinaryData
-
Compare binary encoded data.
- compare(Object, Object, Schema, boolean) - Method in class org.apache.avro.reflect.ReflectData
-
- compare(Object, Object, Schema, boolean) - Method in class org.apache.avro.specific.SpecificData
-
- compareBytes(byte[], int, int, byte[], int, int) - Static method in class org.apache.avro.io.BinaryData
-
Lexicographically compare bytes.
- compareTo(GenericArray<T>) - Method in class org.apache.avro.generic.GenericData.Array
-
- compareTo(GenericEnumSymbol) - Method in class org.apache.avro.generic.GenericData.EnumSymbol
-
- compareTo(GenericData.Fixed) - Method in class org.apache.avro.generic.GenericData.Fixed
-
- compareTo(GenericData.Record) - Method in class org.apache.avro.generic.GenericData.Record
-
- compareTo(SpecificRecord) - Method in class org.apache.avro.specific.SpecificRecordBase
-
- compareTo(Utf8) - Method in class org.apache.avro.util.Utf8
-
- CompilationUnit() - Method in class org.apache.avro.compiler.idl.Idl
-
The input to Idl is a CompilationUnit, which is currently
just a single Protocol.
- compileProtocol(File, File) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates Java interface and classes for a protocol.
- compileProtocol(File[], File) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates Java interface and classes for a number of protocol files.
- compileSchema(File, File) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates Java classes for a schema.
- compileSchema(File[], File) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates Java classes for a number of schema files.
- compileToDestination(File, File) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generate output under dst, unless existing file is newer than src.
- compress(ByteBuffer) - Method in class org.apache.avro.file.BZip2Codec
-
- compress(ByteBuffer) - Method in class org.apache.avro.file.Codec
-
Compresses the input data
- compress(ByteBuffer) - Method in class org.apache.avro.file.XZCodec
-
- configure(InputStream) - Method in class org.apache.avro.io.JsonDecoder
-
Reconfigures this JsonDecoder to use the InputStream provided.
- configure(String) - Method in class org.apache.avro.io.JsonDecoder
-
Reconfigures this JsonDecoder to use the String provided for input.
- configure(OutputStream) - Method in class org.apache.avro.io.JsonEncoder
-
Reconfigures this JsonEncoder to use the output stream provided.
- configure(JsonGenerator) - Method in class org.apache.avro.io.JsonEncoder
-
Reconfigures this JsonEncoder to output to the JsonGenerator provided.
- configure(Decoder) - Method in class org.apache.avro.io.ValidatingDecoder
-
Re-initialize, reading from a new underlying Decoder.
- configure(Encoder) - Method in class org.apache.avro.io.ValidatingEncoder
-
Reconfigures this ValidatingEncoder to wrap the encoder provided.
- configureBlockSize(int) - Method in class org.apache.avro.io.EncoderFactory
-
Configures this factory to construct blocking BinaryEncoders with the
specified block buffer size.
- configureBufferSize(int) - Method in class org.apache.avro.io.EncoderFactory
-
Configures this factory to use the specified buffer size when creating
Encoder instances that buffer their output.
- configureDecoderBufferSize(int) - Method in class org.apache.avro.io.DecoderFactory
-
Configures this factory to use the specified buffer size when creating
Decoder instances that buffer their input.
- containsKey(Object) - Method in class org.apache.avro.util.WeakIdentityHashMap
-
- containsValue(Object) - Method in class org.apache.avro.util.WeakIdentityHashMap
-
- contents - Variable in class org.apache.avro.io.parsing.Symbol.DefaultStartAction
-
- create(Schema, File) - Method in class org.apache.avro.file.DataFileWriter
-
Open a new file for data matching a schema.
- create(Schema, OutputStream) - Method in class org.apache.avro.file.DataFileWriter
-
Open a new file for data matching a schema.
- create(Schema.Type) - Static method in class org.apache.avro.Schema
-
Create a schema for a primitive type.
- createArray(Schema) - Static method in class org.apache.avro.Schema
-
Create an array schema.
- createBinaryDecoder(InputStream, BinaryDecoder) - Method in class org.apache.avro.io.DecoderFactory
-
- createBinaryDecoder(byte[], int, int, BinaryDecoder) - Method in class org.apache.avro.io.DecoderFactory
-
- createBinaryDecoder(byte[], BinaryDecoder) - Method in class org.apache.avro.io.DecoderFactory
-
- createBytes(byte[]) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to create byte arrays from default values.
- createDatumReader(Schema) - Method in class org.apache.avro.generic.GenericData
-
- createDatumReader(Schema, Schema) - Method in class org.apache.avro.generic.GenericData
-
- createDatumReader(Schema) - Method in class org.apache.avro.reflect.ReflectData
-
- createDatumReader(Schema, Schema) - Method in class org.apache.avro.reflect.ReflectData
-
- createDatumReader(Schema) - Method in class org.apache.avro.specific.SpecificData
-
- createDatumReader(Schema, Schema) - Method in class org.apache.avro.specific.SpecificData
-
- createDatumWriter(Schema) - Method in class org.apache.avro.generic.GenericData
-
- createDatumWriter(Schema) - Method in class org.apache.avro.reflect.ReflectData
-
- createDatumWriter(Schema) - Method in class org.apache.avro.specific.SpecificData
-
- createEnum(String, Schema) - Method in class org.apache.avro.generic.GenericData
-
Called to create an enum value.
- createEnum(String, Schema) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to create an enum value.
- createEnum(String, String, String, List<String>) - Static method in class org.apache.avro.Schema
-
Create an enum schema.
- createEnum(String, Schema) - Method in class org.apache.avro.specific.SpecificData
-
- createFieldSchema(Field, Map<String, Schema>) - Method in class org.apache.avro.reflect.ReflectData.AllowNull
-
- createFieldSchema(Field, Map<String, Schema>) - Method in class org.apache.avro.reflect.ReflectData
-
Create a schema for a field.
- createFixed(Object, Schema) - Method in class org.apache.avro.generic.GenericData
-
Called to create an fixed value.
- createFixed(Object, byte[], Schema) - Method in class org.apache.avro.generic.GenericData
-
Called to create an fixed value.
- createFixed(Object, Schema) - Method in class org.apache.avro.generic.GenericDatumReader
-
- createFixed(Object, byte[], Schema) - Method in class org.apache.avro.generic.GenericDatumReader
-
- createFixed(String, String, String, int) - Static method in class org.apache.avro.Schema
-
Create a union schema.
- createFixed(Object, Schema) - Method in class org.apache.avro.specific.SpecificData
-
- createInstance() - Method in class org.apache.avro.file.CodecFactory
-
Creates internal Codec.
- createMap(Schema) - Static method in class org.apache.avro.Schema
-
Create a map schema.
- createMessage(String, String, Schema) - Method in class org.apache.avro.Protocol
-
Deprecated.
- createMessage(String, String, Map<String, T>, Schema) - Method in class org.apache.avro.Protocol
-
Create a one-way message.
- createMessage(String, String, Schema, Schema, Schema) - Method in class org.apache.avro.Protocol
-
Deprecated.
- createMessage(String, String, Map<String, T>, Schema, Schema, Schema) - Method in class org.apache.avro.Protocol
-
Create a two-way message.
- createRecord(List<Schema.Field>) - Static method in class org.apache.avro.Schema
-
Create an anonymous record schema.
- createRecord(String, String, String, boolean) - Static method in class org.apache.avro.Schema
-
Create a named record schema.
- createSchema(Type, Map<String, Schema>) - Method in class org.apache.avro.reflect.ReflectData
-
- createSchema(Type, Map<String, Schema>) - Method in class org.apache.avro.specific.SpecificData
-
Create the schema for a Java type.
- createSetters - Variable in class org.apache.avro.mojo.AbstractAvroMojo
-
Determines whether or not to create setters for the fields of the record.
- createString(String) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to create a string from a default value.
- createString(String) - Method in class org.apache.avro.reflect.ReflectDatumReader
-
- createUnion(List<Schema>) - Static method in class org.apache.avro.Schema
-
Create a union schema.
- curChar - Variable in class org.apache.avro.compiler.idl.IdlTokenManager
-
- currentToken - Variable in exception org.apache.avro.compiler.idl.ParseException
-
This is the last token that has been consumed successfully.
- CustomEncoding<T> - Class in org.apache.avro.reflect
-
Expert: a custom encoder and decoder that writes
an object directly to avro.
- CustomEncoding() - Constructor for class org.apache.avro.reflect.CustomEncoding
-
- DASH - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- data() - Method in class org.apache.avro.data.RecordBuilderBase
-
- DataFileConstants - Class in org.apache.avro.file
-
Constants used in data files.
- DataFileReader<D> - Class in org.apache.avro.file
-
- DataFileReader(File, DatumReader<D>) - Constructor for class org.apache.avro.file.DataFileReader
-
Construct a reader for a file.
- DataFileReader(SeekableInput, DatumReader<D>) - Constructor for class org.apache.avro.file.DataFileReader
-
Construct a reader for a file.
- DataFileReader(SeekableInput, DatumReader<D>, DataFileStream.Header) - Constructor for class org.apache.avro.file.DataFileReader
-
- DataFileReader12<D> - Class in org.apache.avro.file
-
Read files written by Avro version 1.2.
- DataFileReader12(SeekableInput, DatumReader<D>) - Constructor for class org.apache.avro.file.DataFileReader12
-
Construct a reader for a file.
- DataFileStream<D> - Class in org.apache.avro.file
-
- DataFileStream(InputStream, DatumReader<D>) - Constructor for class org.apache.avro.file.DataFileStream
-
Construct a reader for an input stream.
- DataFileStream(DatumReader<D>) - Constructor for class org.apache.avro.file.DataFileStream
-
create an unitialized DataFileStream
- DataFileStream.Header - Class in org.apache.avro.file
-
A handle that can be used to reopen a DataFile without re-reading the
header of the stream.
- DataFileWriter<D> - Class in org.apache.avro.file
-
Stores in a file a sequence of data conforming to a schema.
- DataFileWriter(DatumWriter<D>) - Constructor for class org.apache.avro.file.DataFileWriter
-
Construct a writer, not yet open.
- DataFileWriter.AppendWriteException - Exception in org.apache.avro.file
-
- DateAsLongEncoding - Class in org.apache.avro.reflect
-
This encoder/decoder writes a java.util.Date object as a long to
avro and reads a Date object from long.
- DateAsLongEncoding() - Constructor for class org.apache.avro.reflect.DateAsLongEncoding
-
- DatumReader<D> - Interface in org.apache.avro.io
-
Read data of a schema.
- DatumWriter<D> - Interface in org.apache.avro.io
-
Write data of a schema.
- debugStream - Variable in class org.apache.avro.compiler.idl.IdlTokenManager
-
Debug output.
- DECIMAL_EXPONENT - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- DECIMAL_FLOATING_POINT_LITERAL - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- DECIMAL_LITERAL - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- Decoder - Class in org.apache.avro.io
-
Low-level support for de-serializing Avro values.
- Decoder() - Constructor for class org.apache.avro.io.Decoder
-
- DecoderFactory - Class in org.apache.avro.io
-
A factory for creating and configuring
Decoders.
- DecoderFactory() - Constructor for class org.apache.avro.io.DecoderFactory
-
Constructor for factory instances
- decompress(ByteBuffer) - Method in class org.apache.avro.file.BZip2Codec
-
- decompress(ByteBuffer) - Method in class org.apache.avro.file.Codec
-
Decompress the data
- decompress(ByteBuffer) - Method in class org.apache.avro.file.XZCodec
-
- deepCopy(Schema, T) - Method in class org.apache.avro.generic.GenericData
-
Makes a deep copy of a value given its schema.
- DEFAULT - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
Lexical state.
- DEFAULT_BUFFER_SIZE - Static variable in class org.apache.avro.file.BZip2Codec
-
- DEFAULT_DEFLATE_LEVEL - Static variable in class org.apache.avro.file.CodecFactory
-
- DEFAULT_END_ACTION - Static variable in class org.apache.avro.io.parsing.Symbol
-
- DEFAULT_SYNC_INTERVAL - Static variable in class org.apache.avro.file.DataFileConstants
-
- DEFAULT_XZ_LEVEL - Static variable in class org.apache.avro.file.CodecFactory
-
- defaultFactory() - Static method in class org.apache.avro.io.DecoderFactory
-
- defaultStartAction(byte[]) - Static method in class org.apache.avro.io.parsing.Symbol
-
- DefaultStartAction(byte[]) - Constructor for class org.apache.avro.io.parsing.Symbol.DefaultStartAction
-
Deprecated.
- defaultValue(Schema.Field) - Method in class org.apache.avro.data.RecordBuilderBase
-
Gets the default value of the given field, if any.
- defaultValue() - Method in class org.apache.avro.Schema.Field
-
- DEFLATE_CODEC - Static variable in class org.apache.avro.file.DataFileConstants
-
- deflateCodec(int) - Static method in class org.apache.avro.file.CodecFactory
-
Deflate codec, with specific compression.
- deprecatedFields() - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
- depth() - Method in class org.apache.avro.io.parsing.Parser
-
Returns the depth of the stack.
- depth() - Method in class org.apache.avro.io.ParsingEncoder
-
- directBinaryDecoder(InputStream, BinaryDecoder) - Method in class org.apache.avro.io.DecoderFactory
-
Creates or reinitializes a
BinaryDecoder with the input stream
provided as the source of data.
- DirectBinaryEncoder - Class in org.apache.avro.io
-
An
Encoder for Avro's binary encoding that does not buffer output.
- directBinaryEncoder(OutputStream, BinaryEncoder) - Method in class org.apache.avro.io.EncoderFactory
-
Creates or reinitializes a
BinaryEncoder with the OutputStream
provided as the destination for written data.
- disable_tracing() - Method in class org.apache.avro.compiler.idl.Idl
-
Disable tracing.
- doAction(Symbol, Symbol) - Method in class org.apache.avro.io.JsonDecoder
-
- doAction(Symbol, Symbol) - Method in class org.apache.avro.io.JsonEncoder
-
- doAction(Symbol, Symbol) - Method in interface org.apache.avro.io.parsing.Parser.ActionHandler
-
Handle the action symbol top when the input is
sought to be taken off the stack.
- doAction(Symbol, Symbol) - Method in class org.apache.avro.io.ResolvingDecoder
-
- doAction(Symbol, Symbol) - Method in class org.apache.avro.io.ValidatingDecoder
-
- doAction(Symbol, Symbol) - Method in class org.apache.avro.io.ValidatingEncoder
-
- doc() - Method in class org.apache.avro.Schema.Field
-
Field's documentation within the record, if set.
- doc(String) - Method in class org.apache.avro.SchemaBuilder.NamedBuilder
-
configure this type's optional documentation string
- DOC_COMMENT - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
Lexical state.
- doCompile(File, File) - Method in class org.apache.avro.compiler.specific.ProtocolTask
-
- doCompile(File, File) - Method in class org.apache.avro.compiler.specific.SchemaTask
-
- doCompile(String, File, File) - Method in class org.apache.avro.mojo.AbstractAvroMojo
-
- doCompile(String, File, File) - Method in class org.apache.avro.mojo.IDLProtocolMojo
-
- doCompile(String, File, File) - Method in class org.apache.avro.mojo.ProtocolMojo
-
- doCompile(String, File, File) - Method in class org.apache.avro.mojo.SchemaMojo
-
- Done() - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
Set buffers back to null when finished.
- doReadBytes(byte[], int, int) - Method in class org.apache.avro.io.BinaryDecoder
-
Reads length bytes into bytes starting at start.
- doReadItemCount() - Method in class org.apache.avro.io.BinaryDecoder
-
Returns the number of items to follow in the current array or map.
- doSkipBytes(long) - Method in class org.apache.avro.io.BinaryDecoder
-
- DOT - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- DOUBLE - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- DOUBLE - Static variable in class org.apache.avro.io.parsing.Symbol
-
- doubleBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build a double type that can set custom properties.
- doubleBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build a double type that can set custom properties.
- doubleBuilder() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build a double type that can set custom properties.
- doubleDefault(double) - Method in class org.apache.avro.SchemaBuilder.DoubleDefault
-
Completes this field with the default value provided
- doubleType() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
A plain double type without custom properties.
- doubleType() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
A plain double type without custom properties.
- doubleType() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
A plain double type without custom properties.
- drain() - Method in class org.apache.avro.io.ResolvingDecoder
-
Consume any more data that has been written by the writer but not
needed by the reader so that the the underlying decoder is in proper
shape for the next record.
- ELEMENT_PROP - Static variable in class org.apache.avro.specific.SpecificData
-
- enable_tracing() - Method in class org.apache.avro.compiler.idl.Idl
-
Enable tracing.
- encode(Encoder, Schema, JsonNode) - Static method in class org.apache.avro.io.parsing.ResolvingGrammarGenerator
-
Encodes the given Json node n on to the encoder e
according to the schema s.
- encodeBoolean(boolean, byte[], int) - Static method in class org.apache.avro.io.BinaryData
-
Encode a boolean to the byte array at the given position.
- encodeDouble(double, byte[], int) - Static method in class org.apache.avro.io.BinaryData
-
Encode a double to the byte array at the given position.
- encodeFloat(float, byte[], int) - Static method in class org.apache.avro.io.BinaryData
-
Encode a float to the byte array at the given position.
- encodeInt(int, byte[], int) - Static method in class org.apache.avro.io.BinaryData
-
Encode an integer to the byte array at the given position.
- encodeLong(long, byte[], int) - Static method in class org.apache.avro.io.BinaryData
-
Encode a long to the byte array at the given position.
- Encoder - Class in org.apache.avro.io
-
Low-level support for serializing Avro values.
- Encoder() - Constructor for class org.apache.avro.io.Encoder
-
- EncoderFactory - Class in org.apache.avro.io
-
A factory for creating and configuring
Encoder instances.
- EncoderFactory() - Constructor for class org.apache.avro.io.EncoderFactory
-
- end - Variable in class org.apache.avro.io.parsing.Symbol.Repeater
-
- endBoolean() - Method in class org.apache.avro.SchemaBuilder.BooleanBuilder
-
complete building this type, return control to context
- endBytes() - Method in class org.apache.avro.SchemaBuilder.BytesBuilder
-
complete building this type, return control to context
- endColumn - Variable in class org.apache.avro.compiler.idl.Token
-
The column number of the last character of this Token.
- endDouble() - Method in class org.apache.avro.SchemaBuilder.DoubleBuilder
-
complete building this type, return control to context
- endFloat() - Method in class org.apache.avro.SchemaBuilder.FloatBuilder
-
complete building this type, return control to context
- endInt() - Method in class org.apache.avro.SchemaBuilder.IntBuilder
-
complete building this type, return control to context
- endLine - Variable in class org.apache.avro.compiler.idl.Token
-
The line number of the last character of this Token.
- endLong() - Method in class org.apache.avro.SchemaBuilder.LongBuilder
-
complete building this type, return control to context
- endNull() - Method in class org.apache.avro.SchemaBuilder.NullBuilder
-
complete building this type, return control to context
- endRecord() - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
End adding fields to this record, returning control
to the context that this record builder was created in.
- endString() - Method in class org.apache.avro.SchemaBuilder.StringBldr
-
complete building this type, return control to context
- endUnion() - Method in class org.apache.avro.SchemaBuilder.UnionAccumulator
-
Complete this union
- entrySet() - Method in class org.apache.avro.util.WeakIdentityHashMap
-
- ENUM - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- ENUM - Static variable in class org.apache.avro.io.parsing.Symbol
-
- enumAdjustAction(int, Object[]) - Static method in class org.apache.avro.io.parsing.Symbol
-
- EnumAdjustAction(int, Object[]) - Constructor for class org.apache.avro.io.parsing.Symbol.EnumAdjustAction
-
Deprecated.
- EnumBody() - Method in class org.apache.avro.compiler.idl.Idl
-
- EnumConstant(List<String>) - Method in class org.apache.avro.compiler.idl.Idl
-
- EnumDeclaration() - Method in class org.apache.avro.compiler.idl.Idl
-
- enumDefault(String) - Method in class org.apache.avro.SchemaBuilder.EnumDefault
-
Completes this field with the default value provided, cannot be null
- enumeration(String) - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build an Avro enum type.
- enumeration(String) - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build an Avro enum type.
- enumeration(String) - Static method in class org.apache.avro.SchemaBuilder
-
Create a builder for an Avro enum with the specified name and symbols (values).
- enumeration(String) - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build an Avro enum type.
- enumLabelsAction(List<String>) - Static method in class org.apache.avro.io.parsing.Symbol
-
For JSON.
- EnumLabelsAction(List<String>) - Constructor for class org.apache.avro.io.parsing.Symbol.EnumLabelsAction
-
Deprecated.
- EnumSymbol(Schema, String) - Constructor for class org.apache.avro.generic.GenericData.EnumSymbol
-
- EOF - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
End of File.
- EOL - Static variable in exception org.apache.avro.compiler.idl.ParseException
-
The end of line string for this machine.
- EQUALS - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- equals(Object) - Method in class org.apache.avro.data.RecordBuilderBase
-
- equals(Object) - Method in class org.apache.avro.file.BZip2Codec
-
- equals(Object) - Method in class org.apache.avro.file.Codec
-
Codecs must implement an equals() method.
- equals(Object) - Method in class org.apache.avro.file.XZCodec
-
- equals(Object) - Method in class org.apache.avro.generic.GenericData.EnumSymbol
-
- equals(Object) - Method in class org.apache.avro.generic.GenericData.Fixed
-
- equals(Object) - Method in class org.apache.avro.generic.GenericData.Record
-
- equals(Object) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
- equals(Object) - Method in class org.apache.avro.Protocol
-
- equals(Object) - Method in class org.apache.avro.Protocol.Message
-
- equals(Object) - Method in class org.apache.avro.Schema
-
- equals(Object) - Method in class org.apache.avro.Schema.Field
-
- equals(Object) - Method in class org.apache.avro.SchemaCompatibility.SchemaPairCompatibility
- equals(Object) - Method in exception org.apache.avro.specific.SpecificExceptionBase
-
- equals(Object) - Method in class org.apache.avro.specific.SpecificRecordBase
-
- equals(Object) - Method in class org.apache.avro.util.Utf8
-
- equals(Object) - Method in class org.apache.avro.util.WeakIdentityHashMap
-
- ERROR - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- ErrorBuilder<T> - Interface in org.apache.avro.data
-
Interface for error builders
- ErrorList(List<Schema>) - Method in class org.apache.avro.compiler.idl.Idl
-
- escapeForJavadoc(String) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- excludes - Variable in class org.apache.avro.mojo.AbstractAvroMojo
-
A set of Ant-like exclusion patterns used to prevent certain files from
being processed.
- execute() - Method in class org.apache.avro.compiler.specific.ProtocolTask
-
Run the compiler.
- execute() - Method in class org.apache.avro.mojo.AbstractAvroMojo
-
- execute() - Method in class org.apache.avro.mojo.HelpMojo
- ExpandBuff(boolean) - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
- expectedTokenSequences - Variable in exception org.apache.avro.compiler.idl.ParseException
-
Each entry in this array is an array of integers.
- generate(Schema) - Method in class org.apache.avro.io.parsing.JsonGrammarGenerator
-
Returns the non-terminal that is the start symbol
for the grammar for the grammar for the given schema sc.
- generate(Schema, Map<ValidatingGrammarGenerator.LitS, Symbol>) - Method in class org.apache.avro.io.parsing.JsonGrammarGenerator
-
Returns the non-terminal that is the start symbol
for grammar of the given schema sc.
- generate(Schema, Schema) - Method in class org.apache.avro.io.parsing.ResolvingGrammarGenerator
-
Resolves the writer schema writer and the reader schema
reader and returns the start symbol for the grammar generated.
- generate(Schema, Schema, Map<ValidatingGrammarGenerator.LitS, Symbol>) - Method in class org.apache.avro.io.parsing.ResolvingGrammarGenerator
-
Resolves the writer schema writer and the reader schema
reader and returns the start symbol for the grammar generated.
- generate(Schema) - Method in class org.apache.avro.io.parsing.ValidatingGrammarGenerator
-
Returns the non-terminal that is the start symbol
for the grammar for the given schema sc.
- generate(Schema, Map<ValidatingGrammarGenerator.LitS, Symbol>) - Method in class org.apache.avro.io.parsing.ValidatingGrammarGenerator
-
Returns the non-terminal that is the start symbol
for the grammar for the given schema sc.
- generateClearMethod(Schema, Schema.Field) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates the name of a field "clear" method.
- generateGetMethod(Schema, Schema.Field) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates the name of a field accessor method.
- generateHasMethod(Schema, Schema.Field) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates the name of a field "has" method.
- generateParseException() - Method in class org.apache.avro.compiler.idl.Idl
-
Generate ParseException.
- generateSetMethod(Schema, Schema.Field) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Generates the name of a field mutator method.
- GenericArray<T> - Interface in org.apache.avro.generic
-
Array that permits reuse of contained elements.
- GenericContainer - Interface in org.apache.avro.generic
-
Contains data of other types.
- GenericData - Class in org.apache.avro.generic
-
Utilities for generic Java data.
- GenericData() - Constructor for class org.apache.avro.generic.GenericData
-
For subclasses.
- GenericData(ClassLoader) - Constructor for class org.apache.avro.generic.GenericData
-
For subclasses.
- GenericData.Array<T> - Class in org.apache.avro.generic
-
Default implementation of an array.
- GenericData.EnumSymbol - Class in org.apache.avro.generic
-
- GenericData.Fixed - Class in org.apache.avro.generic
-
- GenericData.Record - Class in org.apache.avro.generic
-
- GenericData.StringType - Enum in org.apache.avro.generic
-
Used to specify the Java type for a string schema.
- GenericDatumReader<D> - Class in org.apache.avro.generic
-
- GenericDatumReader() - Constructor for class org.apache.avro.generic.GenericDatumReader
-
- GenericDatumReader(Schema) - Constructor for class org.apache.avro.generic.GenericDatumReader
-
Construct where the writer's and reader's schemas are the same.
- GenericDatumReader(Schema, Schema) - Constructor for class org.apache.avro.generic.GenericDatumReader
-
Construct given writer's and reader's schema.
- GenericDatumReader(Schema, Schema, GenericData) - Constructor for class org.apache.avro.generic.GenericDatumReader
-
- GenericDatumReader(GenericData) - Constructor for class org.apache.avro.generic.GenericDatumReader
-
- GenericDatumWriter<D> - Class in org.apache.avro.generic
-
- GenericDatumWriter() - Constructor for class org.apache.avro.generic.GenericDatumWriter
-
- GenericDatumWriter(GenericData) - Constructor for class org.apache.avro.generic.GenericDatumWriter
-
- GenericDatumWriter(Schema) - Constructor for class org.apache.avro.generic.GenericDatumWriter
-
- GenericDatumWriter(Schema, GenericData) - Constructor for class org.apache.avro.generic.GenericDatumWriter
-
- GenericEnumSymbol - Interface in org.apache.avro.generic
-
An enum symbol.
- GenericFixed - Interface in org.apache.avro.generic
-
Fixed-size data.
- GenericRecord - Interface in org.apache.avro.generic
-
A generic instance of a record schema.
- GenericRecordBuilder - Class in org.apache.avro.generic
-
A RecordBuilder for generic records.
- GenericRecordBuilder(Schema) - Constructor for class org.apache.avro.generic.GenericRecordBuilder
-
Creates a GenericRecordBuilder for building Record instances.
- GenericRecordBuilder(GenericRecordBuilder) - Constructor for class org.apache.avro.generic.GenericRecordBuilder
-
Creates a GenericRecordBuilder by copying an existing GenericRecordBuilder.
- GenericRecordBuilder(GenericData.Record) - Constructor for class org.apache.avro.generic.GenericRecordBuilder
-
Creates a GenericRecordBuilder by copying an existing record instance.
- get(int) - Method in class org.apache.avro.generic.GenericData.Array
-
- get() - Static method in class org.apache.avro.generic.GenericData
-
Return the singleton instance.
- get(String) - Method in class org.apache.avro.generic.GenericData.Record
-
- get(int) - Method in class org.apache.avro.generic.GenericData.Record
-
- get(String) - Method in interface org.apache.avro.generic.GenericRecord
-
Return the value of a field given its name.
- get(String) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Gets the value of a field.
- get(Schema.Field) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Gets the value of a field.
- get(int) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Gets the value of a field.
- get(int) - Method in interface org.apache.avro.generic.IndexedRecord
-
Return the value of a field given its position in the schema.
- get() - Static method in class org.apache.avro.io.DecoderFactory
-
Returns an immutable static DecoderFactory configured with default settings
All mutating methods throw IllegalArgumentExceptions.
- get() - Static method in class org.apache.avro.io.EncoderFactory
-
Returns an immutable static DecoderFactory with default configuration.
- get(int) - Method in class org.apache.avro.io.parsing.Symbol.Sequence
-
- get() - Static method in class org.apache.avro.reflect.ReflectData.AllowNull
-
Return the singleton instance.
- get() - Static method in class org.apache.avro.reflect.ReflectData
-
Return the singleton instance.
- get() - Static method in class org.apache.avro.specific.SpecificData
-
Return the singleton instance.
- get(int) - Method in exception org.apache.avro.specific.SpecificExceptionBase
-
- get(int) - Method in class org.apache.avro.specific.SpecificRecordBase
-
- get(String) - Method in class org.apache.avro.specific.SpecificRecordBase
-
- get(Object) - Method in class org.apache.avro.util.WeakIdentityHashMap
-
- getAliases() - Method in class org.apache.avro.Schema
-
If this is a record, enum or fixed, return its aliases, if any.
- getArrayElements(Object) - Method in class org.apache.avro.generic.GenericDatumWriter
-
- getArraySize(Object) - Method in class org.apache.avro.generic.GenericDatumWriter
-
- getBeginColumn() - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
- getBeginLine() - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
- getBlockCount() - Method in class org.apache.avro.file.DataFileStream
-
Expert: Return the count of items in the current block.
- getBlockSize() - Method in class org.apache.avro.io.EncoderFactory
-
Returns this factory's configured default block buffer size.
- getBufferList() - Method in class org.apache.avro.util.ByteBufferOutputStream
-
Returns all data written and resets the stream to be empty.
- getBufferSize() - Method in class org.apache.avro.io.EncoderFactory
-
Returns this factory's configured default buffer size.
- getByteLength() - Method in class org.apache.avro.util.Utf8
-
Return length in bytes.
- getBytes() - Method in class org.apache.avro.util.Utf8
-
Return UTF-8 encoded bytes.
- getBytesFor(String) - Static method in class org.apache.avro.util.Utf8
-
Gets the UTF-8 bytes for a String
- getCause() - Method in interface org.apache.avro.data.ErrorBuilder
-
Gets the error cause
- getCause() - Method in class org.apache.avro.specific.SpecificErrorBuilderBase
-
- getClass(Schema) - Method in class org.apache.avro.reflect.ReflectData
-
- getClass(Schema) - Method in class org.apache.avro.specific.SpecificData
-
Return the class that implements a schema, or null if none exists.
- getClassLoader() - Method in class org.apache.avro.generic.GenericData
-
Return the class loader that's used (by subclasses).
- getClassName(Schema) - Static method in class org.apache.avro.specific.SpecificData
-
Returns the Java class name indicated by a schema's name and namespace.
- getColumn() - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
Deprecated.
- getConfiguredBufferSize() - Method in class org.apache.avro.io.DecoderFactory
-
Returns this factory's configured preferred buffer size.
- getData() - Method in class org.apache.avro.generic.GenericDatumReader
-
- getData() - Method in class org.apache.avro.generic.GenericDatumWriter
-
- getDefaultValue(Schema.Field) - Method in class org.apache.avro.generic.GenericData
-
Gets the default value of the given field, if any.
- getDescription() - Method in class org.apache.avro.SchemaCompatibility.SchemaPairCompatibility
-
Gets a human readable description of this validation result.
- getDoc() - Method in class org.apache.avro.Protocol
-
Doc string for this protocol.
- getDoc() - Method in class org.apache.avro.Protocol.Message
-
- getDoc() - Method in class org.apache.avro.Schema
-
If this is a record, enum, or fixed, returns its docstring,
if available.
- getElementType() - Method in class org.apache.avro.Schema
-
If this is an array, returns its element type.
- getEndColumn() - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
Get end column.
- getEndLine() - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
Get end line.
- getEnumOrdinal(String) - Method in class org.apache.avro.Schema
-
If this is an enum, return a symbol's ordinal value.
- getEnumSchema(Object) - Method in class org.apache.avro.generic.GenericData
-
Called to obtain the schema of a enum.
- getEnumSchema(Object) - Method in class org.apache.avro.specific.SpecificData
-
- getEnumSymbols() - Method in class org.apache.avro.Schema
-
If this is an enum, return its symbols.
- getErrors() - Method in class org.apache.avro.Protocol.Message
-
Errors that might be thrown.
- getExpected() - Method in class org.apache.avro.generic.GenericDatumReader
-
Get the reader's schema.
- getField(Object, String, int) - Method in class org.apache.avro.generic.GenericData
-
- getField(Object, String, int, Object) - Method in class org.apache.avro.generic.GenericData
-
- getField(Object, String, int) - Method in class org.apache.avro.reflect.ReflectData
-
- getField(Object, String, int, Object) - Method in class org.apache.avro.reflect.ReflectData
-
- getField(String) - Method in class org.apache.avro.Schema
-
If this is a record, returns the Field with the
given name fieldName.
- getFields() - Method in class org.apache.avro.Schema
-
If this is a record, returns the fields in it.
- getFieldVisibility() - Method in class org.apache.avro.mojo.AbstractAvroMojo
-
- getFixedSchema(Object) - Method in class org.apache.avro.generic.GenericData
-
Called to obtain the schema of a fixed.
- getFixedSize() - Method in class org.apache.avro.Schema
-
If this is fixed, returns its size.
- getFullName() - Method in class org.apache.avro.Schema
-
If this is a record, enum or fixed, returns its namespace-qualified name,
otherwise returns the name of the primitive type.
- getHeader() - Method in class org.apache.avro.file.DataFileStream
-
A handle that can be used to reopen this stream without rereading the
head.
- GetImage() - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
- getIncludes() - Method in class org.apache.avro.mojo.AbstractAvroMojo
-
- getIncludes() - Method in class org.apache.avro.mojo.IDLProtocolMojo
-
- getIncludes() - Method in class org.apache.avro.mojo.ProtocolMojo
-
- getIncludes() - Method in class org.apache.avro.mojo.SchemaMojo
-
- getIndexNamed(String) - Method in class org.apache.avro.Schema
-
If this is a union, return the branch with the provided full name.
- getJsonProp(String) - Method in class org.apache.avro.JsonProperties
-
Returns the value of the named property in this schema.
- getJsonProps() - Method in class org.apache.avro.JsonProperties
-
Return the defined properties as an unmodifieable Map.
- getLabel(int) - Method in class org.apache.avro.io.parsing.Symbol.Alternative
-
- getLabel(int) - Method in class org.apache.avro.io.parsing.Symbol.EnumLabelsAction
-
- getLength() - Method in class org.apache.avro.util.Utf8
-
- getLine() - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
Deprecated.
- getMapEntries(Object) - Method in class org.apache.avro.generic.GenericDatumWriter
-
- getMapSize(Object) - Method in class org.apache.avro.generic.GenericDatumWriter
-
- getMD5() - Method in class org.apache.avro.Protocol
-
Return the MD5 hash of the text of this protocol.
- getMessage() - Method in error org.apache.avro.compiler.idl.TokenMgrError
-
You can also modify the body of this method to customize your error messages.
- getMessages() - Method in class org.apache.avro.Protocol
-
The messages of this protocol.
- getMeta(String) - Method in class org.apache.avro.file.DataFileReader12
-
Return the value of a metadata property.
- getMeta(String) - Method in class org.apache.avro.file.DataFileStream
-
Return the value of a metadata property.
- getMetaKeys() - Method in class org.apache.avro.file.DataFileStream
-
Return the list of keys in the metadata
- getMetaLong(String) - Method in class org.apache.avro.file.DataFileReader12
-
Return the value of a metadata property.
- getMetaLong(String) - Method in class org.apache.avro.file.DataFileStream
-
Return the value of a metadata property.
- getMetaString(String) - Method in class org.apache.avro.file.DataFileReader12
-
Return the value of a metadata property.
- getMetaString(String) - Method in class org.apache.avro.file.DataFileStream
-
Return the value of a metadata property.
- getName() - Method in class org.apache.avro.file.BZip2Codec
-
- getName() - Method in class org.apache.avro.file.Codec
-
Name of the codec; written to the file's metadata.
- getName() - Method in class org.apache.avro.file.XZCodec
-
- getName() - Method in class org.apache.avro.Protocol
-
The name of this protocol.
- getName() - Method in class org.apache.avro.Protocol.Message
-
The name of this message.
- getName() - Method in class org.apache.avro.Schema
-
If this is a record, enum or fixed, returns its name, otherwise the name
of the primitive type.
- getName() - Method in enum org.apache.avro.Schema.Type
-
- getNamespace() - Method in class org.apache.avro.Protocol
-
The namespace of this protocol.
- getNamespace() - Method in class org.apache.avro.Schema
-
If this is a record, enum or fixed, returns its namespace, if any.
- getNextToken() - Method in class org.apache.avro.compiler.idl.Idl
-
Get the next Token.
- getNextToken() - Method in class org.apache.avro.compiler.idl.IdlTokenManager
-
Get the next Token.
- getProp(String) - Method in class org.apache.avro.JsonProperties
-
Returns the value of the named, string-valued property in this schema.
- getProps() - Method in class org.apache.avro.JsonProperties
-
Deprecated.
- getProtocol(Class) - Method in class org.apache.avro.reflect.ReflectData
-
Return the protocol for a Java interface.
- getProtocol(Class) - Method in class org.apache.avro.specific.SpecificData
-
Return the protocol for a Java interface.
- getReader() - Method in class org.apache.avro.SchemaCompatibility.SchemaPairCompatibility
-
Gets the reader schema that was validated.
- getRecordSchema(Object) - Method in class org.apache.avro.generic.GenericData
-
Called to obtain the schema of a record.
- getRecordSchema(Object) - Method in class org.apache.avro.reflect.ReflectData
-
- getRecordState(Object, Schema) - Method in class org.apache.avro.generic.GenericData
-
- getRecordState(Object, Schema) - Method in class org.apache.avro.reflect.ReflectData
-
- getRequest() - Method in class org.apache.avro.Protocol.Message
-
The parameters of this message.
- getResolver(Schema, Schema) - Method in class org.apache.avro.generic.GenericDatumReader
-
Gets a resolving decoder for use by this GenericDatumReader.
- getResponse() - Method in class org.apache.avro.Protocol.Message
-
The returned data.
- getSchema() - Method in class org.apache.avro.file.DataFileReader12
-
Return the schema used in this file.
- getSchema() - Method in class org.apache.avro.file.DataFileStream
-
Return the schema used in this file.
- getSchema() - Method in interface org.apache.avro.file.FileReader
-
Return the schema for data in this file.
- getSchema() - Method in interface org.apache.avro.generic.GenericContainer
-
The schema of this instance.
- getSchema() - Method in class org.apache.avro.generic.GenericData.Array
-
- getSchema() - Method in class org.apache.avro.generic.GenericData.EnumSymbol
-
- getSchema() - Method in class org.apache.avro.generic.GenericData.Fixed
-
- getSchema() - Method in class org.apache.avro.generic.GenericData.Record
-
- getSchema() - Method in class org.apache.avro.generic.GenericDatumReader
-
Return the writer's schema.
- getSchema() - Method in class org.apache.avro.reflect.CustomEncoding
-
- getSchema(Type) - Method in class org.apache.avro.specific.SpecificData
-
Find the schema for a Java type.
- getSchema() - Method in exception org.apache.avro.specific.SpecificExceptionBase
-
- getSchema() - Method in class org.apache.avro.specific.SpecificRecordBase
-
- getSchemaName(Object) - Method in class org.apache.avro.generic.GenericData
-
Return the schema full name for a datum.
- getSchemaName(Object) - Method in class org.apache.avro.specific.SpecificData
-
- getSpecificData() - Method in class org.apache.avro.specific.SpecificDatumReader
-
- getSpecificData() - Method in class org.apache.avro.specific.SpecificDatumWriter
-
Returns the
SpecificData implementation used by this writer.
- getStringType() - Method in class org.apache.avro.compiler.specific.ProtocolTask
-
Get the string type.
- GetSuffix(int) - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
- getSymbol(int) - Method in class org.apache.avro.io.parsing.Symbol.Alternative
-
- getTabSize() - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
- getTestIncludes() - Method in class org.apache.avro.mojo.AbstractAvroMojo
-
- getTestIncludes() - Method in class org.apache.avro.mojo.IDLProtocolMojo
-
- getTestIncludes() - Method in class org.apache.avro.mojo.ProtocolMojo
-
- getTestIncludes() - Method in class org.apache.avro.mojo.SchemaMojo
-
- getToken(int) - Method in class org.apache.avro.compiler.idl.Idl
-
Get the specific Token.
- getType(String) - Method in class org.apache.avro.Protocol
-
Returns the named type.
- getType() - Method in class org.apache.avro.Schema
-
Return the type of this schema.
- getType() - Method in class org.apache.avro.SchemaCompatibility.SchemaPairCompatibility
-
Gets the type of this result.
- getTypes() - Method in class org.apache.avro.Protocol
-
The types of this protocol.
- getTypes() - Method in class org.apache.avro.Schema
-
If this is a union, returns its types.
- getTypes() - Method in class org.apache.avro.Schema.Parser
-
Returns the set of defined, named types known to this parser.
- getUnionSchema() - Method in exception org.apache.avro.UnresolvedUnionException
-
- getUnresolvedDatum() - Method in exception org.apache.avro.UnresolvedUnionException
-
- getValidate() - Method in class org.apache.avro.Schema.Parser
-
True iff names are validated.
- getValue() - Method in exception org.apache.avro.AvroRemoteException
-
- getValue() - Method in class org.apache.avro.compiler.idl.Token
-
An optional attribute value of the Token.
- getValue() - Method in interface org.apache.avro.data.ErrorBuilder
-
Gets the value
- getValue() - Method in class org.apache.avro.specific.SpecificErrorBuilderBase
-
- getValueType() - Method in class org.apache.avro.Schema
-
If this is a map, returns its value type.
- getWriter() - Method in class org.apache.avro.SchemaCompatibility.SchemaPairCompatibility
-
Gets the writer schema that was validated.
- GT - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- Identifier() - Method in class org.apache.avro.compiler.idl.Idl
-
- IDENTIFIER - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- Idl - Class in org.apache.avro.compiler.idl
-
Grammar to parse a higher-level language into an Avro Schema.
- Idl(File) - Constructor for class org.apache.avro.compiler.idl.Idl
-
- Idl(File, ClassLoader) - Constructor for class org.apache.avro.compiler.idl.Idl
-
- Idl(InputStream) - Constructor for class org.apache.avro.compiler.idl.Idl
-
Constructor with InputStream.
- Idl(InputStream, String) - Constructor for class org.apache.avro.compiler.idl.Idl
-
Constructor with InputStream and supplied encoding
- Idl(Reader) - Constructor for class org.apache.avro.compiler.idl.Idl
-
Constructor.
- Idl(IdlTokenManager) - Constructor for class org.apache.avro.compiler.idl.Idl
-
Constructor with generated Token Manager.
- IDL - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- IdlConstants - Interface in org.apache.avro.compiler.idl
-
Token literal values and constants.
- IDLProtocolMojo - Class in org.apache.avro.mojo
-
Generate Java classes and interfaces from AvroIDL files (.avdl)
- IDLProtocolMojo() - Constructor for class org.apache.avro.mojo.IDLProtocolMojo
-
- IdlTokenManager - Class in org.apache.avro.compiler.idl
-
Token Manager.
- IdlTokenManager(JavaCharStream) - Constructor for class org.apache.avro.compiler.idl.IdlTokenManager
-
Constructor.
- IdlTokenManager(JavaCharStream, int) - Constructor for class org.apache.avro.compiler.idl.IdlTokenManager
-
Constructor.
- image - Variable in class org.apache.avro.compiler.idl.Token
-
The string image of the token.
- IMPORT - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- ImportIdl() - Method in class org.apache.avro.compiler.idl.Idl
-
- ImportProtocol() - Method in class org.apache.avro.compiler.idl.Idl
-
- imports - Variable in class org.apache.avro.mojo.AbstractAvroMojo
-
A list of files or directories that should be compiled first thus making
them importable by subsequently compiled schemas.
- ImportSchema() - Method in class org.apache.avro.compiler.idl.Idl
-
- in - Variable in class org.apache.avro.io.ValidatingDecoder
-
- inBuf - Variable in class org.apache.avro.compiler.idl.JavaCharStream
-
- IndexedRecord - Interface in org.apache.avro.generic
-
A record implementation that permits field access by integer index.
- induce(Object) - Method in class org.apache.avro.generic.GenericData
-
Create a schema given an example datum.
- init(RuntimeServices) - Method in class org.apache.avro.compiler.specific.SpecificCompiler.Slf4jLogChute
-
- input_stream - Variable in class org.apache.avro.compiler.idl.IdlTokenManager
-
- inputStream - Variable in class org.apache.avro.compiler.idl.JavaCharStream
-
- inputStream() - Method in class org.apache.avro.io.BinaryDecoder
-
Returns an
InputStream that is aware of any buffering that
may occur in this BinaryDecoder.
- instanceOf(Schema, Object) - Method in class org.apache.avro.generic.GenericData
-
- INT - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- INT - Static variable in class org.apache.avro.io.parsing.Symbol
-
- intBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build an int type that can set custom properties.
- intBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build an int type that can set custom properties.
- intBuilder() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build an int type that can set custom properties.
- intCheckAction(int) - Static method in class org.apache.avro.io.parsing.Symbol
-
- IntCheckAction(int) - Constructor for class org.apache.avro.io.parsing.Symbol.IntCheckAction
-
Deprecated.
- intDefault(int) - Method in class org.apache.avro.SchemaBuilder.IntDefault
-
Completes this field with the default value provided
- INTEGER_LITERAL - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- intType() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
A plain int type without custom properties.
- intType() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
A plain int type without custom properties.
- intType() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
A plain int type without custom properties.
- INVALID_LEXICAL_STATE - Static variable in error org.apache.avro.compiler.idl.TokenMgrError
-
Tried to change to an invalid lexical state.
- isArray(Object) - Method in class org.apache.avro.generic.GenericData
-
- isArray(Object) - Method in class org.apache.avro.reflect.ReflectData
-
- isBoolean(Object) - Method in class org.apache.avro.generic.GenericData
-
- isBytes(Object) - Method in class org.apache.avro.generic.GenericData
-
- isBytes(Object) - Method in class org.apache.avro.reflect.ReflectData
-
- isCreateSetters() - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
- isDouble(Object) - Method in class org.apache.avro.generic.GenericData
-
- isEmpty - Variable in class org.apache.avro.io.JsonEncoder
-
Has anything been written into the collections?
- isEmpty() - Method in class org.apache.avro.util.WeakIdentityHashMap
-
- isEnd() - Method in class org.apache.avro.io.BinaryDecoder
-
Returns true if the current BinaryDecoder is at the end of its source data and
cannot read any further without throwing an EOFException or other
IOException.
- isEnum(Object) - Method in class org.apache.avro.generic.GenericData
-
- isEnum(Object) - Method in class org.apache.avro.specific.SpecificData
-
- isError() - Method in class org.apache.avro.Schema
-
Returns true if this record is an error type.
- isFixed(Object) - Method in class org.apache.avro.generic.GenericData
-
- isFloat(Object) - Method in class org.apache.avro.generic.GenericData
-
- isFlushOnEveryBlock() - Method in class org.apache.avro.file.DataFileWriter
-
- isInteger(Object) - Method in class org.apache.avro.generic.GenericData
-
- isLevelEnabled(int) - Method in class org.apache.avro.compiler.specific.SpecificCompiler.Slf4jLogChute
-
- isLong(Object) - Method in class org.apache.avro.generic.GenericData
-
- isMap(Object) - Method in class org.apache.avro.generic.GenericData
-
- isOneWay() - Method in class org.apache.avro.Protocol.Message
-
Returns true if this is a one-way message, with no response or errors.
- isRecord(Object) - Method in class org.apache.avro.generic.GenericData
-
- isRecord(Object) - Method in class org.apache.avro.reflect.ReflectData
-
- isReservedMeta(String) - Static method in class org.apache.avro.file.DataFileWriter
-
- isString(Object) - Method in class org.apache.avro.generic.GenericData
-
- isStringable(Class<?>) - Method in class org.apache.avro.reflect.ReflectData
-
- isStringable(Class<?>) - Method in class org.apache.avro.specific.SpecificData
-
True iff a class should be serialized with toString().
- isTrailing - Variable in class org.apache.avro.io.parsing.Symbol.ImplicitAction
-
Set to true if and only if this implicit action is
a trailing action.
- isUnboxedJavaTypeNullable(Schema) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Tests whether an unboxed Java type can be set to null
- isValidValue(Schema.Field, Object) - Static method in class org.apache.avro.data.RecordBuilderBase
-
Tests whether a value is valid for a specified field.
- ITEM_END - Static variable in class org.apache.avro.io.parsing.Symbol
-
- items() - Method in class org.apache.avro.SchemaBuilder.ArrayBuilder
-
Return a type builder for configuring the array's nested items schema.
- items(Schema) - Method in class org.apache.avro.SchemaBuilder.ArrayBuilder
-
Complete configuration of this array, setting the schema of the array
items to the schema provided.
- iterator() - Method in class org.apache.avro.file.DataFileReader12
-
- iterator() - Method in class org.apache.avro.file.DataFileStream
-
Returns an iterator over entries in this file.
- iterator() - Method in class org.apache.avro.generic.GenericData.Array
-
- iterator() - Method in class org.apache.avro.io.parsing.Symbol.Sequence
-
- name() - Method in class org.apache.avro.Schema.Field
-
- name(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Add a field with the given name.
- NamedBuilder(SchemaBuilder.NameContext, String) - Constructor for class org.apache.avro.SchemaBuilder.NamedBuilder
-
- NamedSchemaDeclaration(Map<String, JsonNode>) - Method in class org.apache.avro.compiler.idl.Idl
-
- names - Variable in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
- namespace(String) - Method in class org.apache.avro.SchemaBuilder.NamespacedBuilder
-
Set the namespace of this type.
- NamespacedBuilder(SchemaBuilder.Completion<R>, SchemaBuilder.NameContext, String) - Constructor for class org.apache.avro.SchemaBuilder.NamespacedBuilder
-
- newArray(Object, int, Schema) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to create new array instances.
- newArray(Object, int, Schema) - Method in class org.apache.avro.reflect.ReflectDatumReader
-
- newInstance(Class, Schema) - Static method in class org.apache.avro.specific.SpecificData
-
Create an instance of a class.
- newInstanceFromString(Class, String) - Method in class org.apache.avro.generic.GenericDatumReader
-
- newMap(Object, int) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to create new array instances.
- newRecord(Object, Schema) - Method in class org.apache.avro.generic.GenericData
-
Called to create new record instances.
- newRecord(Object, Schema) - Method in class org.apache.avro.generic.GenericDatumReader
-
- newRecord(Object, Schema) - Method in class org.apache.avro.specific.SpecificData
-
- newToken(int, String) - Static method in class org.apache.avro.compiler.idl.Token
-
Returns a new Token object, by default.
- newToken(int) - Static method in class org.apache.avro.compiler.idl.Token
-
- next - Variable in class org.apache.avro.compiler.idl.Token
-
A reference to the next regular (non-special) token from the input
stream.
- next() - Method in class org.apache.avro.file.DataFileReader12
-
- next(D) - Method in class org.apache.avro.file.DataFileReader12
-
Return the next datum in the file.
- next() - Method in class org.apache.avro.file.DataFileStream
-
Read the next datum in the file.
- next(D) - Method in class org.apache.avro.file.DataFileStream
-
Read the next datum from the file.
- next(D) - Method in interface org.apache.avro.file.FileReader
-
Read the next datum from the file.
- nextBlock() - Method in class org.apache.avro.file.DataFileStream
-
Expert: Return the next block in the file, as binary-encoded data.
- nextCharBuf - Variable in class org.apache.avro.compiler.idl.JavaCharStream
-
- nextCharInd - Variable in class org.apache.avro.compiler.idl.JavaCharStream
-
- noDefault() - Method in class org.apache.avro.SchemaBuilder.FieldDefault
-
Completes this field with no default value
- noDefault() - Method in class org.apache.avro.SchemaBuilder.GenericDefault
-
Do not use a default value for this field.
- npe(NullPointerException, String) - Method in class org.apache.avro.generic.GenericDatumWriter
-
Helper method for adding a message to an NPE.
- NULL - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- NULL - Static variable in class org.apache.avro.io.parsing.Symbol
-
The terminal symbols for the grammar.
- NULL - Static variable in annotation type org.apache.avro.reflect.AvroAlias
-
- NULL_CODEC - Static variable in class org.apache.avro.file.DataFileConstants
-
- Nullable - Annotation Type in org.apache.avro.reflect
-
Declares that null is a valid value for a Java type.
- nullable() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
A shortcut for building a union of a type and null.
- nullable() - Method in class org.apache.avro.SchemaBuilder.FieldTypeBuilder
-
A shortcut for building a union of a type and null, with an optional default
value of the non-null type.
- nullable() - Static method in class org.apache.avro.SchemaBuilder
-
Create a builder for a union of a type and null.
- nullable() - Method in class org.apache.avro.SchemaBuilder.TypeBuilder
-
- nullableBoolean(String, boolean) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a nullable boolean field: a union of boolean and
null with an boolean default.
- nullableBytes(String, byte[]) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a nullable bytes field: a union of bytes and null
with a bytes default.
This is equivalent to:
- nullableDouble(String, double) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a nullable double field: a union of double and null
with a double default.
This is equivalent to:
- nullableFloat(String, float) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a nullable float field: a union of float and null
with a float default.
This is equivalent to:
- nullableInt(String, int) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a nullable int field: a union of int and null
with an int default.
This is equivalent to:
- nullableLong(String, long) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a nullable long field: a union of long and null
with a long default.
This is equivalent to:
- nullableString(String, String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a nullable string field: a union of string and null
with a string default.
This is equivalent to:
- nullBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build a null type that can set custom properties.
- nullBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build a null type that can set custom properties.
- nullBuilder() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build a null type that can set custom properties.
- nullCodec() - Static method in class org.apache.avro.file.CodecFactory
-
Null codec, for no compression.
- nullDefault() - Method in class org.apache.avro.SchemaBuilder.NullDefault
-
Completes this field with a default value of null
- nullToEmpty(String) - Static method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Utility for template use.
- nullType() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
A plain null type without custom properties.
- nullType() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
A plain null type without custom properties.
- nullType() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
A plain null type without custom properties.
- parse(File) - Static method in class org.apache.avro.Protocol
-
Read a protocol from a Json file.
- parse(InputStream) - Static method in class org.apache.avro.Protocol
-
Read a protocol from a Json stream.
- parse(String, String...) - Static method in class org.apache.avro.Protocol
-
Read a protocol from one or more json strings
- parse(String) - Static method in class org.apache.avro.Protocol
-
Read a protocol from a Json string.
- parse(File) - Static method in class org.apache.avro.Schema
-
- parse(InputStream) - Static method in class org.apache.avro.Schema
-
- parse(String) - Static method in class org.apache.avro.Schema
-
- parse(String, boolean) - Static method in class org.apache.avro.Schema
-
- parse(File) - Method in class org.apache.avro.Schema.Parser
-
Parse a schema from the provided file.
- parse(InputStream) - Method in class org.apache.avro.Schema.Parser
-
Parse a schema from the provided stream.
- parse(String, String...) - Method in class org.apache.avro.Schema.Parser
-
Read a schema from one or more json strings
- parse(String) - Method in class org.apache.avro.Schema.Parser
-
Parse a schema from the provided string.
- ParseException - Exception in org.apache.avro.compiler.idl
-
This exception is thrown when parse errors are encountered.
- ParseException(Token, int[][], String[]) - Constructor for exception org.apache.avro.compiler.idl.ParseException
-
This constructor is used by the method "generateParseException"
in the generated parser.
- ParseException() - Constructor for exception org.apache.avro.compiler.idl.ParseException
-
The following constructors are for use by you for whatever
purpose you can think of.
- ParseException(String) - Constructor for exception org.apache.avro.compiler.idl.ParseException
-
Constructor with message.
- parseJson(String) - Static method in class org.apache.avro.Schema
-
Parses a string as Json.
- Parser - Class in org.apache.avro.io.parsing
-
Parser is the class that maintains the stack for parsing.
- Parser(Symbol, Parser.ActionHandler) - Constructor for class org.apache.avro.io.parsing.Parser
-
- parser - Variable in class org.apache.avro.io.ParsingDecoder
-
- parser - Variable in class org.apache.avro.io.ValidatingEncoder
-
- Parser() - Constructor for class org.apache.avro.Schema.Parser
-
- Parser.ActionHandler - Interface in org.apache.avro.io.parsing
-
The parser knows how to handle the terminal and non-terminal
symbols.
- ParsingDecoder - Class in org.apache.avro.io
-
- ParsingDecoder(Symbol) - Constructor for class org.apache.avro.io.ParsingDecoder
-
- ParsingEncoder - Class in org.apache.avro.io
-
- ParsingEncoder() - Constructor for class org.apache.avro.io.ParsingEncoder
-
- parsingFingerprint(String, Schema) - Static method in class org.apache.avro.SchemaNormalization
-
- parsingFingerprint64(Schema) - Static method in class org.apache.avro.SchemaNormalization
-
- PART_LETTER - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- pastSync(long) - Method in class org.apache.avro.file.DataFileReader
-
Return true if past the next synchronization point after a position.
- pastSync(long) - Method in class org.apache.avro.file.DataFileReader12
-
Return true if past the next synchronization point after a position.
- pastSync(long) - Method in interface org.apache.avro.file.FileReader
-
Return true if past the next synchronization point after a position.
- peek() - Method in interface org.apache.avro.generic.GenericArray
-
The current content of the location where
List.add(Object) would next
store an element, if any.
- peek() - Method in class org.apache.avro.generic.GenericData.Array
-
- peekArray(Object) - Method in class org.apache.avro.generic.GenericDatumReader
-
- peekArray(Object) - Method in class org.apache.avro.reflect.ReflectDatumReader
-
- pop() - Method in class org.apache.avro.io.ParsingEncoder
-
- popSymbol() - Method in class org.apache.avro.io.parsing.Parser
-
Pops and returns the top symbol from the stack.
- pos - Variable in class org.apache.avro.io.parsing.Parser
-
- pos - Variable in class org.apache.avro.io.ParsingEncoder
-
- pos() - Method in class org.apache.avro.Schema.Field
-
The position of this field within the record.
- prepend(List<ByteBuffer>) - Method in class org.apache.avro.util.ByteBufferOutputStream
-
Prepend a list of ByteBuffers to this stream.
- prevCharIsCR - Variable in class org.apache.avro.compiler.idl.JavaCharStream
-
- prevCharIsLF - Variable in class org.apache.avro.compiler.idl.JavaCharStream
-
- previousSync() - Method in class org.apache.avro.file.DataFileReader
-
Return the last synchronization point before our current position.
- PrimitiveType() - Method in class org.apache.avro.compiler.idl.Idl
-
- privateFields() - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
- processImplicitActions() - Method in class org.apache.avro.io.parsing.Parser
-
Performs any implicit actions at the top the stack, expanding any
production (other than the root) that may be encountered.
- processTrailingImplicitActions() - Method in class org.apache.avro.io.parsing.Parser
-
Performs any "trailing" implicit actions at the top the stack.
- production - Variable in class org.apache.avro.io.parsing.Symbol
-
The production for this symbol.
- project - Variable in class org.apache.avro.mojo.AbstractAvroMojo
-
The current Maven project.
- prop(String, String) - Method in class org.apache.avro.SchemaBuilder.PropBuilder
-
Set name-value pair properties for this type or field.
- PropBuilder() - Constructor for class org.apache.avro.SchemaBuilder.PropBuilder
-
- PropertyName() - Method in class org.apache.avro.compiler.idl.Idl
-
- props() - Method in class org.apache.avro.Schema.Field
-
Deprecated.
- PROTOCOL - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- Protocol - Class in org.apache.avro
-
A set of messages forming an application protocol.
- Protocol(String, String, String) - Constructor for class org.apache.avro.Protocol
-
- Protocol(String, String) - Constructor for class org.apache.avro.Protocol
-
- Protocol.Message - Class in org.apache.avro
-
A protocol message.
- ProtocolBody(Protocol) - Method in class org.apache.avro.compiler.idl.Idl
-
- ProtocolDeclaration() - Method in class org.apache.avro.compiler.idl.Idl
-
- ProtocolMojo - Class in org.apache.avro.mojo
-
Generate Java classes and interfaces from Avro protocol files (.avpr)
- ProtocolMojo() - Constructor for class org.apache.avro.mojo.ProtocolMojo
-
- 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
-
- publicFields() - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
- push() - Method in class org.apache.avro.io.ParsingEncoder
-
Push a new collection on to the stack.
- pushProduction(Symbol) - Method in class org.apache.avro.io.parsing.Parser
-
Pushes the production for the given symbol sym.
- pushSymbol(Symbol) - Method in class org.apache.avro.io.parsing.Parser
-
Pushes sym on to the stack.
- put(String, Object) - Method in class org.apache.avro.generic.GenericData.Record
-
- put(int, Object) - Method in class org.apache.avro.generic.GenericData.Record
-
- put(String, Object) - Method in interface org.apache.avro.generic.GenericRecord
-
Set the value of a field given its name.
- put(int, Object) - Method in interface org.apache.avro.generic.IndexedRecord
-
Set the value of a field given its position in the schema.
- put(int, Object) - Method in exception org.apache.avro.specific.SpecificExceptionBase
-
- put(int, Object) - Method in class org.apache.avro.specific.SpecificRecordBase
-
- put(String, Object) - Method in class org.apache.avro.specific.SpecificRecordBase
-
- put(K, V) - Method in class org.apache.avro.util.WeakIdentityHashMap
-
- putAll(Map) - Method in class org.apache.avro.util.WeakIdentityHashMap
-
- RBRACE - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- RBRACK - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- read(Decoder) - Static method in class org.apache.avro.data.Json
-
Read Json data from Avro data.
- read(JsonNode, Decoder) - Method in class org.apache.avro.data.Json.Reader
-
- read(byte[], int, int) - Method in interface org.apache.avro.file.SeekableInput
-
- read(D, Decoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
- read(Object, Schema, ResolvingDecoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read data.
- read(D, Decoder) - Method in interface org.apache.avro.io.DatumReader
-
Read a datum.
- read(Object, Decoder) - Method in class org.apache.avro.reflect.CustomEncoding
-
- read(Object, Decoder) - Method in class org.apache.avro.reflect.DateAsLongEncoding
-
- read() - Method in class org.apache.avro.util.ByteBufferInputStream
-
- read(byte[], int, int) - Method in class org.apache.avro.util.ByteBufferInputStream
-
- readArray(Object, Schema, ResolvingDecoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read an array instance.
- readArray(Object, Schema, ResolvingDecoder) - Method in class org.apache.avro.reflect.ReflectDatumReader
-
- readArrayStart() - Method in class org.apache.avro.io.BinaryDecoder
-
- readArrayStart() - Method in class org.apache.avro.io.Decoder
-
Reads and returns the size of the first block of an array.
- readArrayStart() - Method in class org.apache.avro.io.JsonDecoder
-
- readArrayStart() - Method in class org.apache.avro.io.ValidatingDecoder
-
- readBoolean() - Method in class org.apache.avro.io.BinaryDecoder
-
- readBoolean() - Method in class org.apache.avro.io.Decoder
-
- readBoolean() - Method in class org.apache.avro.io.JsonDecoder
-
- readBoolean() - Method in class org.apache.avro.io.ValidatingDecoder
-
- readBuffer(int) - Method in class org.apache.avro.util.ByteBufferInputStream
-
Read a buffer from the input without copying, if possible.
- ReadByte() - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
- readBytes(Object, Schema, Decoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read byte arrays.
- readBytes(Object, Decoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read byte arrays.
- readBytes(ByteBuffer) - Method in class org.apache.avro.io.BinaryDecoder
-
- readBytes(ByteBuffer) - Method in class org.apache.avro.io.Decoder
-
- readBytes(ByteBuffer) - Method in class org.apache.avro.io.JsonDecoder
-
- readBytes(ByteBuffer) - Method in class org.apache.avro.io.ValidatingDecoder
-
- readBytes(Object, Schema, Decoder) - Method in class org.apache.avro.reflect.ReflectDatumReader
-
- readChar() - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
Read a character.
- readDouble() - Method in class org.apache.avro.io.BinaryDecoder
-
- readDouble() - Method in class org.apache.avro.io.Decoder
-
- readDouble() - Method in class org.apache.avro.io.JsonDecoder
-
- readDouble() - Method in class org.apache.avro.io.ResolvingDecoder
-
- readDouble() - Method in class org.apache.avro.io.ValidatingDecoder
-
- readEnum(Schema, Decoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read an enum value.
- readEnum() - Method in class org.apache.avro.io.BinaryDecoder
-
- readEnum() - Method in class org.apache.avro.io.Decoder
-
Reads an enumeration.
- readEnum() - Method in class org.apache.avro.io.JsonDecoder
-
- readEnum() - Method in class org.apache.avro.io.ResolvingDecoder
-
- readEnum() - Method in class org.apache.avro.io.ValidatingDecoder
-
- Reader() - Constructor for class org.apache.avro.data.Json.Reader
-
- reader - Variable in class org.apache.avro.io.parsing.Symbol.ResolvingAction
-
- READER_WRITER_COMPATIBLE_MESSAGE - Static variable in class org.apache.avro.SchemaCompatibility
-
Message to annotate reader/writer schema pairs that are compatible.
- readField(Object, Schema.Field, Object, ResolvingDecoder, Object) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read a single field of a record.
- readField(Object, Schema.Field, Object, ResolvingDecoder, Object) - Method in class org.apache.avro.reflect.ReflectDatumReader
-
- readFieldOrder() - Method in class org.apache.avro.io.ResolvingDecoder
-
Returns the actual order in which the reader's fields will be
returned to the reader.
- readFixed(Object, Schema, Decoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read a fixed value.
- readFixed(byte[], int, int) - Method in class org.apache.avro.io.BinaryDecoder
-
- readFixed(byte[], int, int) - Method in class org.apache.avro.io.Decoder
-
Reads fixed sized binary object.
- readFixed(byte[]) - Method in class org.apache.avro.io.Decoder
-
A shorthand for readFixed(bytes, 0, bytes.length).
- readFixed(byte[], int, int) - Method in class org.apache.avro.io.JsonDecoder
-
- readFixed(byte[], int, int) - Method in class org.apache.avro.io.ValidatingDecoder
-
- readFloat() - Method in class org.apache.avro.io.BinaryDecoder
-
- readFloat() - Method in class org.apache.avro.io.Decoder
-
- readFloat() - Method in class org.apache.avro.io.JsonDecoder
-
- readFloat() - Method in class org.apache.avro.io.ResolvingDecoder
-
- readFloat() - Method in class org.apache.avro.io.ValidatingDecoder
-
- readIndex() - Method in class org.apache.avro.io.BinaryDecoder
-
- readIndex() - Method in class org.apache.avro.io.Decoder
-
- readIndex() - Method in class org.apache.avro.io.JsonDecoder
-
- readIndex() - Method in class org.apache.avro.io.ResolvingDecoder
-
- readIndex() - Method in class org.apache.avro.io.ValidatingDecoder
-
- readInt(Object, Schema, Decoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read integers.
- readInt() - Method in class org.apache.avro.io.BinaryDecoder
-
- readInt() - Method in class org.apache.avro.io.Decoder
-
- readInt() - Method in class org.apache.avro.io.JsonDecoder
-
- readInt() - Method in class org.apache.avro.io.ValidatingDecoder
-
- readInt(Object, Schema, Decoder) - Method in class org.apache.avro.reflect.ReflectDatumReader
-
- readLong() - Method in class org.apache.avro.io.BinaryDecoder
-
- readLong() - Method in class org.apache.avro.io.Decoder
-
- readLong() - Method in class org.apache.avro.io.JsonDecoder
-
- readLong() - Method in class org.apache.avro.io.ResolvingDecoder
-
- readLong() - Method in class org.apache.avro.io.ValidatingDecoder
-
- readMap(Object, Schema, ResolvingDecoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read a map instance.
- readMapKey(Object, Schema, Decoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
- readMapStart() - Method in class org.apache.avro.io.BinaryDecoder
-
- readMapStart() - Method in class org.apache.avro.io.Decoder
-
Reads and returns the size of the next block of map-entries.
- readMapStart() - Method in class org.apache.avro.io.JsonDecoder
-
- readMapStart() - Method in class org.apache.avro.io.ValidatingDecoder
-
- readNull() - Method in class org.apache.avro.io.BinaryDecoder
-
- readNull() - Method in class org.apache.avro.io.Decoder
-
"Reads" a null value.
- readNull() - Method in class org.apache.avro.io.JsonDecoder
-
- readNull() - Method in class org.apache.avro.io.ValidatingDecoder
-
- readRecord(Object, Schema, ResolvingDecoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read a record instance.
- readString(Object, Schema, Decoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read strings.
- readString(Object, Decoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read strings.
- readString(Utf8) - Method in class org.apache.avro.io.BinaryDecoder
-
- readString() - Method in class org.apache.avro.io.BinaryDecoder
-
- readString(Utf8) - Method in class org.apache.avro.io.Decoder
-
- readString() - Method in class org.apache.avro.io.Decoder
-
- readString(Utf8) - Method in class org.apache.avro.io.JsonDecoder
-
- readString() - Method in class org.apache.avro.io.JsonDecoder
-
- readString(Utf8) - Method in class org.apache.avro.io.ValidatingDecoder
-
- readString() - Method in class org.apache.avro.io.ValidatingDecoder
-
- readString(Object, Decoder) - Method in class org.apache.avro.reflect.ReflectDatumReader
-
- RECORD - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- Record(Schema) - Constructor for class org.apache.avro.generic.GenericData.Record
-
- Record(GenericData.Record, boolean) - Constructor for class org.apache.avro.generic.GenericData.Record
-
- record(String) - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build an Avro record type.
- record(String) - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build an Avro record type.
- record(String) - Static method in class org.apache.avro.SchemaBuilder
-
Create a builder for an Avro record with the specified name.
- record(String) - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build an Avro record type.
- RECORD_END - Static variable in class org.apache.avro.io.parsing.Symbol
-
- RECORD_START - Static variable in class org.apache.avro.io.parsing.Symbol
-
- RecordBuilder<T> - Interface in org.apache.avro.data
-
Interface for record builders
- RecordBuilderBase<T extends IndexedRecord> - Class in org.apache.avro.data
-
Abstract base class for RecordBuilder implementations.
- RecordBuilderBase(Schema, GenericData) - Constructor for class org.apache.avro.data.RecordBuilderBase
-
Creates a RecordBuilderBase for building records of the given type.
- RecordBuilderBase(RecordBuilderBase<T>, GenericData) - Constructor for class org.apache.avro.data.RecordBuilderBase
-
RecordBuilderBase copy constructor.
- RecordDeclaration() - Method in class org.apache.avro.compiler.idl.Idl
-
- recordDefault(GenericRecord) - Method in class org.apache.avro.SchemaBuilder.RecordDefault
-
Completes this field with the default value provided, cannot be null
- ReferenceType() - Method in class org.apache.avro.compiler.idl.Idl
-
A reference to some other existing type
- ReflectData - Class in org.apache.avro.reflect
-
Utilities to use existing Java classes and interfaces via reflection.
- ReflectData() - Constructor for class org.apache.avro.reflect.ReflectData
-
For subclasses.
- ReflectData(ClassLoader) - Constructor for class org.apache.avro.reflect.ReflectData
-
Construct with a particular classloader.
- ReflectData.AllowNull - Class in org.apache.avro.reflect
-
ReflectData implementation that permits null field values.
- ReflectDatumReader<T> - Class in org.apache.avro.reflect
-
- ReflectDatumReader() - Constructor for class org.apache.avro.reflect.ReflectDatumReader
-
- ReflectDatumReader(Class<T>) - Constructor for class org.apache.avro.reflect.ReflectDatumReader
-
Construct for reading instances of a class.
- ReflectDatumReader(Schema) - Constructor for class org.apache.avro.reflect.ReflectDatumReader
-
Construct where the writer's and reader's schemas are the same.
- ReflectDatumReader(Schema, Schema) - Constructor for class org.apache.avro.reflect.ReflectDatumReader
-
Construct given writer's and reader's schema.
- ReflectDatumReader(Schema, Schema, ReflectData) - Constructor for class org.apache.avro.reflect.ReflectDatumReader
-
Construct given writer's and reader's schema and the data model.
- ReflectDatumReader(ReflectData) - Constructor for class org.apache.avro.reflect.ReflectDatumReader
-
- ReflectDatumWriter<T> - Class in org.apache.avro.reflect
-
- ReflectDatumWriter() - Constructor for class org.apache.avro.reflect.ReflectDatumWriter
-
- ReflectDatumWriter(Class<T>) - Constructor for class org.apache.avro.reflect.ReflectDatumWriter
-
- ReflectDatumWriter(Class<T>, ReflectData) - Constructor for class org.apache.avro.reflect.ReflectDatumWriter
-
- ReflectDatumWriter(Schema) - Constructor for class org.apache.avro.reflect.ReflectDatumWriter
-
- ReflectDatumWriter(Schema, ReflectData) - Constructor for class org.apache.avro.reflect.ReflectDatumWriter
-
- ReflectDatumWriter(ReflectData) - Constructor for class org.apache.avro.reflect.ReflectDatumWriter
-
- ReInit(InputStream) - Method in class org.apache.avro.compiler.idl.Idl
-
Reinitialise.
- ReInit(InputStream, String) - Method in class org.apache.avro.compiler.idl.Idl
-
Reinitialise.
- ReInit(Reader) - Method in class org.apache.avro.compiler.idl.Idl
-
Reinitialise.
- ReInit(IdlTokenManager) - Method in class org.apache.avro.compiler.idl.Idl
-
Reinitialise.
- ReInit(JavaCharStream) - Method in class org.apache.avro.compiler.idl.IdlTokenManager
-
Reinitialise parser.
- ReInit(JavaCharStream, int) - Method in class org.apache.avro.compiler.idl.IdlTokenManager
-
Reinitialise parser.
- ReInit(Reader, int, int, int) - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
Reinitialise.
- ReInit(Reader, int, int) - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
Reinitialise.
- ReInit(Reader) - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
Reinitialise.
- ReInit(InputStream, String, int, int, int) - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
Reinitialise.
- ReInit(InputStream, int, int, int) - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
Reinitialise.
- ReInit(InputStream, String, int, int) - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
Reinitialise.
- ReInit(InputStream, int, int) - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
Reinitialise.
- ReInit(InputStream, String) - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
Reinitialise.
- ReInit(InputStream) - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
Reinitialise.
- remove() - Method in class org.apache.avro.file.DataFileReader12
-
- remove() - Method in class org.apache.avro.file.DataFileStream
-
Not supported.
- remove(int) - Method in class org.apache.avro.generic.GenericData.Array
-
- remove(Object) - Method in class org.apache.avro.util.WeakIdentityHashMap
-
- requiredBoolean(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a boolean field with the given name and no default.
- requiredBytes(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a bytes field with the given name and no default.
- requiredDouble(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a double field with the given name and no default.
- requiredFloat(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a float field with the given name and no default.
- requiredInt(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating an int field with the given name and no default.
- requiredLong(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a long field with the given name and no default.
- requiredString(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a string field with the given name and no default.
- reset() - Method in class org.apache.avro.io.parsing.Parser
-
- reset() - Method in class org.apache.avro.util.ByteBufferOutputStream
-
- resolve(Schema, Schema) - Static method in class org.apache.avro.io.ResolvingDecoder
-
- resolveUnion(Schema, Object) - Method in class org.apache.avro.generic.GenericData
-
Return the index for a datum within a union.
- resolveUnion(Schema, Object) - Method in class org.apache.avro.generic.GenericDatumWriter
-
Called to find the index for a datum within a union.
- resolvingDecoder(Schema, Schema, Decoder) - Method in class org.apache.avro.io.DecoderFactory
-
- ResolvingDecoder - Class in org.apache.avro.io
-
Decoder that performs type-resolution between the reader's and
writer's schemas.
- ResolvingGrammarGenerator - Class in org.apache.avro.io.parsing
-
The class that generates a resolving grammar to resolve between two
schemas.
- ResolvingGrammarGenerator() - Constructor for class org.apache.avro.io.parsing.ResolvingGrammarGenerator
-
- ResultType() - Method in class org.apache.avro.compiler.idl.Idl
-
Result types are like other types, except we provide "void" as
an alias of "null"
- reverse() - Method in interface org.apache.avro.generic.GenericArray
-
Reverses the order of the elements in this array.
- reverse() - Method in class org.apache.avro.generic.GenericData.Array
-
- rindex - Variable in class org.apache.avro.io.parsing.Symbol.FieldAdjustAction
-
- rindex - Variable in class org.apache.avro.io.parsing.Symbol.UnionAdjustAction
-
- RPAREN - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- SCHEMA - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- SCHEMA - Static variable in class org.apache.avro.data.Json
-
The schema for Json data.
- schema() - Method in class org.apache.avro.data.RecordBuilderBase
-
- SCHEMA - Static variable in class org.apache.avro.file.DataFileConstants
-
- schema - Variable in class org.apache.avro.reflect.CustomEncoding
-
- Schema - Class in org.apache.avro
-
An abstract data type.
- schema() - Method in class org.apache.avro.Schema.Field
-
- Schema.Field - Class in org.apache.avro
-
A field within a record.
- Schema.Field.Order - Enum in org.apache.avro
-
How values of this field should be ordered when sorting records.
- Schema.Parser - Class in org.apache.avro
-
A parser for JSON-format schemas.
- Schema.Type - Enum in org.apache.avro
-
The type of a schema.
- SchemaBuilder - Class in org.apache.avro
-
A fluent interface for building
Schema instances.
- SchemaBuilder.ArrayBuilder<R> - Class in org.apache.avro
-
Builds an Avro Array type with optional properties.
- SchemaBuilder.ArrayDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.BaseFieldTypeBuilder<R> - Class in org.apache.avro
-
A special Builder for Record fields.
- SchemaBuilder.BaseTypeBuilder<R> - Class in org.apache.avro
-
A common API for building types within a context.
- SchemaBuilder.BooleanBuilder<R> - Class in org.apache.avro
-
Builds an Avro boolean type with optional properties.
- SchemaBuilder.BooleanDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.BytesBuilder<R> - Class in org.apache.avro
-
Builds an Avro bytes type with optional properties.
- SchemaBuilder.BytesDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.DoubleBuilder<R> - Class in org.apache.avro
-
Builds an Avro double type with optional properties.
- SchemaBuilder.DoubleDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.EnumBuilder<R> - Class in org.apache.avro
-
Builds an Avro Enum type with optional properties, namespace, doc, and
aliases.
- SchemaBuilder.EnumDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.FieldAssembler<R> - Class in org.apache.avro
-
- SchemaBuilder.FieldBuilder<R> - Class in org.apache.avro
-
- SchemaBuilder.FieldDefault<R,S extends SchemaBuilder.FieldDefault<R,S>> - Class in org.apache.avro
-
Abstract base class for field defaults.
- SchemaBuilder.FieldTypeBuilder<R> - Class in org.apache.avro
-
- SchemaBuilder.FixedBuilder<R> - Class in org.apache.avro
-
Builds an Avro Fixed type with optional properties, namespace, doc, and
aliases.
- SchemaBuilder.FixedDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.FloatBuilder<R> - Class in org.apache.avro
-
Builds an Avro float type with optional properties.
- SchemaBuilder.FloatDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.GenericDefault<R> - Class in org.apache.avro
-
- SchemaBuilder.IntBuilder<R> - Class in org.apache.avro
-
Builds an Avro int type with optional properties.
- SchemaBuilder.IntDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.LongBuilder<R> - Class in org.apache.avro
-
Builds an Avro long type with optional properties.
- SchemaBuilder.LongDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.MapBuilder<R> - Class in org.apache.avro
-
Builds an Avro Map type with optional properties.
- SchemaBuilder.MapDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.NamedBuilder<S extends SchemaBuilder.NamedBuilder<S>> - Class in org.apache.avro
-
An abstract type that provides builder methods for configuring the name,
doc, and aliases of all Avro types that have names (fields, Fixed, Record,
and Enum).
- SchemaBuilder.NamespacedBuilder<R,S extends SchemaBuilder.NamespacedBuilder<R,S>> - Class in org.apache.avro
-
An abstract type that provides builder methods for configuring the
namespace for all Avro types that have namespaces (Fixed, Record, and
Enum).
- SchemaBuilder.NullBuilder<R> - Class in org.apache.avro
-
Builds an Avro null type with optional properties.
- SchemaBuilder.NullDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.PropBuilder<S extends SchemaBuilder.PropBuilder<S>> - Class in org.apache.avro
-
An abstract builder for all Avro types.
- SchemaBuilder.RecordBuilder<R> - Class in org.apache.avro
-
- SchemaBuilder.RecordDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.StringBldr<R> - Class in org.apache.avro
-
Builds an Avro string type with optional properties.
- SchemaBuilder.StringDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.TypeBuilder<R> - Class in org.apache.avro
-
A Builder for creating any Avro schema type.
- SchemaBuilder.UnionAccumulator<R> - Class in org.apache.avro
-
Accumulates all of the types in a union.
- SchemaBuilder.UnionFieldTypeBuilder<R> - Class in org.apache.avro
-
Builder for a union field.
- SchemaBuilderException - Exception in org.apache.avro
-
Thrown for errors building schemas.
- SchemaBuilderException(Throwable) - Constructor for exception org.apache.avro.SchemaBuilderException
-
- SchemaBuilderException(String) - Constructor for exception org.apache.avro.SchemaBuilderException
-
- SchemaCompatibility - Class in org.apache.avro
-
Evaluate the compatibility between a reader schema and a writer schema.
- SchemaCompatibility.SchemaCompatibilityType - Enum in org.apache.avro
-
Identifies the type of a schema compatibility result.
- SchemaCompatibility.SchemaPairCompatibility - Class in org.apache.avro
-
Provides information about the compatibility of a single reader and writer schema pair.
- SchemaMojo - Class in org.apache.avro.mojo
-
Generate Java classes from Avro schema files (.avsc)
- SchemaMojo() - Constructor for class org.apache.avro.mojo.SchemaMojo
-
- schemaNameEquals(Schema, Schema) - Static method in class org.apache.avro.SchemaCompatibility
-
Tests the equality of two Avro named schemas.
- SchemaNormalization - Class in org.apache.avro
-
- SchemaPairCompatibility(SchemaCompatibility.SchemaCompatibilityType, Schema, Schema, String) - Constructor for class org.apache.avro.SchemaCompatibility.SchemaPairCompatibility
-
Constructs a new instance.
- SchemaParseException - Exception in org.apache.avro
-
Thrown for errors parsing schemas and protocols.
- SchemaParseException(Throwable) - Constructor for exception org.apache.avro.SchemaParseException
-
- SchemaParseException(String) - Constructor for exception org.apache.avro.SchemaParseException
-
- SchemaProperty(Map<String, JsonNode>) - Method in class org.apache.avro.compiler.idl.Idl
-
- 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
-
- seek(long) - Method in class org.apache.avro.file.DataFileReader
-
- seek(long) - Method in class org.apache.avro.file.DataFileReader12
-
- seek(long) - Method in class org.apache.avro.file.SeekableByteArrayInput
-
- seek(long) - Method in class org.apache.avro.file.SeekableFileInput
-
- seek(long) - Method in interface org.apache.avro.file.SeekableInput
-
Set the position for the next
read().
- SeekableByteArrayInput - Class in org.apache.avro.file
-
- SeekableByteArrayInput(byte[]) - Constructor for class org.apache.avro.file.SeekableByteArrayInput
-
- SeekableFileInput - Class in org.apache.avro.file
-
- SeekableFileInput(File) - Constructor for class org.apache.avro.file.SeekableFileInput
-
- SeekableFileInput(FileDescriptor) - Constructor for class org.apache.avro.file.SeekableFileInput
-
- SeekableInput - Interface in org.apache.avro.file
-
An InputStream that supports seek and tell.
- self() - Method in class org.apache.avro.SchemaBuilder.ArrayBuilder
-
- self() - Method in class org.apache.avro.SchemaBuilder.BooleanBuilder
-
- self() - Method in class org.apache.avro.SchemaBuilder.BytesBuilder
-
- self() - Method in class org.apache.avro.SchemaBuilder.DoubleBuilder
-
- self() - Method in class org.apache.avro.SchemaBuilder.EnumBuilder
-
- self() - Method in class org.apache.avro.SchemaBuilder.FieldBuilder
-
- self() - Method in class org.apache.avro.SchemaBuilder.FixedBuilder
-
- self() - Method in class org.apache.avro.SchemaBuilder.FloatBuilder
-
- self() - Method in class org.apache.avro.SchemaBuilder.IntBuilder
-
- self() - Method in class org.apache.avro.SchemaBuilder.LongBuilder
-
- self() - Method in class org.apache.avro.SchemaBuilder.MapBuilder
-
- self() - Method in class org.apache.avro.SchemaBuilder.NullBuilder
-
- self() - Method in class org.apache.avro.SchemaBuilder.PropBuilder
-
a self-type for chaining builder subclasses.
- self() - Method in class org.apache.avro.SchemaBuilder.RecordBuilder
-
- self() - Method in class org.apache.avro.SchemaBuilder.StringBldr
-
- SEMICOLON - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- set(int, T) - Method in class org.apache.avro.generic.GenericData.Array
-
- set(String, Object) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Sets the value of a field.
- set(Schema.Field, Object) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Sets the value of a field.
- set(int, Object) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Sets the value of a field.
- set(String) - Method in class org.apache.avro.util.Utf8
-
Set to the contents of a String.
- setByteLength(int) - Method in class org.apache.avro.util.Utf8
-
Set length in bytes.
- setCause(Throwable) - Method in interface org.apache.avro.data.ErrorBuilder
-
Sets the error cause
- setCause(Throwable) - Method in class org.apache.avro.specific.SpecificErrorBuilderBase
-
- setCodec(CodecFactory) - Method in class org.apache.avro.file.DataFileWriter
-
Configures this writer to use the given codec.
- 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.
- setDebugStream(PrintStream) - Method in class org.apache.avro.compiler.idl.IdlTokenManager
-
Set debug output.
- setDestdir(File) - Method in class org.apache.avro.compiler.specific.ProtocolTask
-
Set the output directory
- setExpected(Schema) - Method in class org.apache.avro.generic.GenericDatumReader
-
Set the reader's schema.
- setField(Object, String, int, Object) - Method in class org.apache.avro.generic.GenericData
-
- setField(Object, String, int, Object, Object) - Method in class org.apache.avro.generic.GenericData
-
- setField(Object, String, int, Object) - Method in class org.apache.avro.reflect.ReflectData
-
- setField(Object, String, int, Object, Object) - Method in class org.apache.avro.reflect.ReflectData
-
- setFields(List<Schema.Field>) - Method in class org.apache.avro.Schema
-
If this is a record, set its fields.
- 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.
- setFlushOnEveryBlock(boolean) - Method in class org.apache.avro.file.DataFileWriter
-
Set whether this writer should flush the block to the stream every time
a sync marker is written.
- setItemCount(long) - Method in class org.apache.avro.io.BinaryEncoder
-
- setItemCount(long) - Method in class org.apache.avro.io.BlockingBinaryEncoder
-
- setItemCount(long) - Method in class org.apache.avro.io.Encoder
-
Call this method before writing a batch of items in an array or a map.
- setItemCount(long) - Method in class org.apache.avro.io.ParsingEncoder
-
- setItemCount(long) - Method in class org.apache.avro.io.ValidatingEncoder
-
- setLength(int) - Method in class org.apache.avro.util.Utf8
-
- setMeta(String, byte[]) - Method in class org.apache.avro.file.DataFileWriter
-
Set a metadata property.
- setMeta(String, String) - Method in class org.apache.avro.file.DataFileWriter
-
Set a metadata property.
- setMeta(String, long) - Method in class org.apache.avro.file.DataFileWriter
-
Set a metadata property.
- setSchema(Schema) - Method in class org.apache.avro.data.Json.Reader
-
- setSchema(Schema) - Method in class org.apache.avro.data.Json.Writer
-
- setSchema(Schema) - Method in class org.apache.avro.generic.GenericData.Fixed
-
- setSchema(Schema) - Method in class org.apache.avro.generic.GenericDatumReader
-
- setSchema(Schema) - Method in class org.apache.avro.generic.GenericDatumWriter
-
- setSchema(Schema) - Method in interface org.apache.avro.io.DatumReader
-
Set the writer's schema.
- setSchema(Schema) - Method in interface org.apache.avro.io.DatumWriter
-
Set the schema.
- setSchema(Schema) - Method in class org.apache.avro.specific.SpecificDatumReader
-
- 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.
- setStringType(Schema, GenericData.StringType) - Static method in class org.apache.avro.generic.GenericData
-
Set the Java type to be used when reading this schema.
- setSyncInterval(int) - Method in class org.apache.avro.file.DataFileWriter
-
Set the synchronization interval for this file, in bytes.
- setTabSize(int) - Method in class org.apache.avro.compiler.idl.JavaCharStream
-
- setTemplateDir(String) - Method in class org.apache.avro.compiler.specific.SpecificCompiler
-
Set the resource directory where templates reside.
- setTypes(Collection<Schema>) - Method in class org.apache.avro.Protocol
-
Set the types of this protocol.
- setValidate(boolean) - Method in class org.apache.avro.Schema.Parser
-
Enable or disable name validation.
- setValue(Object) - Method in interface org.apache.avro.data.ErrorBuilder
-
Sets the value
- setValue(Object) - Method in class org.apache.avro.specific.SpecificErrorBuilderBase
-
- SINGLE_LINE_COMMENT - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- size() - Method in class org.apache.avro.generic.GenericData.Array
-
- size() - Method in class org.apache.avro.io.parsing.Symbol.Alternative
-
- size - Variable in class org.apache.avro.io.parsing.Symbol.IntCheckAction
-
- size() - Method in class org.apache.avro.io.parsing.Symbol.Sequence
-
- size(int) - Method in class org.apache.avro.SchemaBuilder.FixedBuilder
-
Configure this fixed type's size, and end its configuration.
- size() - Method in class org.apache.avro.util.WeakIdentityHashMap
-
- skip(Schema, Decoder) - Static method in class org.apache.avro.generic.GenericDatumReader
-
Skip an instance of a schema.
- skipAction() - Method in interface org.apache.avro.io.parsing.SkipParser.SkipHandler
-
Skips the action at the top of the stack.
- skipAction(Symbol) - Static method in class org.apache.avro.io.parsing.Symbol
-
- SkipAction(Symbol) - Constructor for class org.apache.avro.io.parsing.Symbol.SkipAction
-
Deprecated.
- skipAction() - Method in class org.apache.avro.io.ParsingDecoder
-
- skipAction() - Method in class org.apache.avro.io.ResolvingDecoder
-
- skipArray() - Method in class org.apache.avro.io.BinaryDecoder
-
- skipArray() - Method in class org.apache.avro.io.Decoder
-
Used for quickly skipping through an array.
- skipArray() - Method in class org.apache.avro.io.JsonDecoder
-
- skipArray() - Method in class org.apache.avro.io.ValidatingDecoder
-
- skipBytes() - Method in class org.apache.avro.io.BinaryDecoder
-
- skipBytes() - Method in class org.apache.avro.io.Decoder
-
- skipBytes() - Method in class org.apache.avro.io.JsonDecoder
-
- skipBytes() - Method in class org.apache.avro.io.ValidatingDecoder
-
- skipFixed(int) - Method in class org.apache.avro.io.BinaryDecoder
-
- skipFixed(int) - Method in class org.apache.avro.io.Decoder
-
Discards fixed sized binary object.
- skipFixed(int) - Method in class org.apache.avro.io.JsonDecoder
-
- skipFixed() - Method in class org.apache.avro.io.JsonDecoder
-
- skipFixed() - Method in class org.apache.avro.io.ParsingDecoder
-
- skipFixed(int) - Method in class org.apache.avro.io.ValidatingDecoder
-
- skipFixed() - Method in class org.apache.avro.io.ValidatingDecoder
-
- skipLong(byte[], int) - Static method in class org.apache.avro.io.BinaryData
-
Skip a binary-encoded long, returning the position after it.
- skipMap() - Method in class org.apache.avro.io.BinaryDecoder
-
- skipMap() - Method in class org.apache.avro.io.Decoder
-
- skipMap() - Method in class org.apache.avro.io.JsonDecoder
-
- skipMap() - Method in class org.apache.avro.io.ValidatingDecoder
-
- SkipParser - Class in org.apache.avro.io.parsing
-
A parser that capable of skipping as well read and write.
- SkipParser(Symbol, Parser.ActionHandler, SkipParser.SkipHandler) - Constructor for class org.apache.avro.io.parsing.SkipParser
-
- SkipParser.SkipHandler - Interface in org.apache.avro.io.parsing
-
The clients implement this interface to skip symbols and actions.
- skipRepeater() - Method in class org.apache.avro.io.parsing.SkipParser
-
Skips the repeater at the top the stack.
- skipString() - Method in class org.apache.avro.io.BinaryDecoder
-
- skipString() - Method in class org.apache.avro.io.Decoder
-
- skipString() - Method in class org.apache.avro.io.JsonDecoder
-
- skipString() - Method in class org.apache.avro.io.ValidatingDecoder
-
- skipSymbol(Symbol) - Method in class org.apache.avro.io.parsing.SkipParser
-
Pushes the given symbol on to the skip and skips it.
- skipTo(int) - Method in class org.apache.avro.io.parsing.SkipParser
-
Skips data by calling skipXyz or
readXyz methods on this, until the
parser stack reaches the target level.
- skipTopSymbol() - Method in interface org.apache.avro.io.parsing.SkipParser.SkipHandler
-
Skips the symbol at the top of the stack.
- skipTopSymbol() - Method in class org.apache.avro.io.ParsingDecoder
-
- Slf4jLogChute() - Constructor for class org.apache.avro.compiler.specific.SpecificCompiler.Slf4jLogChute
-
- SNAPPY_CODEC - Static variable in class org.apache.avro.file.DataFileConstants
-
- snappyCodec() - Static method in class org.apache.avro.file.CodecFactory
-
Snappy codec.
- specialToken - Variable in class org.apache.avro.compiler.idl.Token
-
This field is used to access special tokens that occur prior to this
token, but after the immediately preceding regular (non-special) token.
- SpecificCompiler - Class in org.apache.avro.compiler.specific
-
Generate specific Java interfaces and classes for protocols and schemas.
- 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
-
- SpecificCompiler.Slf4jLogChute - Class in org.apache.avro.compiler.specific
-
- SpecificData - Class in org.apache.avro.specific
-
Utilities for generated Java classes and interfaces.
- SpecificData() - Constructor for class org.apache.avro.specific.SpecificData
-
For subclasses.
- SpecificData(ClassLoader) - Constructor for class org.apache.avro.specific.SpecificData
-
Construct with a specific classloader.
- SpecificData.SchemaConstructable - Interface in org.apache.avro.specific
-
Tag interface that indicates that a class has a one-argument constructor
that accepts a Schema.
- SpecificDatumReader<T> - Class in org.apache.avro.specific
-
- SpecificDatumReader() - Constructor for class org.apache.avro.specific.SpecificDatumReader
-
- SpecificDatumReader(Class<T>) - Constructor for class org.apache.avro.specific.SpecificDatumReader
-
Construct for reading instances of a class.
- SpecificDatumReader(Schema) - Constructor for class org.apache.avro.specific.SpecificDatumReader
-
Construct where the writer's and reader's schemas are the same.
- SpecificDatumReader(Schema, Schema) - Constructor for class org.apache.avro.specific.SpecificDatumReader
-
Construct given writer's and reader's schema.
- SpecificDatumReader(Schema, Schema, SpecificData) - Constructor for class org.apache.avro.specific.SpecificDatumReader
-
Construct given writer's schema, reader's schema, and a
SpecificData.
- SpecificDatumReader(SpecificData) - Constructor for class org.apache.avro.specific.SpecificDatumReader
-
- SpecificDatumWriter<T> - Class in org.apache.avro.specific
-
- SpecificDatumWriter() - Constructor for class org.apache.avro.specific.SpecificDatumWriter
-
- SpecificDatumWriter(Class<T>) - Constructor for class org.apache.avro.specific.SpecificDatumWriter
-
- SpecificDatumWriter(Schema) - Constructor for class org.apache.avro.specific.SpecificDatumWriter
-
- SpecificDatumWriter(Schema, SpecificData) - Constructor for class org.apache.avro.specific.SpecificDatumWriter
-
- SpecificDatumWriter(SpecificData) - Constructor for class org.apache.avro.specific.SpecificDatumWriter
-
- SpecificErrorBuilderBase<T extends SpecificExceptionBase> - Class in org.apache.avro.specific
-
Abstract base class for specific ErrorBuilder implementations.
- SpecificErrorBuilderBase(Schema) - Constructor for class org.apache.avro.specific.SpecificErrorBuilderBase
-
Creates a SpecificErrorBuilderBase for building errors of the given type.
- SpecificErrorBuilderBase(SpecificErrorBuilderBase<T>) - Constructor for class org.apache.avro.specific.SpecificErrorBuilderBase
-
SpecificErrorBuilderBase copy constructor.
- SpecificErrorBuilderBase(T) - Constructor for class org.apache.avro.specific.SpecificErrorBuilderBase
-
Creates a SpecificErrorBuilderBase by copying an existing error instance.
- SpecificExceptionBase - Exception in org.apache.avro.specific
-
Base class for specific exceptions.
- SpecificExceptionBase() - Constructor for exception org.apache.avro.specific.SpecificExceptionBase
-
- SpecificExceptionBase(Throwable) - Constructor for exception org.apache.avro.specific.SpecificExceptionBase
-
- SpecificExceptionBase(Object) - Constructor for exception org.apache.avro.specific.SpecificExceptionBase
-
- SpecificExceptionBase(Object, Throwable) - Constructor for exception org.apache.avro.specific.SpecificExceptionBase
-
- SpecificFixed - Class in org.apache.avro.specific
-
Base class for generated fixed-sized data classes.
- SpecificFixed() - Constructor for class org.apache.avro.specific.SpecificFixed
-
- SpecificFixed(byte[]) - Constructor for class org.apache.avro.specific.SpecificFixed
-
- SpecificRecord - Interface in org.apache.avro.specific
-
Implemented by generated record classes.
- SpecificRecordBase - Class in org.apache.avro.specific
-
Base class for generated record classes.
- SpecificRecordBase() - Constructor for class org.apache.avro.specific.SpecificRecordBase
-
- SpecificRecordBuilderBase<T extends SpecificRecord> - Class in org.apache.avro.specific
-
Abstract base class for specific RecordBuilder implementations.
- SpecificRecordBuilderBase(Schema) - Constructor for class org.apache.avro.specific.SpecificRecordBuilderBase
-
Creates a SpecificRecordBuilderBase for building records of the given type.
- SpecificRecordBuilderBase(SpecificRecordBuilderBase<T>) - Constructor for class org.apache.avro.specific.SpecificRecordBuilderBase
-
SpecificRecordBuilderBase copy constructor.
- SpecificRecordBuilderBase(T) - Constructor for class org.apache.avro.specific.SpecificRecordBuilderBase
-
Creates a SpecificRecordBuilderBase by copying an existing record instance.
- stack - Variable in class org.apache.avro.io.parsing.Parser
-
- startItem() - Method in class org.apache.avro.io.BinaryEncoder
-
- startItem() - Method in class org.apache.avro.io.BlockingBinaryEncoder
-
- startItem() - Method in class org.apache.avro.io.Encoder
-
Start a new item of an array or map.
- startItem() - Method in class org.apache.avro.io.JsonEncoder
-
- startItem() - Method in class org.apache.avro.io.ParsingEncoder
-
- startItem() - Method in class org.apache.avro.io.ValidatingEncoder
-
- STATIC_LEXER_ERROR - Static variable in error org.apache.avro.compiler.idl.TokenMgrError
-
An attempt was made to create a second instance of a static token manager.
- staticFlag - Static variable in class org.apache.avro.compiler.idl.JavaCharStream
-
Whether parser is static.
- STRING - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- STRING - Static variable in class org.apache.avro.io.parsing.Symbol
-
- STRING_LITERAL - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- STRING_PROP - Static variable in class org.apache.avro.generic.GenericData
-
- STRING_TYPE_STRING - Static variable in class org.apache.avro.generic.GenericData
-
- Stringable - Annotation Type in org.apache.avro.reflect
-
Declares that a class or field should be represented by an Avro string.
- stringableClasses - Variable in class org.apache.avro.specific.SpecificData
-
Read/write some common builtin classes as strings.
- stringBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build a string type that can set custom properties.
- stringBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build a string type that can set custom properties.
- stringBuilder() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build a string type that can set custom properties.
- stringDefault(String) - Method in class org.apache.avro.SchemaBuilder.StringDefault
-
Completes this field with the default value provided.
- stringType - Variable in class org.apache.avro.mojo.AbstractAvroMojo
-
The Java type to use for Avro strings.
- stringType() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
A plain string type without custom properties.
- stringType() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
A plain string type without custom properties.
- stringType() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
A plain string type without custom properties.
- STUFF_TO_IGNORE - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- subSequence(int, int) - Method in class org.apache.avro.util.Utf8
-
- SwitchTo(int) - Method in class org.apache.avro.compiler.idl.IdlTokenManager
-
Switch to specified lex state.
- Symbol - Class in org.apache.avro.io.parsing
-
Symbol is the base of all symbols (terminals and non-terminals) of
the grammar.
- Symbol(Symbol.Kind) - Constructor for class org.apache.avro.io.parsing.Symbol
-
Constructs a new symbol of the given kind kind.
- Symbol(Symbol.Kind, Symbol[]) - Constructor for class org.apache.avro.io.parsing.Symbol
-
- Symbol.Alternative - Class in org.apache.avro.io.parsing
-
- Symbol.DefaultStartAction - Class in org.apache.avro.io.parsing
-
- Symbol.EnumAdjustAction - Class in org.apache.avro.io.parsing
-
- Symbol.EnumLabelsAction - Class in org.apache.avro.io.parsing
-
- Symbol.ErrorAction - Class in org.apache.avro.io.parsing
-
- Symbol.FieldAdjustAction - Class in org.apache.avro.io.parsing
-
- Symbol.FieldOrderAction - Class in org.apache.avro.io.parsing
-
- Symbol.ImplicitAction - Class in org.apache.avro.io.parsing
-
- Symbol.IntCheckAction - Class in org.apache.avro.io.parsing
-
- Symbol.Kind - Enum in org.apache.avro.io.parsing
-
- Symbol.Repeater - Class in org.apache.avro.io.parsing
-
- Symbol.ResolvingAction - Class in org.apache.avro.io.parsing
-
- Symbol.Root - Class in org.apache.avro.io.parsing
-
- Symbol.Sequence - Class in org.apache.avro.io.parsing
-
- Symbol.SkipAction - Class in org.apache.avro.io.parsing
-
- Symbol.UnionAdjustAction - Class in org.apache.avro.io.parsing
-
- Symbol.WriterUnionAction - Class in org.apache.avro.io.parsing
-
- symbolHandler - Variable in class org.apache.avro.io.parsing.Parser
-
- symbols - Variable in class org.apache.avro.io.parsing.Symbol.Alternative
-
- symbols - Variable in class org.apache.avro.io.parsing.Symbol.EnumLabelsAction
-
- symbols(String...) - Method in class org.apache.avro.SchemaBuilder.EnumBuilder
-
Configure this enum type's symbols, and end its configuration.
- symToParse - Variable in class org.apache.avro.io.parsing.Symbol.UnionAdjustAction
-
- symToSkip - Variable in class org.apache.avro.io.parsing.Symbol.SkipAction
-
- sync(long) - Method in class org.apache.avro.file.DataFileReader
-
Move to the next synchronization point after a position.
- sync(long) - Method in class org.apache.avro.file.DataFileReader12
-
Move to the next synchronization point after a position.
- sync() - Method in class org.apache.avro.file.DataFileWriter
-
- sync(long) - Method in interface org.apache.avro.file.FileReader
-
Move to the next synchronization point after a position.
- sync() - Method in interface org.apache.avro.file.Syncable
-
Sync the file to disk.
- sync() - Method in class org.apache.avro.file.SyncableFileOutputStream
-
Sync the file to disk.
- SYNC_SIZE - Static variable in class org.apache.avro.file.DataFileConstants
-
- Syncable - Interface in org.apache.avro.file
-
- SyncableFileOutputStream - Class in org.apache.avro.file
-
An implementation of
Syncable which writes to a file.
- SyncableFileOutputStream(String) - Constructor for class org.apache.avro.file.SyncableFileOutputStream
-
- SyncableFileOutputStream(File) - Constructor for class org.apache.avro.file.SyncableFileOutputStream
-
- SyncableFileOutputStream(String, boolean) - Constructor for class org.apache.avro.file.SyncableFileOutputStream
-
Creates an instance of
SyncableFileOutputStream with the
given name and optionally append to the file if it already exists.
- SyncableFileOutputStream(File, boolean) - Constructor for class org.apache.avro.file.SyncableFileOutputStream
-
Creates an instance of
SyncableFileOutputStream
that writes to the file represented by the given
File
instance and optionally append to the file if it already exists.
- SyncableFileOutputStream(FileDescriptor) - Constructor for class org.apache.avro.file.SyncableFileOutputStream
-
- SYSTEM_ERROR - Static variable in class org.apache.avro.Protocol
-
An error that can be thrown by any message.
- SYSTEM_ERRORS - Static variable in class org.apache.avro.Protocol
-
Union type for generating system errors.
- tabSize - Variable in class org.apache.avro.compiler.idl.JavaCharStream
-
- tell() - Method in class org.apache.avro.file.DataFileReader
-
- tell() - Method in class org.apache.avro.file.DataFileReader12
-
Return the current position in the input.
- tell() - Method in interface org.apache.avro.file.FileReader
-
Return the current position in the input.
- tell() - Method in class org.apache.avro.file.SeekableByteArrayInput
-
- tell() - Method in class org.apache.avro.file.SeekableFileInput
-
- tell() - Method in interface org.apache.avro.file.SeekableInput
-
Return the position of the next
read().
- templateDirectory - Variable in class org.apache.avro.mojo.AbstractAvroMojo
-
The directory (within the java classpath) that contains the velocity templates
to use for code generation.
- testExcludes - Variable in class org.apache.avro.mojo.AbstractAvroMojo
-
A set of Ant-like exclusion patterns used to prevent certain files from
being processed.
- THROWS - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- TICK - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- token - Variable in class org.apache.avro.compiler.idl.Idl
-
Current token.
- Token - Class in org.apache.avro.compiler.idl
-
Describes the input token stream.
- Token() - Constructor for class org.apache.avro.compiler.idl.Token
-
No-argument constructor
- Token(int) - Constructor for class org.apache.avro.compiler.idl.Token
-
Constructs a new token for the specified Image.
- Token(int, String) - Constructor for class org.apache.avro.compiler.idl.Token
-
Constructs a new token for the specified Image and Kind.
- token_source - Variable in class org.apache.avro.compiler.idl.Idl
-
Generated Token Manager.
- tokenImage - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
Literal token values.
- tokenImage - Variable in exception org.apache.avro.compiler.idl.ParseException
-
This is a reference to the "tokenImage" array of the generated
parser within which the parse error occurred.
- TokenMgrError - Error in org.apache.avro.compiler.idl
-
Token Manager Error.
- TokenMgrError() - Constructor for error org.apache.avro.compiler.idl.TokenMgrError
-
No arg constructor.
- TokenMgrError(String, int) - Constructor for error org.apache.avro.compiler.idl.TokenMgrError
-
Constructor with message and reason.
- TokenMgrError(boolean, int, int, int, String, int, int) - Constructor for error org.apache.avro.compiler.idl.TokenMgrError
-
Full Constructor.
- toParsingForm(Schema) - Static method in class org.apache.avro.SchemaNormalization
-
Returns "Parsing Canonical Form" of a schema as defined by Avro
spec.
- topSymbol() - Method in class org.apache.avro.io.parsing.Parser
-
Returns the top symbol from the stack.
- toString() - Method in class org.apache.avro.compiler.idl.Token
-
Returns the image.
- toString() - Method in class org.apache.avro.file.Codec
-
- toString() - Method in class org.apache.avro.file.CodecFactory
-
- toString() - Method in class org.apache.avro.file.XZCodec
-
- toString() - Method in class org.apache.avro.generic.GenericData.Array
-
- toString() - Method in class org.apache.avro.generic.GenericData.EnumSymbol
-
- toString() - Method in class org.apache.avro.generic.GenericData.Fixed
-
- toString() - Method in class org.apache.avro.generic.GenericData.Record
-
- toString(Object) - Method in class org.apache.avro.generic.GenericData
-
Renders a Java datum as
JSON.
- toString(Object, StringBuilder) - Method in class org.apache.avro.generic.GenericData
-
Renders a Java datum as
JSON.
- toString() - Method in interface org.apache.avro.generic.GenericEnumSymbol
-
Return the symbol.
- toString() - Method in class org.apache.avro.Protocol.Message
-
- toString() - Method in class org.apache.avro.Protocol
-
- toString(boolean) - Method in class org.apache.avro.Protocol
-
- toString() - Method in class org.apache.avro.Schema.Field
-
- toString() - Method in class org.apache.avro.Schema
-
- toString(boolean) - Method in class org.apache.avro.Schema
-
- toString() - Method in class org.apache.avro.SchemaCompatibility.SchemaPairCompatibility
- toString() - Method in class org.apache.avro.specific.SpecificRecordBase
-
- toString() - Method in class org.apache.avro.util.Utf8
-
- trace_enabled() - Method in class org.apache.avro.compiler.idl.Idl
-
Trace enabled.
- trackLineColumn - Variable in class org.apache.avro.compiler.idl.JavaCharStream
-
- TRUE - Static variable in interface org.apache.avro.compiler.idl.IdlConstants
-
RegularExpression Id.
- Type() - Method in class org.apache.avro.compiler.idl.Idl
-
- type(Schema) - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Use the schema provided as the type.
- type(String) - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Look up the type by name.
- type(String, String) - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Look up the type by name and namespace.
- type() - Method in class org.apache.avro.SchemaBuilder.FieldBuilder
-
Final step in configuring this field, finalizing name, namespace, alias,
and order.
- type(Schema) - Method in class org.apache.avro.SchemaBuilder.FieldBuilder
-
Final step in configuring this field, finalizing name, namespace, alias,
and order.
- type(String) - Method in class org.apache.avro.SchemaBuilder.FieldBuilder
-
Final step in configuring this field, finalizing name, namespace, alias,
and order.
- type(String, String) - Method in class org.apache.avro.SchemaBuilder.FieldBuilder
-
Final step in configuring this field, finalizing name, namespace, alias,
and order.