A B C D E F G H I J K L M N O P R S T U V W

A

add(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) - 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.
addProp(String, String) - Method in class org.apache.avro.Schema
Adds a property with the given name name and value value.
addProp(String, String) - Method in class org.apache.avro.Schema.Field
Add a property with the given name to this field.
addToArray(Object, long, Object) - Method in class org.apache.avro.generic.GenericDatumReader
Called by the default implementation of GenericDatumReader.readArray(java.lang.Object, org.apache.avro.Schema, org.apache.avro.io.ResolvingDecoder) to add a value.
addToArray(Object, long, Object) - Method in class org.apache.avro.reflect.ReflectDatumReader
 
addToMap(Object, Object, Object) - Method in class org.apache.avro.generic.GenericDatumReader
Called by the default implementation of GenericDatumReader.readMap(java.lang.Object, org.apache.avro.Schema, org.apache.avro.io.ResolvingDecoder) to add a key/value pair.
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.
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.
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.
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_END - Static variable in class org.apache.avro.io.parsing.Symbol
 
ARRAY_START - Static variable in class org.apache.avro.io.parsing.Symbol
 
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
 
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
 
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
 
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
 

B

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
An Decoder for binary-format data.
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.
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 class org.apache.avro.io.parsing.Symbol
 
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.
ByteBufferInputStream - Class in org.apache.avro.util
Utility to present ByteBuffer data as an InputStream.
ByteBufferInputStream(List<ByteBuffer>) - Constructor for class org.apache.avro.util.ByteBufferInputStream
 
ByteBufferOutputStream - Class in org.apache.avro.util
Utility to collect data written to an OutputStream in ByteBuffers.
ByteBufferOutputStream() - Constructor for class org.apache.avro.util.ByteBufferOutputStream
 
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
 

C

charAt(int) - Method in class org.apache.avro.util.Utf8
 
clear() - Method in class org.apache.avro.generic.GenericData.Array
 
clear() - Method in class org.apache.avro.util.WeakIdentityHashMap
 
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
Close the file.
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
 
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(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
 
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
Deprecated. use the equivalent DecoderFactory.binaryDecoder(InputStream, BinaryDecoder) instead
createBinaryDecoder(byte[], int, int, BinaryDecoder) - Method in class org.apache.avro.io.DecoderFactory
Deprecated. use DecoderFactory.binaryDecoder(byte[], int, int, BinaryDecoder) instead
createBinaryDecoder(byte[], BinaryDecoder) - Method in class org.apache.avro.io.DecoderFactory
Deprecated. use DecoderFactory.binaryDecoder(byte[], BinaryDecoder) instead
createBytes(byte[]) - Method in class org.apache.avro.generic.GenericDatumReader
Called to create byte arrays from default values.
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.SpecificDatumReader
 
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.GenericDatumReader
Called to create an fixed value.
createFixed(Object, byte[], Schema) - Method in class org.apache.avro.generic.GenericDatumReader
Called to create an fixed value.
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.SpecificDatumReader
 
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
Create a one-way message.
createMessage(String, String, 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.
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.

D

DataFileConstants - Class in org.apache.avro.file
Constants used in data files.
DataFileReader<D> - Class in org.apache.avro.file
Random access to files written with DataFileWriter.
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
Construct using a DataFileStream.Header.
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
Streaming access to files written by DataFileWriter.
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
Thrown by DataFileWriter.append(Object) when an exception occurs while writing a datum to the buffer.
DataFileWriter.AppendWriteException(Exception) - Constructor for exception org.apache.avro.file.DataFileWriter.AppendWriteException
 
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.
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
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
 
defaultFactory() - Static method in class org.apache.avro.io.DecoderFactory
Deprecated. use the equivalent DecoderFactory.get() instead
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.
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.
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.
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
 
DOUBLE - Static variable in class org.apache.avro.io.parsing.Symbol
 
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.

E

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
 
entrySet() - Method in class org.apache.avro.util.WeakIdentityHashMap
 
ENUM - Static variable in class org.apache.avro.io.parsing.Symbol
 
equals(Object) - Method in class org.apache.avro.generic.GenericData.Array
 
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.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 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
 

F

FIELD_ACTION - Static variable in class org.apache.avro.io.parsing.Symbol
 
fields - Variable in class org.apache.avro.io.parsing.Symbol.FieldOrderAction
 
FileReader<D> - Interface in org.apache.avro.file
Interface for reading data from a file.
findLabel(String) - Method in class org.apache.avro.io.parsing.Symbol.Alternative
 
findLabel(String) - Method in class org.apache.avro.io.parsing.Symbol.EnumLabelsAction
 
FIXED - Static variable in class org.apache.avro.io.parsing.Symbol
 
FixedSize - Annotation Type in org.apache.avro.specific
Declares the size of implementations of GenericFixed.
flatten(Map<Symbol.Sequence, Symbol.Sequence>, Map<Symbol.Sequence, List<Symbol.Fixup>>) - Method in class org.apache.avro.io.parsing.Symbol.Alternative
 
flatten(Map<Symbol.Sequence, Symbol.Sequence>, Map<Symbol.Sequence, List<Symbol.Fixup>>) - Method in class org.apache.avro.io.parsing.Symbol
 
flatten(Map<Symbol.Sequence, Symbol.Sequence>, Map<Symbol.Sequence, List<Symbol.Fixup>>) - Method in class org.apache.avro.io.parsing.Symbol.Repeater
 
flatten(Map<Symbol.Sequence, Symbol.Sequence>, Map<Symbol.Sequence, List<Symbol.Fixup>>) - Method in class org.apache.avro.io.parsing.Symbol.ResolvingAction
 
flatten(Map<Symbol.Sequence, Symbol.Sequence>, Map<Symbol.Sequence, List<Symbol.Fixup>>) - Method in class org.apache.avro.io.parsing.Symbol.Sequence
 
flatten(Map<Symbol.Sequence, Symbol.Sequence>, Map<Symbol.Sequence, List<Symbol.Fixup>>) - Method in class org.apache.avro.io.parsing.Symbol.SkipAction
 
flatten(Map<Symbol.Sequence, Symbol.Sequence>, Map<Symbol.Sequence, List<Symbol.Fixup>>) - Method in class org.apache.avro.io.parsing.Symbol.UnionAdjustAction
 
flattenedSize() - Method in class org.apache.avro.io.parsing.Symbol
 
flattenedSize(Symbol[], int) - Static method in class org.apache.avro.io.parsing.Symbol
Returns the amount of space required to flatten the given sub-array of symbols.
flattenedSize() - Method in class org.apache.avro.io.parsing.Symbol.Sequence
 
FLOAT - Static variable in class org.apache.avro.io.parsing.Symbol
 
flush() - Method in class org.apache.avro.file.DataFileWriter
Flush the current state of the file.
flush() - Method in class org.apache.avro.io.BlockingBinaryEncoder
 
flush() - Method in class org.apache.avro.io.BufferedBinaryEncoder
 
flush() - Method in class org.apache.avro.io.DirectBinaryEncoder
 
flush() - Method in class org.apache.avro.io.JsonEncoder
 
flush() - Method in class org.apache.avro.io.ValidatingEncoder
 
fname - Variable in class org.apache.avro.io.parsing.Symbol.FieldAdjustAction
 
FOOTER_BLOCK - Static variable in class org.apache.avro.file.DataFileConstants
 
fromString(String) - Static method in class org.apache.avro.file.CodecFactory
Maps a codec name into a CodecOption.

G

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.
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
 
GenericData.Array<T> - Class in org.apache.avro.generic
Default implementation of an array.
GenericData.Array(int, Schema) - Constructor for class org.apache.avro.generic.GenericData.Array
 
GenericData.EnumSymbol - Class in org.apache.avro.generic
Default implementation of GenericEnumSymbol.
GenericData.EnumSymbol(Schema, String) - Constructor for class org.apache.avro.generic.GenericData.EnumSymbol
 
GenericData.Fixed - Class in org.apache.avro.generic
Default implementation of GenericFixed.
GenericData.Fixed(Schema) - Constructor for class org.apache.avro.generic.GenericData.Fixed
 
GenericData.Fixed(Schema, byte[]) - Constructor for class org.apache.avro.generic.GenericData.Fixed
 
GenericData.Fixed() - Constructor for class org.apache.avro.generic.GenericData.Fixed
 
GenericData.Record - Class in org.apache.avro.generic
Default implementation of GenericRecord.
GenericData.Record(Schema) - Constructor for class org.apache.avro.generic.GenericData.Record
 
GenericDatumReader<D> - Class in org.apache.avro.generic
DatumReader for generic Java objects.
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
 
GenericDatumWriter<D> - Class in org.apache.avro.generic
DatumWriter for generic Java objects.
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.
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(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(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
Called by the default implementation of GenericDatumWriter.writeArray(org.apache.avro.Schema, java.lang.Object, org.apache.avro.io.Encoder) to enumerate array elements.
getArrayElements(Object) - Method in class org.apache.avro.reflect.ReflectDatumWriter
 
getArraySize(Object) - Method in class org.apache.avro.generic.GenericDatumWriter
Called by the default implementation of GenericDatumWriter.writeArray(org.apache.avro.Schema, java.lang.Object, org.apache.avro.io.Encoder) to get the size of an array.
getArraySize(Object) - Method in class org.apache.avro.reflect.ReflectDatumWriter
 
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
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.
getClassName(Schema) - Method in class org.apache.avro.specific.SpecificData
Returns the Java class name indicated by a schema's name and namespace.
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
Return the GenericData implementation.
getData() - Method in class org.apache.avro.generic.GenericDatumWriter
Return the GenericData implementation.
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.
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.
getField(Object, String, int) - Method in class org.apache.avro.generic.GenericData
Called by GenericDatumReader.readRecord(java.lang.Object, org.apache.avro.Schema, org.apache.avro.io.ResolvingDecoder) to retrieve a record field value from a reused instance.
getField(Object, String, int) - 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.
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.
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
Deprecated. call getByteLength() instead.
getMapEntries(Object) - Method in class org.apache.avro.generic.GenericDatumWriter
Called by the default implementation of GenericDatumWriter.writeMap(org.apache.avro.Schema, java.lang.Object, org.apache.avro.io.Encoder) to enumerate map elements.
getMapSize(Object) - Method in class org.apache.avro.generic.GenericDatumWriter
Called by the default implementation of GenericDatumWriter.writeMap(org.apache.avro.Schema, java.lang.Object, org.apache.avro.io.Encoder) to get the size of a map.
getMD5() - Method in class org.apache.avro.Protocol
Return the MD5 hash of the text of this protocol.
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.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.
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.
getProp(String) - Method in class org.apache.avro.Schema.Field
Return the value of the named property in this field or null.
getProp(String) - Method in class org.apache.avro.Schema
Returns the value of the named property in this schema.
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.
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
 
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(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
 
getSymbol(int) - Method in class org.apache.avro.io.parsing.Symbol.Alternative
 
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.
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
 
getValueType() - Method in class org.apache.avro.Schema
If this is a map, returns its value type.

H

hasEnumSymbol(String) - Method in class org.apache.avro.Schema
If this is an enum, returns true if it contains given symbol.
hashCode() - Method in class org.apache.avro.generic.GenericData.Array
 
hashCode() - Method in class org.apache.avro.generic.GenericData.EnumSymbol
 
hashCode() - Method in class org.apache.avro.generic.GenericData.Fixed
 
hashCode(Object, Schema) - Method in class org.apache.avro.generic.GenericData
Compute a hash code according to a schema, consistent with GenericData.compare(Object,Object,Schema).
hashCode() - Method in class org.apache.avro.generic.GenericData.Record
 
hashCode(byte[], int, int, Schema) - Static method in class org.apache.avro.io.BinaryData
Hash binary encoded data.
hashCode() - Method in class org.apache.avro.Protocol
 
hashCode() - Method in class org.apache.avro.Protocol.Message
 
hashCode() - Method in class org.apache.avro.Schema.Field
 
hashCode() - Method in class org.apache.avro.Schema
 
hashCode() - Method in exception org.apache.avro.specific.SpecificExceptionBase
 
hashCode() - Method in class org.apache.avro.specific.SpecificRecordBase
 
hashCode() - Method in class org.apache.avro.util.Utf8
 
hashCode() - Method in class org.apache.avro.util.WeakIdentityHashMap
 
hashCodeAdd(int, Object, Schema) - Method in class org.apache.avro.generic.GenericData
Add the hash code for an object into an accumulated hash code.
hasNext() - Method in class org.apache.avro.file.DataFileReader12
 
hasNext() - Method in class org.apache.avro.file.DataFileStream
True if more entries remain in this file.

I

in - Variable in class org.apache.avro.io.ValidatingDecoder
 
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.
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
Called by GenericData.resolveUnion(Schema,Object).
INT - Static variable in class org.apache.avro.io.parsing.Symbol
 
isArray(Object) - Method in class org.apache.avro.generic.GenericData
Called by the default implementation of GenericData.instanceOf(org.apache.avro.Schema, java.lang.Object).
isArray(Object) - Method in class org.apache.avro.reflect.ReflectData
 
isBytes(Object) - Method in class org.apache.avro.generic.GenericData
Called by the default implementation of GenericData.instanceOf(org.apache.avro.Schema, java.lang.Object).
isBytes(Object) - Method in class org.apache.avro.reflect.ReflectData
 
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
Called by the default implementation of GenericData.instanceOf(org.apache.avro.Schema, java.lang.Object).
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
Called by the default implementation of GenericData.instanceOf(org.apache.avro.Schema, java.lang.Object).
isMap(Object) - Method in class org.apache.avro.generic.GenericData
Called by the default implementation of GenericData.instanceOf(org.apache.avro.Schema, java.lang.Object).
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
Called by the default implementation of GenericData.instanceOf(org.apache.avro.Schema, java.lang.Object).
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
Called by the default implementation of GenericData.instanceOf(org.apache.avro.Schema, java.lang.Object).
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.
ITEM_END - Static variable in class org.apache.avro.io.parsing.Symbol
 
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
 

J

jsonDecoder(Schema, InputStream) - Method in class org.apache.avro.io.DecoderFactory
Creates a JsonDecoder using the InputStrim provided for reading data that conforms to the Schema provided.
jsonDecoder(Schema, String) - Method in class org.apache.avro.io.DecoderFactory
Creates a JsonDecoder using the String provided for reading data that conforms to the Schema provided.
JsonDecoder - Class in org.apache.avro.io
A Decoder for Avro's JSON data encoding.
jsonEncoder(Schema, OutputStream) - Method in class org.apache.avro.io.EncoderFactory
Creates a JsonEncoder using the OutputStream provided for writing data conforming to the Schema provided.
jsonEncoder(Schema, JsonGenerator) - Method in class org.apache.avro.io.EncoderFactory
Creates a JsonEncoder using the JsonGenerator provided for output of data conforming to the Schema provided.
JsonEncoder - Class in org.apache.avro.io
An Encoder for Avro's JSON data encoding.
JsonGrammarGenerator - Class in org.apache.avro.io.parsing
The class that generates a grammar suitable to parse Avro data in JSON format.
JsonGrammarGenerator() - Constructor for class org.apache.avro.io.parsing.JsonGrammarGenerator
 

K

keySet() - Method in class org.apache.avro.util.WeakIdentityHashMap
 
kind - Variable in class org.apache.avro.io.parsing.Symbol
 

L

labels - Variable in class org.apache.avro.io.parsing.Symbol.Alternative
 
length() - Method in class org.apache.avro.file.SeekableFileInput
 
length() - Method in interface org.apache.avro.file.SeekableInput
Return the length of the file.
length() - Method in class org.apache.avro.util.Utf8
 
LONG - Static variable in class org.apache.avro.io.parsing.Symbol
 

M

MAGIC - Static variable in class org.apache.avro.file.DataFileConstants
 
main(String[]) - Static method in class org.apache.avro.Protocol
 
makeNullable(Schema) - Static method in class org.apache.avro.reflect.ReflectData
Create and return a union of the null schema and the provided schema.
MAP_END - Static variable in class org.apache.avro.io.parsing.Symbol
 
MAP_KEY_MARKER - Static variable in class org.apache.avro.io.parsing.Symbol
 
MAP_START - Static variable in class org.apache.avro.io.parsing.Symbol
 
mapNext() - Method in class org.apache.avro.io.BinaryDecoder
 
mapNext() - Method in class org.apache.avro.io.Decoder
Processes the next block of map entries and returns the count of them.
mapNext() - Method in class org.apache.avro.io.JsonDecoder
 
mapNext() - Method in class org.apache.avro.io.ValidatingDecoder
 
msg - Variable in class org.apache.avro.io.parsing.Symbol.ErrorAction
 

N

name() - Method in class org.apache.avro.Schema.Field
 
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.SpecificDatumReader
Create an instance of a class.
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.GenericDatumReader
Called to create new record instances.
newRecord(Object, Schema) - Method in class org.apache.avro.specific.SpecificDatumReader
 
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.
npe(NullPointerException, String) - Method in class org.apache.avro.generic.GenericDatumWriter
Helper method for adding a message to an NPE.
NULL - Static variable in class org.apache.avro.io.parsing.Symbol
The terminal symbols for the grammar.
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.
nullCodec() - Static method in class org.apache.avro.file.CodecFactory
Null codec, for no compression.

O

openReader(File, DatumReader<D>) - Static method in class org.apache.avro.file.DataFileReader
Open a reader for a file.
openReader(SeekableInput, DatumReader<D>) - Static method in class org.apache.avro.file.DataFileReader
Open a reader for a file.
openReader(SeekableInput, DatumReader<D>, DataFileStream.Header, boolean) - Static method in class org.apache.avro.file.DataFileReader
Construct a reader for a file at the current position of the input, without reading the header.
order() - Method in class org.apache.avro.Schema.Field
 
org.apache.avro - package org.apache.avro
Avro kernel classes.
org.apache.avro.file - package org.apache.avro.file
A container file for Avro data.
org.apache.avro.generic - package org.apache.avro.generic
A generic representation for Avro data.
org.apache.avro.io - package org.apache.avro.io
Utilities for Encoding and Decoding Avro data.
org.apache.avro.io.parsing - package org.apache.avro.io.parsing
Implementation of Avro schemas as LL(1) grammars.
org.apache.avro.reflect - package org.apache.avro.reflect
Use Java reflection to generate schemas and protocols for existing classes.
org.apache.avro.specific - package org.apache.avro.specific
Generate specific Java classes for schemas and protocols.
org.apache.avro.util - package org.apache.avro.util
Common utility classes.
out - Variable in class org.apache.avro.io.ValidatingEncoder
 

P

parse(File) - Static method in class org.apache.avro.Protocol
Read a protocol from a Json file.
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
Deprecated. use Schema.Parser instead.
parse(InputStream) - Static method in class org.apache.avro.Schema
Deprecated. use Schema.Parser instead.
parse(String) - Static method in class org.apache.avro.Schema
Deprecated. use Schema.Parser instead.
parse(String, boolean) - Static method in class org.apache.avro.Schema
Deprecated. use Schema.Parser instead.
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) - Method in class org.apache.avro.Schema.Parser
Parse a schema from the provided string.
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.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
Base class for parser-based Decoders.
ParsingDecoder(Symbol) - Constructor for class org.apache.avro.io.ParsingDecoder
 
ParsingEncoder - Class in org.apache.avro.io
Base class for parser-based Encoders.
ParsingEncoder() - Constructor for class org.apache.avro.io.ParsingEncoder
 
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
Called by the default implementation of GenericDatumReader.readArray(java.lang.Object, org.apache.avro.Schema, org.apache.avro.io.ResolvingDecoder) to retrieve a value from a reused instance.
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.
previousSync() - Method in class org.apache.avro.file.DataFileReader
Return the last synchronization point before our current position.
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.
Protocol - Class in org.apache.avro
A set of messages forming an application protocol.
Protocol(String, String) - Constructor for class org.apache.avro.Protocol
 
Protocol.Message - Class in org.apache.avro
A protocol message.
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(K, V) - Method in class org.apache.avro.util.WeakIdentityHashMap
 
putAll(Map) - Method in class org.apache.avro.util.WeakIdentityHashMap
 

R

read(byte[], int, int) - Method in interface org.apache.avro.file.SeekableInput
Equivalent to InputStream.read(byte[],int,int).
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() - 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.
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
Reads a boolean value written by Encoder.writeBoolean(boolean).
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.
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
Reads a byte-string written by Encoder.writeBytes(java.nio.ByteBuffer).
readBytes(ByteBuffer) - Method in class org.apache.avro.io.JsonDecoder
 
readBytes(ByteBuffer) - Method in class org.apache.avro.io.ValidatingDecoder
 
readBytes(Object, Decoder) - Method in class org.apache.avro.reflect.ReflectDatumReader
 
readDouble() - Method in class org.apache.avro.io.BinaryDecoder
 
readDouble() - Method in class org.apache.avro.io.Decoder
Reads a double written by Encoder.writeDouble(double).
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 - Variable in class org.apache.avro.io.parsing.Symbol.ResolvingAction
 
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
Reads a float written by Encoder.writeFloat(float).
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
Reads the tag of a union written by Encoder.writeIndex(int).
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
Reads an integer written by Encoder.writeInt(int).
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
Reads a long written by Encoder.writeLong(long).
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.
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(Utf8) - Method in class org.apache.avro.io.Decoder
Reads a char-string written by Encoder.writeString(org.apache.avro.util.Utf8).
readString(Utf8) - Method in class org.apache.avro.io.JsonDecoder
 
readString(Utf8) - Method in class org.apache.avro.io.ValidatingDecoder
 
readString(Object, Schema, Decoder) - Method in class org.apache.avro.reflect.ReflectDatumReader
 
readString(Object, Decoder) - Method in class org.apache.avro.reflect.ReflectDatumReader
 
RECORD_END - Static variable in class org.apache.avro.io.parsing.Symbol
 
RECORD_START - Static variable in class org.apache.avro.io.parsing.Symbol
 
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
 
ReflectData.AllowNull - Class in org.apache.avro.reflect
ReflectData implementation that permits null field values.
ReflectData.AllowNull() - Constructor for class org.apache.avro.reflect.ReflectData.AllowNull
 
ReflectDatumReader<T> - Class in org.apache.avro.reflect
DatumReader for existing classes via Java reflection.
ReflectDatumReader() - Constructor for class org.apache.avro.reflect.ReflectDatumReader
 
ReflectDatumReader(Class<T>) - Constructor for class org.apache.avro.reflect.ReflectDatumReader
 
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
 
ReflectDatumWriter<T> - Class in org.apache.avro.reflect
DatumWriter for existing classes via Java reflection.
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
 
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
 
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
Produces an opaque resolver that can be used to construct a new ResolvingDecoder.ResolvingDecoder(Object, Decoder).
resolveUnion(Schema, Object) - Method in class org.apache.avro.generic.GenericData
Return the index for a datum within a union.
resolvingDecoder(Schema, Schema, Decoder) - Method in class org.apache.avro.io.DecoderFactory
Creates a ResolvingDecoder wrapping the Decoder provided.
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
 
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
 

S

SCHEMA - Static variable in class org.apache.avro.file.DataFileConstants
 
Schema - Class in org.apache.avro
An abstract data type.
schema() - Method in class org.apache.avro.Schema.Field
This field's Schema.
Schema.Field - Class in org.apache.avro
A field within a record.
Schema.Field(String, Schema, String, JsonNode) - Constructor for class org.apache.avro.Schema.Field
 
Schema.Field(String, Schema, String, JsonNode, Schema.Field.Order) - Constructor for class org.apache.avro.Schema.Field
 
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.Parser() - Constructor for class org.apache.avro.Schema.Parser
 
Schema.Type - Enum in org.apache.avro
The type of a schema.
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
 
seek(long) - Method in class org.apache.avro.file.DataFileReader
Move to a specific, known synchronization point, one returned from DataFileWriter.sync() while writing.
seek(long) - Method in class org.apache.avro.file.DataFileReader12
Move to the specified synchronization point, as returned by DataFileWriter.sync().
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().
SeekableFileInput - Class in org.apache.avro.file
A FileInputStream that implements SeekableInput.
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.
set(int, T) - Method in class org.apache.avro.generic.GenericData.Array
 
setByteLength(int) - Method in class org.apache.avro.util.Utf8
Set length in bytes.
setCodec(CodecFactory) - Method in class org.apache.avro.file.DataFileWriter
Configures this writer to use the given codec.
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
Called by GenericDatumReader.readRecord(java.lang.Object, org.apache.avro.Schema, org.apache.avro.io.ResolvingDecoder) to set a record fields value to a record instance.
setField(Object, String, int, 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.
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
Deprecated. call setByteLength(int) instead.
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.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.
setSyncInterval(int) - Method in class org.apache.avro.file.DataFileWriter
Set the synchronization interval for this file, in bytes.
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.
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() - 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() - 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
Discards a byte-string written by Encoder.writeBytes(java.nio.ByteBuffer).
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
Support for quickly skipping through a map similar to Decoder.skipArray().
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
Discards a char-string written by Encoder.writeString(org.apache.avro.util.Utf8).
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
 
SNAPPY_CODEC - Static variable in class org.apache.avro.file.DataFileConstants
 
snappyCodec() - Static method in class org.apache.avro.file.CodecFactory
Snappy codec.
SpecificData - Class in org.apache.avro.specific
Utilities for generated Java classes and interfaces.
SpecificData() - Constructor for class org.apache.avro.specific.SpecificData
 
SpecificDatumReader<T> - Class in org.apache.avro.specific
DatumReader for generated Java classes.
SpecificDatumReader() - Constructor for class org.apache.avro.specific.SpecificDatumReader
 
SpecificDatumReader(Class<T>) - Constructor for class org.apache.avro.specific.SpecificDatumReader
 
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
 
SpecificDatumReader.SchemaConstructable - Interface in org.apache.avro.specific
Tag interface that indicates that a class has a one-argument constructor that accepts a Schema.
SpecificDatumWriter<T> - Class in org.apache.avro.specific
DatumWriter for generated Java classes.
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
 
SpecificExceptionBase - Exception in org.apache.avro.specific
Base class for specific exceptions.
SpecificExceptionBase() - 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
 
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
 
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
 
STRING - Static variable in class org.apache.avro.io.parsing.Symbol
 
Stringable - Annotation Type in org.apache.avro.reflect
Declares that a class should be represented by an Avro string.
subSequence(int, int) - Method in class org.apache.avro.util.Utf8
 
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.DefaultStartAction(byte[]) - Constructor for class org.apache.avro.io.parsing.Symbol.DefaultStartAction
 
Symbol.EnumAdjustAction - Class in org.apache.avro.io.parsing
 
Symbol.EnumAdjustAction(int, Object[]) - Constructor for class org.apache.avro.io.parsing.Symbol.EnumAdjustAction
 
Symbol.EnumLabelsAction - Class in org.apache.avro.io.parsing
For JSON.
Symbol.EnumLabelsAction(List<String>) - Constructor for class org.apache.avro.io.parsing.Symbol.EnumLabelsAction
 
Symbol.ErrorAction - Class in org.apache.avro.io.parsing
 
Symbol.FieldAdjustAction - Class in org.apache.avro.io.parsing
 
Symbol.FieldAdjustAction(int, String) - Constructor for class org.apache.avro.io.parsing.Symbol.FieldAdjustAction
 
Symbol.FieldOrderAction - Class in org.apache.avro.io.parsing
 
Symbol.FieldOrderAction(Schema.Field[]) - Constructor for class org.apache.avro.io.parsing.Symbol.FieldOrderAction
 
Symbol.ImplicitAction - Class in org.apache.avro.io.parsing
 
Symbol.IntCheckAction - Class in org.apache.avro.io.parsing
 
Symbol.IntCheckAction(int) - Constructor for class org.apache.avro.io.parsing.Symbol.IntCheckAction
 
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.SkipAction(Symbol) - Constructor for class org.apache.avro.io.parsing.Symbol.SkipAction
 
Symbol.UnionAdjustAction - Class in org.apache.avro.io.parsing
 
Symbol.UnionAdjustAction(int, Symbol) - Constructor for class org.apache.avro.io.parsing.Symbol.UnionAdjustAction
 
Symbol.WriterUnionAction - Class in org.apache.avro.io.parsing
 
Symbol.WriterUnionAction() - Constructor for class org.apache.avro.io.parsing.Symbol.WriterUnionAction
 
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
 
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
Return the current position as a value that may be passed to DataFileReader.seek(long).
sync(long) - Method in interface org.apache.avro.file.FileReader
Move to the next synchronization point after a position.
SYNC_SIZE - Static variable in class org.apache.avro.file.DataFileConstants
 
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.

T

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.SeekableFileInput
 
tell() - Method in interface org.apache.avro.file.SeekableInput
Return the position of the next read().
topSymbol() - Method in class org.apache.avro.io.parsing.Parser
Returns the top symbol from the stack.
toString() - Method in class org.apache.avro.file.CodecFactory
 
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
Render this as JSON.
toString(boolean) - Method in class org.apache.avro.Protocol
Render this as JSON.
toString() - Method in class org.apache.avro.Schema.Field
 
toString() - Method in class org.apache.avro.Schema
Render this as JSON.
toString(boolean) - Method in class org.apache.avro.Schema
Render this as JSON.
toString() - Method in class org.apache.avro.specific.SpecificRecordBase
 
toString() - Method in class org.apache.avro.util.Utf8
 

U

UNION - Static variable in class org.apache.avro.io.parsing.Symbol
 
Union - Annotation Type in org.apache.avro.reflect
Declares that a Java type should be represented by an Avro union schema.
UNION_END - Static variable in class org.apache.avro.io.parsing.Symbol
 
UnresolvedUnionException - Exception in org.apache.avro
Thrown when the expected contents of a union cannot be resolved.
UnresolvedUnionException(Schema, Object) - Constructor for exception org.apache.avro.UnresolvedUnionException
 
Utf8 - Class in org.apache.avro.util
A Utf8 string.
Utf8() - Constructor for class org.apache.avro.util.Utf8
 
Utf8(String) - Constructor for class org.apache.avro.util.Utf8
 
Utf8(byte[]) - Constructor for class org.apache.avro.util.Utf8
 

V

validate(Schema, Object) - Method in class org.apache.avro.generic.GenericData
Returns true if a Java datum matches a schema.
validate(Schema, Object) - Method in class org.apache.avro.reflect.ReflectData
 
validatingDecoder(Schema, Decoder) - Method in class org.apache.avro.io.DecoderFactory
Creates a ValidatingDecoder wrapping the Decoder provided.
ValidatingDecoder - Class in org.apache.avro.io
An implementation of Decoder that ensures that the sequence of operations conforms to a schema.
validatingEncoder(Schema, Encoder) - Method in class org.apache.avro.io.EncoderFactory
Creates a ValidatingEncoder that wraps the Encoder provided.
ValidatingEncoder - Class in org.apache.avro.io
An implementation of Encoder that wraps another Encoder and ensures that the sequence of operations conforms to the provided schema.
ValidatingGrammarGenerator - Class in org.apache.avro.io.parsing
The class that generates validating grammar.
ValidatingGrammarGenerator() - Constructor for class org.apache.avro.io.parsing.ValidatingGrammarGenerator
 
valueOf(String) - Static method in enum org.apache.avro.io.parsing.Symbol.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.avro.Schema.Field.Order
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.avro.Schema.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.avro.io.parsing.Symbol.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.avro.Schema.Field.Order
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.avro.Schema.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.apache.avro.util.WeakIdentityHashMap
 
VERSION - Static variable in class org.apache.avro.file.DataFileConstants
 
VERSION - Static variable in class org.apache.avro.Protocol
The version of the protocol specification implemented here.

W

WeakIdentityHashMap<K,V> - Class in org.apache.avro.util
Implements a combination of WeakHashMap and IdentityHashMap.
WeakIdentityHashMap() - Constructor for class org.apache.avro.util.WeakIdentityHashMap
 
write(D, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
 
write(Schema, Object, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
Called to write data.
write(D, Encoder) - Method in interface org.apache.avro.io.DatumWriter
Write a datum.
write(Schema, Object, Encoder) - Method in class org.apache.avro.reflect.ReflectDatumWriter
 
write(ByteBuffer) - Method in class org.apache.avro.util.ByteBufferOutputStream
 
write(int) - Method in class org.apache.avro.util.ByteBufferOutputStream
 
write(byte[], int, int) - Method in class org.apache.avro.util.ByteBufferOutputStream
 
writeArray(Schema, Object, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
Called to write a array.
writeArrayEnd() - Method in class org.apache.avro.io.BinaryEncoder
 
writeArrayEnd() - Method in class org.apache.avro.io.BlockingBinaryEncoder
 
writeArrayEnd() - Method in class org.apache.avro.io.Encoder
Call this method to finish writing an array.
writeArrayEnd() - Method in class org.apache.avro.io.JsonEncoder
 
writeArrayEnd() - Method in class org.apache.avro.io.ValidatingEncoder
 
writeArrayStart() - Method in class org.apache.avro.io.BinaryEncoder
 
writeArrayStart() - Method in class org.apache.avro.io.BlockingBinaryEncoder
 
writeArrayStart() - Method in class org.apache.avro.io.Encoder
Call this method to start writing an array.
writeArrayStart() - Method in class org.apache.avro.io.JsonEncoder
 
writeArrayStart() - Method in class org.apache.avro.io.ValidatingEncoder
 
writeBoolean(boolean) - Method in class org.apache.avro.io.BlockingBinaryEncoder
 
writeBoolean(boolean) - Method in class org.apache.avro.io.BufferedBinaryEncoder
 
writeBoolean(boolean) - Method in class org.apache.avro.io.DirectBinaryEncoder
 
writeBoolean(boolean) - Method in class org.apache.avro.io.Encoder
Write a boolean value.
writeBoolean(boolean) - Method in class org.apache.avro.io.JsonEncoder
 
writeBoolean(boolean) - Method in class org.apache.avro.io.ValidatingEncoder
 
writeBuffer(ByteBuffer) - Method in class org.apache.avro.util.ByteBufferOutputStream
Add a buffer to the output without copying, if possible.
writeBytes(Object, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
Called to write a bytes.
writeBytes(ByteBuffer) - Method in class org.apache.avro.io.BinaryEncoder
 
writeBytes(byte[], int, int) - Method in class org.apache.avro.io.BinaryEncoder
 
writeBytes(ByteBuffer) - Method in class org.apache.avro.io.Encoder
Write a byte string.
writeBytes(byte[], int, int) - Method in class org.apache.avro.io.Encoder
Write a byte string.
writeBytes(byte[]) - Method in class org.apache.avro.io.Encoder
Writes a byte string.
writeBytes(ByteBuffer) - Method in class org.apache.avro.io.JsonEncoder
 
writeBytes(byte[], int, int) - Method in class org.apache.avro.io.JsonEncoder
 
writeBytes(ByteBuffer) - Method in class org.apache.avro.io.ValidatingEncoder
 
writeBytes(byte[], int, int) - Method in class org.apache.avro.io.ValidatingEncoder
 
writeBytes(Object, Encoder) - Method in class org.apache.avro.reflect.ReflectDatumWriter
 
writeDouble(double) - Method in class org.apache.avro.io.BlockingBinaryEncoder
 
writeDouble(double) - Method in class org.apache.avro.io.BufferedBinaryEncoder
 
writeDouble(double) - Method in class org.apache.avro.io.DirectBinaryEncoder
 
writeDouble(double) - Method in class org.apache.avro.io.Encoder
Write a double.
writeDouble(double) - Method in class org.apache.avro.io.JsonEncoder
 
writeDouble(double) - Method in class org.apache.avro.io.ValidatingEncoder
 
writeEnum(Schema, Object, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
Called to write an enum value.
writeEnum(int) - Method in class org.apache.avro.io.BinaryEncoder
 
writeEnum(int) - Method in class org.apache.avro.io.Encoder
Writes an enumeration.
writeEnum(int) - Method in class org.apache.avro.io.JsonEncoder
 
writeEnum(int) - Method in class org.apache.avro.io.ValidatingEncoder
 
writeEnum(Schema, Object, Encoder) - Method in class org.apache.avro.specific.SpecificDatumWriter
 
writeFixed(Schema, Object, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
Called to write a fixed value.
writeFixed(byte[], int, int) - Method in class org.apache.avro.io.BlockingBinaryEncoder
 
writeFixed(byte[], int, int) - Method in class org.apache.avro.io.BufferedBinaryEncoder
 
writeFixed(byte[], int, int) - Method in class org.apache.avro.io.DirectBinaryEncoder
 
writeFixed(byte[], int, int) - Method in class org.apache.avro.io.Encoder
Writes a fixed size binary object.
writeFixed(byte[]) - Method in class org.apache.avro.io.Encoder
A shorthand for writeFixed(bytes, 0, bytes.length)
writeFixed(byte[], int, int) - Method in class org.apache.avro.io.JsonEncoder
 
writeFixed(byte[], int, int) - Method in class org.apache.avro.io.ValidatingEncoder
 
writeFloat(float) - Method in class org.apache.avro.io.BlockingBinaryEncoder
 
writeFloat(float) - Method in class org.apache.avro.io.BufferedBinaryEncoder
 
writeFloat(float) - Method in class org.apache.avro.io.DirectBinaryEncoder
 
writeFloat(float) - Method in class org.apache.avro.io.Encoder
Write a float.
writeFloat(float) - Method in class org.apache.avro.io.JsonEncoder
 
writeFloat(float) - Method in class org.apache.avro.io.ValidatingEncoder
 
writeIndex(int) - Method in class org.apache.avro.io.BinaryEncoder
 
writeIndex(int) - Method in class org.apache.avro.io.BlockingBinaryEncoder
 
writeIndex(int) - Method in class org.apache.avro.io.Encoder
Call this method to write the tag of a union.
writeIndex(int) - Method in class org.apache.avro.io.JsonEncoder
 
writeIndex(int) - Method in class org.apache.avro.io.ValidatingEncoder
 
writeInt(int) - Method in class org.apache.avro.io.BlockingBinaryEncoder
 
writeInt(int) - Method in class org.apache.avro.io.BufferedBinaryEncoder
 
writeInt(int) - Method in class org.apache.avro.io.DirectBinaryEncoder
 
writeInt(int) - Method in class org.apache.avro.io.Encoder
Writes a 32-bit integer.
writeInt(int) - Method in class org.apache.avro.io.JsonEncoder
 
writeInt(int) - Method in class org.apache.avro.io.ValidatingEncoder
 
writeLong(long) - Method in class org.apache.avro.io.BlockingBinaryEncoder
 
writeLong(long) - Method in class org.apache.avro.io.BufferedBinaryEncoder
 
writeLong(long) - Method in class org.apache.avro.io.DirectBinaryEncoder
 
writeLong(long) - Method in class org.apache.avro.io.Encoder
Write a 64-bit integer.
writeLong(long) - Method in class org.apache.avro.io.JsonEncoder
 
writeLong(long) - Method in class org.apache.avro.io.ValidatingEncoder
 
writeMap(Schema, Object, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
Called to write a map.
writeMapEnd() - Method in class org.apache.avro.io.BinaryEncoder
 
writeMapEnd() - Method in class org.apache.avro.io.BlockingBinaryEncoder
 
writeMapEnd() - Method in class org.apache.avro.io.Encoder
Call this method to terminate the inner-most, currently-opened map.
writeMapEnd() - Method in class org.apache.avro.io.JsonEncoder
 
writeMapEnd() - Method in class org.apache.avro.io.ValidatingEncoder
 
writeMapStart() - Method in class org.apache.avro.io.BinaryEncoder
 
writeMapStart() - Method in class org.apache.avro.io.BlockingBinaryEncoder
 
writeMapStart() - Method in class org.apache.avro.io.Encoder
Call this to start a new map.
writeMapStart() - Method in class org.apache.avro.io.JsonEncoder
 
writeMapStart() - Method in class org.apache.avro.io.ValidatingEncoder
 
writeNull() - Method in class org.apache.avro.io.BinaryEncoder
 
writeNull() - Method in class org.apache.avro.io.Encoder
"Writes" a null value.
writeNull() - Method in class org.apache.avro.io.JsonEncoder
 
writeNull() - Method in class org.apache.avro.io.ValidatingEncoder
 
writer - Variable in class org.apache.avro.io.parsing.Symbol.ResolvingAction
 
writeRecord(Schema, Object, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
Called to write a record.
writeString(Schema, Object, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
Called to write a string.
writeString(Object, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
Called to write a string.
writeString(Utf8) - Method in class org.apache.avro.io.BinaryEncoder
 
writeString(String) - Method in class org.apache.avro.io.BinaryEncoder
 
writeString(Utf8) - Method in class org.apache.avro.io.Encoder
Write a Unicode character string.
writeString(String) - Method in class org.apache.avro.io.Encoder
Write a Unicode character string.
writeString(CharSequence) - Method in class org.apache.avro.io.Encoder
Write a Unicode character string.
writeString(Utf8) - Method in class org.apache.avro.io.JsonEncoder
 
writeString(String) - Method in class org.apache.avro.io.JsonEncoder
 
writeString(Utf8) - Method in class org.apache.avro.io.ValidatingEncoder
 
writeString(String) - Method in class org.apache.avro.io.ValidatingEncoder
 
writeString(CharSequence) - Method in class org.apache.avro.io.ValidatingEncoder
 
writeString(Schema, Object, Encoder) - Method in class org.apache.avro.reflect.ReflectDatumWriter
 
writeZero() - Method in class org.apache.avro.io.BinaryEncoder
Write a zero byte to the underlying output.
writeZero() - Method in class org.apache.avro.io.BlockingBinaryEncoder
 
writeZero() - Method in class org.apache.avro.io.BufferedBinaryEncoder
 
writeZero() - Method in class org.apache.avro.io.DirectBinaryEncoder
 

A B C D E F G H I J K L M N O P R S T U V W

Copyright © 2011 The Apache Software Foundation. All Rights Reserved.