Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractArray(Schema) - Constructor for class org.apache.avro.generic.GenericData.AbstractArray
- ACCESSOR_MUTATOR_RESERVED_WORDS - Static variable in class org.apache.avro.specific.SpecificData
- Action(Schema, Schema, GenericData, Resolver.Action.Type) - Constructor for class org.apache.avro.Resolver.Action
- actions - Variable in class org.apache.avro.Resolver.WriterUnion
- actualAction - Variable in class org.apache.avro.Resolver.ReaderUnion
- add(boolean) - Method in class org.apache.avro.generic.PrimitivesArrays.BooleanArray
- add(int, boolean) - Method in class org.apache.avro.generic.PrimitivesArrays.BooleanArray
- add(int, double) - Method in class org.apache.avro.generic.PrimitivesArrays.DoubleArray
- add(int, float) - Method in class org.apache.avro.generic.PrimitivesArrays.FloatArray
- add(int, int) - Method in class org.apache.avro.generic.PrimitivesArrays.IntArray
- add(int, long) - Method in class org.apache.avro.generic.PrimitivesArrays.LongArray
- add(int, Boolean) - Method in class org.apache.avro.generic.PrimitivesArrays.BooleanArray
- add(int, Double) - Method in class org.apache.avro.generic.PrimitivesArrays.DoubleArray
- add(int, Float) - Method in class org.apache.avro.generic.PrimitivesArrays.FloatArray
- add(int, Integer) - Method in class org.apache.avro.generic.PrimitivesArrays.IntArray
- add(int, Long) - Method in class org.apache.avro.generic.PrimitivesArrays.LongArray
- add(int, T) - Method in class org.apache.avro.generic.GenericData.Array
- add(Boolean) - Method in class org.apache.avro.generic.PrimitivesArrays.BooleanArray
- 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
- addAlias(String, String) - Method in class org.apache.avro.Schema
-
If this is a record, enum or fixed, add an alias.
- addAllProps(JsonProperties) - Method in class org.apache.avro.JsonProperties
-
Adds all the props from the specified json properties.
- addAvroTypeMsg(AvroTypeException, String) - Method in class org.apache.avro.generic.GenericDatumWriter
-
Helper method for adding a message to an Avro Type Exception .
- addClassCastMsg(ClassCastException, String) - Method in class org.apache.avro.generic.GenericDatumWriter
-
Helper method for adding a message to an Class Cast Exception .
- addCodec(String, CodecFactory) - Static method in class org.apache.avro.file.CodecFactory
-
Adds a new codec implementation.
- addLogicalTypeConversion(Conversion<?>) - Method in class org.apache.avro.generic.GenericData
-
Registers the given conversion to be used when reading and writing with this data model.
- addParentField(Schema.Field) - Method in exception class org.apache.avro.AvroMissingFieldException
- addProp(String, Object) - Method in class org.apache.avro.JsonProperties
- addProp(String, Object) - Method in class org.apache.avro.Schema
- addProp(String, String) - Method in class org.apache.avro.JsonProperties
-
Adds a property with the given name name and value value.
- addProp(String, String) - Method in class org.apache.avro.Schema
- addSchema(Schema) - Method in class org.apache.avro.message.BinaryMessageDecoder
-
Adds a
Schema
that can be used to decode buffers. - addSchema(Schema) - Method in class org.apache.avro.message.SchemaStore.Cache
-
Adds a schema to this cache that can be retrieved using its AVRO-CRC-64 fingerprint.
- addStringable(Class) - Method in class org.apache.avro.reflect.ReflectData
-
Cause a class to be treated as though it had an
Stringable
* annotation. - addTo(Temporal) - Method in class org.apache.avro.util.TimePeriod
- 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. - addToSchema(Schema) - Method in class org.apache.avro.LogicalType
-
Add this logical type to the given Schema.
- addToSchema(Schema) - Method in class org.apache.avro.LogicalTypes.Decimal
- addTypes(Iterable<Schema>) - Method in class org.apache.avro.Schema.Parser
-
Adds the provided types to the set of defined, named types known to this parser.
- addTypes(Map<String, Schema>) - Method in class org.apache.avro.Schema.Parser
-
Deprecated.use addTypes(Iterable
types) - adjustAndSetValue(String, String) - Method in class org.apache.avro.Conversion
-
Certain logical types may require adjusting the code within the "setter" methods to make sure the data that is set is properly formatted.
- adjustAndSetValue(String, String) - Method in class org.apache.avro.data.TimeConversions.TimeMicrosConversion
- adjustAndSetValue(String, String) - Method in class org.apache.avro.data.TimeConversions.TimeMillisConversion
- adjustAndSetValue(String, String) - Method in class org.apache.avro.data.TimeConversions.TimestampMicrosConversion
- adjustAndSetValue(String, String) - Method in class org.apache.avro.data.TimeConversions.TimestampMillisConversion
- adjustAndSetValue(String, String) - Method in class org.apache.avro.data.TimeConversions.TimestampNanosConversion
- adjustments - Variable in class org.apache.avro.io.parsing.Symbol.EnumAdjustAction
- adjustments - Variable in class org.apache.avro.Resolver.EnumAdjust
- 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.
- afterVisitNonTerminal(Schema) - Method in class org.apache.avro.util.SchemaResolver.IsResolvedSchemaVisitor
- afterVisitNonTerminal(Schema) - Method in class org.apache.avro.util.SchemaResolver.ResolvingVisitor
- afterVisitNonTerminal(Schema) - Method in interface org.apache.avro.util.SchemaVisitor
-
Invoked for schemas with children after its children have been visited.
- alias() - Element in annotation type org.apache.avro.reflect.AvroAlias
- aliases - Variable in class org.apache.avro.io.parsing.Symbol.FieldAdjustAction
- aliases() - Method in class org.apache.avro.Schema.Field
-
Return the defined aliases as an unmodifiable Set.
- aliases(String...) - Method in class org.apache.avro.SchemaBuilder.NamedBuilder
-
configure this type's optional name aliases
- AllowNull() - Constructor for class org.apache.avro.reflect.ReflectData.AllowNull
- ALTERNATIVE - Enum constant in enum org.apache.avro.io.parsing.Symbol.Kind
-
non-terminal to represent the union
- and() - Method in class org.apache.avro.SchemaBuilder.UnionAccumulator
-
Add an additional type to this union
- 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. otherFile must have the same schema.
- appendEncoded(ByteBuffer) - Method in class org.apache.avro.file.DataFileWriter
-
Expert: Append a pre-encoded datum to the file.
- appendTo(File) - Method in class org.apache.avro.file.DataFileWriter
-
Open a writer appending to an existing file.
- appendTo(SeekableInput, OutputStream) - Method in class org.apache.avro.file.DataFileWriter
-
Open a writer appending to an existing file.
- AppendWriteException(Exception) - Constructor for exception class org.apache.avro.file.DataFileWriter.AppendWriteException
- applyAliases(Schema, Schema) - Static method in class org.apache.avro.Schema
-
Rewrite a writer's schema using the aliases from a reader's schema.
- array() - Static method in class org.apache.avro.SchemaBuilder
-
Create a builder for an Avro array This is equivalent to:
- array() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build an Avro array type
- array() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build an Avro array type Example usage:
- array() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build an Avro array type
- Array(int, Schema) - Constructor for class org.apache.avro.generic.GenericData.Array
- Array(Schema, Collection<T>) - Constructor for class org.apache.avro.generic.GenericData.Array
- ARRAY - Enum constant in enum org.apache.avro.Schema.Type
- ARRAY_END - Static variable in class org.apache.avro.io.parsing.Symbol
- ARRAY_START - Static variable in class org.apache.avro.io.parsing.Symbol
- ArrayBuilder(SchemaBuilder.Completion<R>, SchemaBuilder.NameContext) - Constructor for class org.apache.avro.SchemaBuilder.ArrayBuilder
- arrayDefault(List<V>) - Method in class org.apache.avro.SchemaBuilder.ArrayDefault
-
Completes this field with the default value provided, cannot be null
- arrayNext() - Method in class org.apache.avro.io.BinaryDecoder
- arrayNext() - Method in class org.apache.avro.io.Decoder
-
Processes the next block of an array and returns the number of items in the block and let's the caller read those items.
- arrayNext() - Method in class org.apache.avro.io.JsonDecoder
- arrayNext() - Method in class org.apache.avro.io.ValidatingDecoder
- ArrayPositionPredicate - Class in org.apache.avro.path
-
Returns items by their position (numeric index) in an array
- ArrayPositionPredicate(long) - Constructor for class org.apache.avro.path.ArrayPositionPredicate
- asByteBuffer() - Method in class org.apache.avro.util.NonCopyingByteArrayOutputStream
-
Get the contents of this ByteArrayOutputStream wrapped as a ByteBuffer.
- ASCENDING - Enum constant in enum org.apache.avro.Schema.Field.Order
- asString(byte[], Charset) - Static method in class org.apache.avro.util.UtfTextUtils
- AvroAlias - Annotation Type in org.apache.avro.reflect
-
Adds the given name and space as an alias to the schema.
- AvroAliases - Annotation Type in org.apache.avro.reflect
- AvroDefault - Annotation Type in org.apache.avro.reflect
-
Specifies a default value for a field as a JSON string.
- AvroDoc - Annotation Type in org.apache.avro.reflect
-
Sets the avrodoc for this java field.
- AvroEncode - Annotation Type in org.apache.avro.reflect
-
Expert: Fields with this annotation are encoded using the given custom encoder.
- AvroGenerated - Annotation Type in org.apache.avro.specific
-
Indicates that an annotated class is an Avro generated class.
- AvroIgnore - Annotation Type in org.apache.avro.reflect
-
Marks a field as transient.
- AvroMeta - Annotation Type in org.apache.avro.reflect
-
Adds the given key:Value pair as metadata into the schema, at the corresponding node.
- AvroMeta.AvroMetas - Annotation Type in org.apache.avro.reflect
- AvroMissingFieldException - Exception Class in org.apache.avro
-
Avro exception in case of missing fields.
- AvroMissingFieldException(String, Schema.Field) - Constructor for exception class org.apache.avro.AvroMissingFieldException
- AvroName - Annotation Type in org.apache.avro.reflect
-
Sets the avroname for this java field.
- AvroRemoteException - Exception Class in org.apache.avro
-
Base class for exceptions thrown to client by server.
- AvroRemoteException() - Constructor for exception class org.apache.avro.AvroRemoteException
- AvroRemoteException(Object) - Constructor for exception class org.apache.avro.AvroRemoteException
- AvroRemoteException(Object, Throwable) - Constructor for exception class org.apache.avro.AvroRemoteException
- AvroRemoteException(Throwable) - Constructor for exception class org.apache.avro.AvroRemoteException
- AvroRuntimeException - Exception Class in org.apache.avro
-
Base Avro exception.
- AvroRuntimeException(String) - Constructor for exception class org.apache.avro.AvroRuntimeException
- AvroRuntimeException(String, Throwable) - Constructor for exception class org.apache.avro.AvroRuntimeException
- AvroRuntimeException(Throwable) - Constructor for exception class org.apache.avro.AvroRuntimeException
- AvroSchema - Annotation Type in org.apache.avro.reflect
-
Declares that a Java type should have a specified Avro schema, overriding the normally inferred schema.
- Avro schemas as LL(1) CFG definitions - Search tag in package org.apache.avro.io.parsing
- Section
- AvroTypeException - Exception Class in org.apache.avro
-
Thrown when an illegal type is used.
- AvroTypeException(String) - Constructor for exception class org.apache.avro.AvroTypeException
- AvroTypeException(String, Throwable) - Constructor for exception class org.apache.avro.AvroTypeException
B
- BadHeaderException - Exception Class in org.apache.avro.message
-
Exception thrown by a
MessageDecoder
when a message header is not recognized. - BadHeaderException(String) - Constructor for exception class org.apache.avro.message.BadHeaderException
- BaseDecoder() - Constructor for class org.apache.avro.message.MessageDecoder.BaseDecoder
- BaseFieldTypeBuilder(SchemaBuilder.FieldBuilder<R>, SchemaBuilder.CompletionWrapper) - Constructor for class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
- bigDecimal() - Static method in class org.apache.avro.LogicalTypes
-
Create a Big Decimal LogicalType that can accept any precision and scale
- BigDecimalConversion() - Constructor for class org.apache.avro.Conversions.BigDecimalConversion
- 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(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
- 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 - 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
- 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. - BinaryEncoder - Class in org.apache.avro.io
-
An abstract
Encoder
for Avro's binary encoding. - BinaryEncoder() - Constructor for class org.apache.avro.io.BinaryEncoder
- BinaryMessageDecoder<D> - Class in org.apache.avro.message
-
A
MessageDecoder
that reads a binary-encoded datum. - BinaryMessageDecoder(GenericData, Schema) - Constructor for class org.apache.avro.message.BinaryMessageDecoder
-
Creates a new
BinaryMessageEncoder
that uses the givendata model
to construct datum instances described by theschema
. - BinaryMessageDecoder(GenericData, Schema, SchemaStore) - Constructor for class org.apache.avro.message.BinaryMessageDecoder
-
Creates a new
BinaryMessageEncoder
that uses the givendata model
to construct datum instances described by theschema
. - BinaryMessageEncoder<D> - Class in org.apache.avro.message
-
A
MessageEncoder
that adds a header and 8-byte schema fingerprint to each datum encoded as binary. - BinaryMessageEncoder(GenericData, Schema) - Constructor for class org.apache.avro.message.BinaryMessageEncoder
-
Creates a new
BinaryMessageEncoder
that uses the givendata model
to deconstruct datum instances described by theschema
. - BinaryMessageEncoder(GenericData, Schema, boolean) - Constructor for class org.apache.avro.message.BinaryMessageEncoder
-
Creates a new
BinaryMessageEncoder
that uses the givendata model
to deconstruct datum instances described by theschema
. - bldr - Variable in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
- blockFinished() - Method in class org.apache.avro.file.DataFileReader
- blockFinished() - Method in class org.apache.avro.file.DataFileStream
- blockingBinaryEncoder(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. - BlockingBinaryEncoder - Class in org.apache.avro.io
-
A
BinaryEncoder
implementation that writes large arrays and maps as a sequence of blocks. - blockingDirectBinaryEncoder(OutputStream, BinaryEncoder) - Method in class org.apache.avro.io.EncoderFactory
-
Creates or reinitializes a
BlockingDirectBinaryEncoder
with the OutputStream provided as the destination for written data. - BlockingDirectBinaryEncoder - Class in org.apache.avro.io
-
An
Encoder
for Avro's binary encoding that does not buffer output. - BlockingDirectBinaryEncoder(OutputStream) - Constructor for class org.apache.avro.io.BlockingDirectBinaryEncoder
-
Create a writer that sends its output to the underlying stream
out
. - BOOLEAN - Enum constant in enum org.apache.avro.Schema.Type
- BOOLEAN - Static variable in class org.apache.avro.io.parsing.Symbol
- BooleanArray(int, Schema) - Constructor for class org.apache.avro.generic.PrimitivesArrays.BooleanArray
- BooleanArray(Schema, Collection<Boolean>) - Constructor for class org.apache.avro.generic.PrimitivesArrays.BooleanArray
- booleanBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build a boolean type that can set custom properties.
- booleanBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build a boolean type that can set custom properties.
- booleanBuilder() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build a boolean type that can set custom properties.
- booleanDefault(boolean) - Method in class org.apache.avro.SchemaBuilder.BooleanDefault
-
Completes this field with the default value provided
- booleanType() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
A plain boolean type without custom properties.
- booleanType() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
A plain boolean type without custom properties.
- booleanType() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
A plain boolean type without custom properties.
- 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. - build() - Method in interface org.apache.avro.data.RecordBuilder
-
Constructs a new instance using the values set in the RecordBuilder.
- build() - Method in class org.apache.avro.generic.GenericRecordBuilder
- builder() - Static method in class org.apache.avro.SchemaBuilder
-
Create a builder for Avro schemas.
- builder(String) - Static method in class org.apache.avro.SchemaBuilder
-
Create a builder for Avro schemas with a default namespace.
- ByteBufferInputStream - Class in org.apache.avro.util
-
Utility to present
ByteBuffer
data as anInputStream
. - 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
inByteBuffer
s. - ByteBufferOutputStream() - Constructor for class org.apache.avro.util.ByteBufferOutputStream
- bytes() - Method in class org.apache.avro.generic.GenericData.Fixed
- bytes() - Method in interface org.apache.avro.generic.GenericFixed
-
Return the data.
- bytes() - Method in class org.apache.avro.specific.SpecificFixed
- bytes(byte[]) - Method in class org.apache.avro.generic.GenericData.Fixed
- bytes(byte[]) - Method in class org.apache.avro.specific.SpecificFixed
- BYTES - Enum constant in enum org.apache.avro.Schema.Type
- BYTES - Static variable in class org.apache.avro.io.parsing.Symbol
- bytesBuffered() - Method in class org.apache.avro.io.BinaryEncoder
-
Returns the number of bytes currently buffered by this encoder.
- bytesBuffered() - Method in class org.apache.avro.io.BlockingBinaryEncoder
- bytesBuffered() - Method in class org.apache.avro.io.BufferedBinaryEncoder
- bytesBuffered() - Method in class org.apache.avro.io.DirectBinaryEncoder
- bytesBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build a bytes type that can set custom properties.
- bytesBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build a bytes type that can set custom properties.
- bytesBuilder() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build a bytes type that can set custom properties.
- bytesDefault(byte[]) - Method in class org.apache.avro.SchemaBuilder.BytesDefault
-
Completes this field with the default value provided, cannot be null
- bytesDefault(String) - Method in class org.apache.avro.SchemaBuilder.BytesDefault
-
Completes this field with the default value provided, cannot be null.
- bytesDefault(ByteBuffer) - Method in class org.apache.avro.SchemaBuilder.BytesDefault
-
Completes this field with the default value provided, cannot be null
- bytesType() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
A plain bytes type without custom properties.
- bytesType() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
A plain bytes type without custom properties.
- bytesType() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
A plain bytes type without custom properties.
- BZIP2_CODEC - Static variable in class org.apache.avro.file.DataFileConstants
- bzip2Codec() - Static method in class org.apache.avro.file.CodecFactory
-
bzip2 codec.
- BZip2Codec - Class in org.apache.avro.file
-
Implements bzip2 compression and decompression.
- BZip2Codec() - Constructor for class org.apache.avro.file.BZip2Codec
C
- Cache() - Constructor for class org.apache.avro.message.SchemaStore.Cache
- calculateShift(int, int) - Static method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
-
Calculate a shift value that can be used to create a power-of-two value between the specified maximum and minimum values.
- canBeReadStrategy() - Method in class org.apache.avro.SchemaValidatorBuilder
-
Use a strategy that validates that a schema can be read by existing schema(s) according to the Avro default schema resolution.
- CanonicalSchemaFormatterFactory - Class in org.apache.avro
-
Schema formatter factory that supports the "Parsing Canonical Form".
- CanonicalSchemaFormatterFactory() - Constructor for class org.apache.avro.CanonicalSchemaFormatterFactory
- canReadStrategy() - Method in class org.apache.avro.SchemaValidatorBuilder
-
Use a strategy that validates that a schema can be used to read existing schema(s) according to the Avro default schema resolution.
- canReuse() - Method in interface org.apache.avro.io.FastReaderBuilder.FieldReader
- canReuse() - Method in class org.apache.avro.io.FastReaderBuilder.RecordReader
- canReuse() - Method in interface org.apache.avro.io.FastReaderBuilder.ReusingFieldReader
- charAt(int) - Method in class org.apache.avro.util.Utf8
- CharSequence - Enum constant in enum org.apache.avro.generic.GenericData.StringType
- checkMaxBytesLength(long) - Static method in exception class org.apache.avro.SystemLimitException
-
Check to ensure that reading the bytes is within the specified limits.
- checkMaxCollectionLength(long, long) - Static method in exception class org.apache.avro.SystemLimitException
-
Check to ensure that reading the specified number of items remains within the specified limits.
- checkMaxStringLength(long) - Static method in exception class org.apache.avro.SystemLimitException
-
Check to ensure that reading the string size is within the specified limits.
- checkReaderWriterCompatibility(Schema, Schema) - Static method in class org.apache.avro.SchemaCompatibility
-
Validates that the provided reader schema can be used to decode avro data written with the provided writer schema.
- CLASS_PROP - Static variable in class org.apache.avro.specific.SpecificData
- ClassUtils - Class in org.apache.avro.util
- clear() - Method in class org.apache.avro.generic.GenericData.Array
- clear() - Method in class org.apache.avro.generic.PrimitivesArrays.BooleanArray
- clear() - Method in class org.apache.avro.generic.PrimitivesArrays.DoubleArray
- clear() - Method in class org.apache.avro.generic.PrimitivesArrays.FloatArray
- clear() - Method in class org.apache.avro.generic.PrimitivesArrays.IntArray
- clear() - Method in class org.apache.avro.generic.PrimitivesArrays.LongArray
- clear() - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
- clear() - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Segment
-
Clear all items from this segment.
- clear() - Method in class org.apache.avro.util.WeakIdentityHashMap
- clear(int) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Clears the value of the given field.
- clear(String) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Clears the value of the given field.
- clear(Schema.Field) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Clears the value of the given field.
- clearCause() - Method in interface org.apache.avro.data.ErrorBuilder
-
Clears the cause
- clearCause() - Method in class org.apache.avro.specific.SpecificErrorBuilderBase
- clearValue() - Method in interface org.apache.avro.data.ErrorBuilder
-
Clears the value
- clearValue() - Method in class org.apache.avro.specific.SpecificErrorBuilderBase
- close() - Method in class org.apache.avro.file.DataFileReader12
-
Close this reader.
- close() - Method in class org.apache.avro.file.DataFileStream
-
Close this reader.
- close() - Method in class org.apache.avro.file.DataFileWriter
-
Flush and close the file.
- Codec - Class in org.apache.avro.file
-
Interface for Avro-supported compression codecs for data files.
- Codec() - Constructor for class org.apache.avro.file.Codec
- CODEC - Static variable in class org.apache.avro.file.DataFileConstants
- CodecFactory - Class in org.apache.avro.file
-
Encapsulates the ability to specify and configure a compression codec.
- CodecFactory() - Constructor for class org.apache.avro.file.CodecFactory
- commit() - Method in class org.apache.avro.ParseContext
- commit(Schema) - Method in class org.apache.avro.ParseContext
- 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) - 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(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.
- compareMaps(Map<?, ?>, Map<?, ?>) - Method in class org.apache.avro.generic.GenericData
- compareTo(GenericArray<T>) - Method in class org.apache.avro.generic.GenericData.AbstractArray
- compareTo(GenericData.EnumSymbol) - Method in class org.apache.avro.generic.GenericData.EnumSymbol
- compareTo(GenericData.Fixed) - Method in class org.apache.avro.generic.GenericData.Fixed
- compareTo(GenericData.Record) - Method in class org.apache.avro.generic.GenericData.Record
- compareTo(SpecificFixed) - Method in class org.apache.avro.specific.SpecificFixed
- compareTo(SpecificRecord) - Method in class org.apache.avro.specific.SpecificRecordBase
- compareTo(Utf8) - Method in class org.apache.avro.util.Utf8
- compatible() - Static method in class org.apache.avro.SchemaCompatibility.SchemaCompatibilityResult
-
Returns a details object representing a compatible schema pair.
- COMPATIBLE - Enum constant in enum org.apache.avro.SchemaCompatibility.SchemaCompatibilityType
- compress(ByteBuffer) - Method in class org.apache.avro.file.BZip2Codec
- compress(ByteBuffer) - Method in class org.apache.avro.file.Codec
-
Compresses the input data
- compress(ByteBuffer) - Method in class org.apache.avro.file.DeflateCodec
- compress(ByteBuffer) - Method in class org.apache.avro.file.SnappyCodec
- compress(ByteBuffer) - Method in class org.apache.avro.file.XZCodec
- compress(ByteBuffer) - Method in class org.apache.avro.file.ZstandardCodec
- computeIfAbsent(ConcurrentMap<K, V>, K, Function<K, V>) - Static method in class org.apache.avro.util.MapUtil
-
A temporary workaround for Java 8 specific performance issue JDK-8161372 .
This class should be removed once we drop Java 8 support. - computeOffset(ByteBuffer) - Static method in class org.apache.avro.file.Codec
- ConcurrentReferenceHashMap<K,
V> - Class in org.apache.avro.util.springframework - ConcurrentReferenceHashMap() - Constructor for class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMap
instance. - ConcurrentReferenceHashMap(int) - Constructor for class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMap
instance. - ConcurrentReferenceHashMap(int, float) - Constructor for class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMap
instance. - ConcurrentReferenceHashMap(int, float, int) - Constructor for class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMap
instance. - ConcurrentReferenceHashMap(int, float, int, ConcurrentReferenceHashMap.ReferenceType) - Constructor for class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMap
instance. - ConcurrentReferenceHashMap(int, int) - Constructor for class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMap
instance. - ConcurrentReferenceHashMap(int, ConcurrentReferenceHashMap.ReferenceType) - Constructor for class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
-
Create a new
ConcurrentReferenceHashMap
instance. - ConcurrentReferenceHashMap.Entry<K,
V> - Class in org.apache.avro.util.springframework -
A single map entry.
- ConcurrentReferenceHashMap.Reference<K,
V> - Interface in org.apache.avro.util.springframework -
A reference to an
ConcurrentReferenceHashMap.Entry
contained in the map. - ConcurrentReferenceHashMap.ReferenceManager - Class in org.apache.avro.util.springframework
-
Strategy class used to manage
References
. - ConcurrentReferenceHashMap.ReferenceType - Enum in org.apache.avro.util.springframework
-
Various reference types supported by this map.
- ConcurrentReferenceHashMap.Restructure - Enum in org.apache.avro.util.springframework
-
The types of restructuring that can be performed.
- ConcurrentReferenceHashMap.Segment - Class in org.apache.avro.util.springframework
-
A single segment used to divide the map to allow better concurrent performance.
- configure(InputStream) - Method in class org.apache.avro.io.JsonDecoder
-
Reconfigures this JsonDecoder to use the InputStream provided.
- configure(OutputStream) - Method in class org.apache.avro.io.JsonEncoder
-
Reconfigures this JsonEncoder to use the output stream provided.
- configure(OutputStream, boolean) - Method in class org.apache.avro.io.JsonEncoder
-
Reconfigures this JsonEncoder to use the output stream provided.
- configure(String) - Method in class org.apache.avro.io.JsonDecoder
-
Reconfigures this JsonDecoder to use the String provided for input.
- 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.
- Container(Schema, Schema, GenericData, Resolver.Action) - Constructor for class org.apache.avro.Resolver.Container
- CONTAINER - Enum constant in enum org.apache.avro.Resolver.Action.Type
- contains(String) - Method in class org.apache.avro.ParseContext
-
Tell whether this context contains a schema with the given name.
- containsKey(Object) - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
- 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
- CONTINUE - Enum constant in enum org.apache.avro.util.SchemaVisitor.SchemaVisitorAction
-
continue visit.
- conversion - Variable in class org.apache.avro.Resolver.Action
-
If the reader has a conversion that needs to be applied, it's stored here for fast access, otherwise this will be null.
- Conversion<T> - Class in org.apache.avro
-
Conversion between generic and logical type instances.
- Conversion() - Constructor for class org.apache.avro.Conversion
- Conversions - Class in org.apache.avro
- Conversions() - Constructor for class org.apache.avro.Conversions
- Conversions.BigDecimalConversion - Class in org.apache.avro
- Conversions.DecimalConversion - Class in org.apache.avro
- Conversions.DurationConversion - Class in org.apache.avro
- Conversions.UUIDConversion - Class in org.apache.avro
- convert(Object, Schema, LogicalType, Conversion<?>) - Method in class org.apache.avro.generic.GenericDatumReader
-
Convert an underlying representation of a logical type (such as a ByteBuffer) to a higher level object (such as a BigDecimal).
- convert(Schema, LogicalType, Conversion<T>, Object) - Method in class org.apache.avro.generic.GenericDatumWriter
-
Convert a high level representation of a logical type (such as a BigDecimal) to its underlying representation object (such as a ByteBuffer).
- convertToLogicalType(Object, Schema, LogicalType, Conversion<?>) - Static method in class org.apache.avro.Conversions
-
Convert an underlying representation of a logical type (such as a ByteBuffer) to a higher level object (such as a BigDecimal).
- convertToRawType(Object, Schema, LogicalType, Conversion<T>) - Static method in class org.apache.avro.Conversions
-
Convert a high level representation of a logical type (such as a BigDecimal) to its underlying representation object (such as a ByteBuffer)
- copyProperties(Schema, Schema) - Method in class org.apache.avro.util.SchemaResolver.ResolvingVisitor
- create(Schema.Type) - Static method in class org.apache.avro.Schema
-
Create a schema for a primitive type.
- create(Schema, File) - Method in class org.apache.avro.file.DataFileWriter
-
Open a new file for data matching a schema with a random sync.
- create(Schema, OutputStream) - Method in class org.apache.avro.file.DataFileWriter
-
Open a new file for data matching a schema with a random sync.
- create(Schema, OutputStream, byte[]) - Method in class org.apache.avro.file.DataFileWriter
-
Open a new file for data matching a schema with an explicit sync.
- createArray(Schema) - Static method in class org.apache.avro.Schema
-
Create an array schema.
- createBinaryDecoder(byte[], int, int, BinaryDecoder) - Method in class org.apache.avro.io.DecoderFactory
-
Deprecated.
- createBinaryDecoder(byte[], BinaryDecoder) - Method in class org.apache.avro.io.DecoderFactory
-
Deprecated.
- createBinaryDecoder(InputStream, BinaryDecoder) - Method in class org.apache.avro.io.DecoderFactory
-
Deprecated.use the equivalent
DecoderFactory.binaryDecoder(InputStream, BinaryDecoder)
instead - createBytes(byte[]) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to create byte arrays from default values.
- createDatumReader(Schema) - Method in class org.apache.avro.generic.GenericData
-
Returns a
DatumReader
for this kind of data. - createDatumReader(Schema) - Method in class org.apache.avro.io.FastReaderBuilder
- createDatumReader(Schema) - Method in class org.apache.avro.reflect.ReflectData
- createDatumReader(Schema) - Method in class org.apache.avro.specific.SpecificData
- createDatumReader(Schema, Schema) - Method in class org.apache.avro.generic.GenericData
-
Returns a
DatumReader
for this kind of data. - createDatumReader(Schema, Schema) - Method in class org.apache.avro.io.FastReaderBuilder
- createDatumReader(Schema, Schema) - Method in class org.apache.avro.reflect.ReflectData
- createDatumReader(Schema, Schema) - Method in class org.apache.avro.specific.SpecificData
- createDatumWriter(Schema) - Method in class org.apache.avro.generic.GenericData
-
Returns a
DatumWriter
for this kind of data. - createDatumWriter(Schema) - Method in class org.apache.avro.reflect.ReflectData
- createDatumWriter(Schema) - Method in class org.apache.avro.specific.SpecificData
- createEnum(String, String, String, List<String>) - Static method in class org.apache.avro.Schema
-
Create an enum schema.
- createEnum(String, String, String, List<String>, String) - Static method in class org.apache.avro.Schema
-
Create an enum schema.
- createEnum(String, Schema) - Method in class org.apache.avro.generic.GenericData
-
Called to create an enum value.
- createEnum(String, Schema) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to create an enum value.
- createEnum(String, Schema) - Method in class org.apache.avro.specific.SpecificData
- createFieldSchema(Field, Map<String, Schema>) - Method in class org.apache.avro.reflect.ReflectData.AllowNull
- createFieldSchema(Field, Map<String, Schema>) - Method in class org.apache.avro.reflect.ReflectData
-
Create a schema for a field.
- createFixed(Object, byte[], Schema) - Method in class org.apache.avro.generic.GenericData
-
Called to create an fixed value.
- createFixed(Object, byte[], Schema) - Method in class org.apache.avro.generic.GenericDatumReader
-
Deprecated.As of Avro 1.6.0 this method has been moved to
GenericData.createFixed(Object, byte[], Schema)
- createFixed(Object, Schema) - Method in class org.apache.avro.generic.GenericData
-
Called to create an fixed value.
- createFixed(Object, Schema) - Method in class org.apache.avro.generic.GenericDatumReader
-
Deprecated.As of Avro 1.6.0 this method has been moved to
GenericData.createFixed(Object, Schema)
- createFixed(Object, Schema) - Method in class org.apache.avro.reflect.ReflectData
- createFixed(Object, Schema) - Method in class org.apache.avro.specific.SpecificData
- createFixed(String, String, String, int) - Static method in class org.apache.avro.Schema
-
Create a fixed schema.
- 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, Map<String, ?>, Schema) - Method in class org.apache.avro.Protocol
-
Create a one-way message.
- createMessage(String, String, Map<String, ?>, Schema, Schema, Schema) - Method in class org.apache.avro.Protocol
-
Create a two-way message.
- createMessage(String, String, JsonProperties, Schema) - Method in class org.apache.avro.Protocol
-
Create a one-way message.
- createMessage(String, String, JsonProperties, Schema, Schema, Schema) - Method in class org.apache.avro.Protocol
-
Create a two-way message.
- createMessage(String, String, Schema) - Method in class org.apache.avro.Protocol
-
Deprecated.
- createMessage(String, String, Schema, Schema, Schema) - Method in class org.apache.avro.Protocol
-
Deprecated.
- createMessage(Protocol.Message, Schema) - Method in class org.apache.avro.Protocol
-
Create a one-way message using the
name
,doc
, andprops
ofm
. - createMessage(Protocol.Message, Schema, Schema, Schema) - Method in class org.apache.avro.Protocol
-
Create a two-way message using the
name
,doc
, andprops
ofm
. - createRecord(String, String, String, boolean) - Static method in class org.apache.avro.Schema
-
Create a named record schema.
- createRecord(String, String, String, boolean, List<Schema.Field>) - Static method in class org.apache.avro.Schema
-
Create a named record schema with fields already set.
- createRecord(List<Schema.Field>) - Static method in class org.apache.avro.Schema
-
Deprecated.This method allows to create Schema objects that cannot be parsed by
SchemaParser.parse(CharSequence)
. It will be removed in a future version of Avro. Better useSchema.createRecord(String, String, String, boolean, List)
to produce a fully qualified Schema. - createReference(ConcurrentReferenceHashMap.Entry<K, V>, int, ConcurrentReferenceHashMap.Reference<K, V>) - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap.ReferenceManager
-
Factory method used to create a new
ConcurrentReferenceHashMap.Reference
. - createReferenceManager() - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
-
Factory method that returns the
ConcurrentReferenceHashMap<K,
.V>.ReferenceManager - 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.
- createSchemaDefaultValue(Type, Field, Schema) - Method in class org.apache.avro.reflect.ReflectData
-
Get default value for a schema field.
- createString(Object) - Method in class org.apache.avro.generic.GenericData
-
Called to create an string value.
- createString(Object) - Method in class org.apache.avro.specific.SpecificData
- 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.
- createUnion(Schema...) - Static method in class org.apache.avro.Schema
-
Create a union schema.
- customDecode(ResolvingDecoder) - Method in class org.apache.avro.specific.SpecificRecordBase
- customEncode(Encoder) - Method in class org.apache.avro.specific.SpecificRecordBase
- CustomEncoding<T> - Class in org.apache.avro.reflect
-
Expert: a custom encoder and decoder that writes an object directly to avro.
- CustomEncoding() - Constructor for class org.apache.avro.reflect.CustomEncoding
D
- data() - Method in class org.apache.avro.data.RecordBuilderBase
- DataFileConstants - Class in org.apache.avro.file
-
Constants used in data files.
- DataFileReader<D> - Class in org.apache.avro.file
-
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>, boolean, byte[]) - 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 uninitialized 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 Class in org.apache.avro.file
-
Thrown by
DataFileWriter.append(Object)
when an exception occurs while writing a datum to the buffer. - date() - Static method in class org.apache.avro.LogicalTypes
- DateAsLongEncoding - Class in org.apache.avro.reflect
-
This encoder/decoder writes a java.util.Date object as a long to avro and reads a Date object from long.
- DateAsLongEncoding() - Constructor for class org.apache.avro.reflect.DateAsLongEncoding
- DateConversion() - Constructor for class org.apache.avro.data.TimeConversions.DateConversion
- 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.
- decimal(int) - Static method in class org.apache.avro.LogicalTypes
-
Create a Decimal LogicalType with the given precision and scale 0
- decimal(int, int) - Static method in class org.apache.avro.LogicalTypes
-
Create a Decimal LogicalType with the given precision and scale
- DecimalConversion() - Constructor for class org.apache.avro.Conversions.DecimalConversion
- decode(byte[]) - Method in class org.apache.avro.message.MessageDecoder.BaseDecoder
- decode(byte[]) - Method in interface org.apache.avro.message.MessageDecoder
-
Deserialize a single datum from a byte array.
- decode(byte[], D) - Method in class org.apache.avro.message.MessageDecoder.BaseDecoder
- decode(byte[], D) - Method in interface org.apache.avro.message.MessageDecoder
-
Deserialize a single datum from a byte array.
- decode(InputStream) - Method in class org.apache.avro.message.MessageDecoder.BaseDecoder
- decode(InputStream) - Method in interface org.apache.avro.message.MessageDecoder
-
Deserialize a single datum from an InputStream.
- decode(InputStream, D) - Method in class org.apache.avro.message.BinaryMessageDecoder
- decode(InputStream, D) - Method in interface org.apache.avro.message.MessageDecoder
-
Deserialize a single datum from an InputStream.
- decode(InputStream, D) - Method in class org.apache.avro.message.RawMessageDecoder
- decode(ByteBuffer) - Method in class org.apache.avro.message.MessageDecoder.BaseDecoder
- decode(ByteBuffer) - Method in interface org.apache.avro.message.MessageDecoder
-
Deserialize a single datum from a ByteBuffer.
- decode(ByteBuffer, D) - Method in class org.apache.avro.message.MessageDecoder.BaseDecoder
- decode(ByteBuffer, D) - Method in interface org.apache.avro.message.MessageDecoder
-
Deserialize a single datum from a ByteBuffer.
- 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
Decoder
s. - DecoderFactory() - Constructor for class org.apache.avro.io.DecoderFactory
-
Constructor for factory instances
- decompress(ByteBuffer) - Method in class org.apache.avro.file.BZip2Codec
- decompress(ByteBuffer) - Method in class org.apache.avro.file.Codec
-
Decompress the data
- decompress(ByteBuffer) - Method in class org.apache.avro.file.DeflateCodec
- decompress(ByteBuffer) - Method in class org.apache.avro.file.SnappyCodec
- decompress(ByteBuffer) - Method in class org.apache.avro.file.XZCodec
- decompress(ByteBuffer) - Method in class org.apache.avro.file.ZstandardCodec
- deepCopy(Schema, T) - Method in class org.apache.avro.generic.GenericData
-
Makes a deep copy of a value given its schema.
- DEFAULT_BUFFER_SIZE - Static variable in class org.apache.avro.file.BZip2Codec
- DEFAULT_COMPRESSION - Static variable in class org.apache.avro.file.XZCodec
- DEFAULT_COMPRESSION - Static variable in class org.apache.avro.file.ZstandardCodec
- DEFAULT_DEFLATE_LEVEL - Static variable in class org.apache.avro.file.CodecFactory
- DEFAULT_END_ACTION - Static variable in class org.apache.avro.io.parsing.Symbol
- DEFAULT_SYNC_INTERVAL - Static variable in class org.apache.avro.file.DataFileConstants
- DEFAULT_USE_BUFFERPOOL - Static variable in class org.apache.avro.file.ZstandardCodec
- DEFAULT_XZ_LEVEL - Static variable in class org.apache.avro.file.CodecFactory
- DEFAULT_ZSTANDARD_BUFFERPOOL - Static variable in class org.apache.avro.file.CodecFactory
- DEFAULT_ZSTANDARD_LEVEL - Static variable in class org.apache.avro.file.CodecFactory
- defaultFactory() - Static method in class org.apache.avro.io.DecoderFactory
-
Deprecated.use the equivalent
DecoderFactory.get()
instead - defaults - Variable in class org.apache.avro.Resolver.RecordAdjust
-
Contains the default values to be used for the last readerOrder.length-firstDefault fields in rearderOrder.
- defaultStartAction(byte[]) - Static method in class org.apache.avro.io.parsing.Symbol
- DefaultStartAction(byte[]) - Constructor for class org.apache.avro.io.parsing.Symbol.DefaultStartAction
-
Deprecated.
- defaultSymbol(String) - Method in class org.apache.avro.SchemaBuilder.EnumBuilder
-
Set the default value of the enum.
- defaultVal() - Method in class org.apache.avro.Schema.Field
- defaultValue(Schema.Field) - Method in class org.apache.avro.data.RecordBuilderBase
-
Gets the default value of the given field, if any.
- 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. compressionLevel should be between 1 and 9, inclusive.
- DeflateCodec - Class in org.apache.avro.file
-
Implements DEFLATE (RFC1951) compression and decompression.
- DeflateCodec(int) - Constructor for class org.apache.avro.file.DeflateCodec
- 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
- DESCENDING - Enum constant in enum org.apache.avro.Schema.Field.Order
- describe(Object) - Static method in class org.apache.avro.util.SchemaUtil
- describe(Schema) - Static method in class org.apache.avro.util.SchemaUtil
- detectUtfCharset(byte[]) - Static method in class org.apache.avro.util.UtfTextUtils
-
Assuming UTF encoded bytes, detect the UTF variant (8/16/32 bits, big/little endian).
- 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(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. - DirectBinaryEncoder - Class in org.apache.avro.io
-
An
Encoder
for Avro's binary encoding that does not buffer output. - DirectBinaryEncoder(OutputStream) - Constructor for class org.apache.avro.io.DirectBinaryEncoder
-
Create a writer that sends its output to the underlying stream
out
. - DO_NOTHING - Enum constant in enum org.apache.avro.Resolver.Action.Type
- doAction(Symbol, Symbol) - Method in class org.apache.avro.io.JsonDecoder
- doAction(Symbol, Symbol) - Method in class org.apache.avro.io.JsonEncoder
- doAction(Symbol, Symbol) - Method in interface org.apache.avro.io.parsing.Parser.ActionHandler
-
Handle the action symbol top when the input is sought to be taken off the stack.
- doAction(Symbol, Symbol) - Method in class org.apache.avro.io.ResolvingDecoder
- doAction(Symbol, Symbol) - Method in class org.apache.avro.io.ValidatingDecoder
- doAction(Symbol, Symbol) - Method in class org.apache.avro.io.ValidatingEncoder
- doc() - Method in class org.apache.avro.Schema.Field
-
Field's documentation within the record, if set.
- doc(String) - Method in class org.apache.avro.SchemaBuilder.NamedBuilder
-
configure this type's optional documentation string
- DoNothing(Schema, Schema, GenericData) - Constructor for class org.apache.avro.Resolver.DoNothing
- 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
- doTask(int, Object, ConcurrentReferenceHashMap.Task<T>) - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Segment
-
Apply an update operation to this segment.
- DOUBLE - Enum constant in enum org.apache.avro.Schema.Type
- DOUBLE - Static variable in class org.apache.avro.io.parsing.Symbol
- DoubleArray(int, Schema) - Constructor for class org.apache.avro.generic.PrimitivesArrays.DoubleArray
- DoubleArray(Schema, Collection<Double>) - Constructor for class org.apache.avro.generic.PrimitivesArrays.DoubleArray
- doubleBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build a double type that can set custom properties.
- doubleBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build a double type that can set custom properties.
- doubleBuilder() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build a double type that can set custom properties.
- doubleDefault(double) - Method in class org.apache.avro.SchemaBuilder.DoubleDefault
-
Completes this field with the default value provided
- doubleType() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
A plain double type without custom properties.
- doubleType() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
A plain double type without custom properties.
- doubleType() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
A plain double type without custom properties.
- drain() - Method in class org.apache.avro.io.ResolvingDecoder
-
Consume any more data that has been written by the writer but not needed by the reader so that the the underlying decoder is in proper shape for the next record.
- duration() - Static method in class org.apache.avro.LogicalTypes
- DurationConversion() - Constructor for class org.apache.avro.Conversions.DurationConversion
E
- ELEMENT_PROP - Static variable in class org.apache.avro.specific.SpecificData
- elementAction - Variable in class org.apache.avro.Resolver.Container
- encode(D) - Method in class org.apache.avro.message.BinaryMessageEncoder
- encode(D) - Method in interface org.apache.avro.message.MessageEncoder
-
Serialize a single datum to a ByteBuffer.
- encode(D) - Method in class org.apache.avro.message.RawMessageEncoder
- encode(D, OutputStream) - Method in class org.apache.avro.message.BinaryMessageEncoder
- encode(D, OutputStream) - Method in interface org.apache.avro.message.MessageEncoder
-
Serialize a single datum to an OutputStream.
- encode(D, OutputStream) - Method in class org.apache.avro.message.RawMessageEncoder
- encode(Encoder, Schema, JsonNode) - Static method in class org.apache.avro.io.parsing.ResolvingGrammarGenerator
-
Encodes the given Json node n on to the encoder e according to the schema s.
- encodeBoolean(boolean, byte[], int) - Static method in class org.apache.avro.io.BinaryData
-
Encode a boolean to the byte array at the given position.
- encodeDouble(double, byte[], int) - Static method in class org.apache.avro.io.BinaryData
-
Encode a double to the byte array at the given position.
- encodeFloat(float, byte[], int) - Static method in class org.apache.avro.io.BinaryData
-
Encode a float to the byte array at the given position.
- encodeInt(int, byte[], int) - Static method in class org.apache.avro.io.BinaryData
-
Encode an integer to the byte array at the given position.
- encodeLong(long, byte[], int) - Static method in class org.apache.avro.io.BinaryData
-
Encode a long to the byte array at the given position.
- Encoder - Class in org.apache.avro.io
-
Low-level support for serializing Avro values.
- Encoder() - Constructor for class org.apache.avro.io.Encoder
- EncoderFactory - Class in org.apache.avro.io
-
A factory for creating and configuring
Encoder
instances. - EncoderFactory() - Constructor for class org.apache.avro.io.EncoderFactory
- end - Variable in class org.apache.avro.io.parsing.Symbol.Repeater
- endBoolean() - Method in class org.apache.avro.SchemaBuilder.BooleanBuilder
-
complete building this type, return control to context
- endBytes() - Method in class org.apache.avro.SchemaBuilder.BytesBuilder
-
complete building this type, return control to context
- endDouble() - Method in class org.apache.avro.SchemaBuilder.DoubleBuilder
-
complete building this type, return control to context
- endFloat() - Method in class org.apache.avro.SchemaBuilder.FloatBuilder
-
complete building this type, return control to context
- endInt() - Method in class org.apache.avro.SchemaBuilder.IntBuilder
-
complete building this type, return control to context
- endLong() - Method in class org.apache.avro.SchemaBuilder.LongBuilder
-
complete building this type, return control to context
- endNull() - Method in class org.apache.avro.SchemaBuilder.NullBuilder
-
complete building this type, return control to context
- endRecord() - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
End adding fields to this record, returning control to the context that this record builder was created in.
- endString() - Method in class org.apache.avro.SchemaBuilder.StringBldr
-
complete building this type, return control to context
- endUnion() - Method in class org.apache.avro.SchemaBuilder.UnionAccumulator
-
Complete this union
- Entry(K, V) - Constructor for class org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Entry
- entrySet() - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
- entrySet() - Method in class org.apache.avro.util.WeakIdentityHashMap
- ENUM - Enum constant in enum org.apache.avro.Resolver.Action.Type
- ENUM - Enum constant in enum org.apache.avro.Schema.Type
- ENUM - Static variable in class org.apache.avro.io.parsing.Symbol
- enumAdjustAction(int, Object[]) - Static method in class org.apache.avro.io.parsing.Symbol
- EnumAdjustAction(int, Object[]) - Constructor for class org.apache.avro.io.parsing.Symbol.EnumAdjustAction
-
Deprecated.
- enumDefault(String) - Method in class org.apache.avro.SchemaBuilder.EnumDefault
-
Completes this field with the default value provided, cannot be null
- enumeration(String) - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build an Avro enum type.
- enumeration(String) - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build an Avro enum type.
- enumeration(String) - Static method in class org.apache.avro.SchemaBuilder
-
Create a builder for an Avro enum with the specified name and symbols (values).
- enumeration(String) - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build an Avro enum type.
- enumLabelsAction(List<String>) - Static method in class org.apache.avro.io.parsing.Symbol
-
For JSON.
- EnumLabelsAction(List<String>) - Constructor for class org.apache.avro.io.parsing.Symbol.EnumLabelsAction
-
Deprecated.
- EnumSymbol(Schema, Object) - Constructor for class org.apache.avro.generic.GenericData.EnumSymbol
-
Maps existing Objects into an Avro enum by calling toString(), eg for Java Enums
- EnumSymbol(Schema, String) - Constructor for class org.apache.avro.generic.GenericData.EnumSymbol
- equals(Object) - Method in class org.apache.avro.data.RecordBuilderBase
- equals(Object) - Method in class org.apache.avro.file.BZip2Codec
- equals(Object) - Method in class org.apache.avro.file.Codec
-
Codecs must implement an equals() method.
- equals(Object) - Method in class org.apache.avro.file.DeflateCodec
- equals(Object) - Method in class org.apache.avro.file.SnappyCodec
- equals(Object) - Method in class org.apache.avro.file.XZCodec
- equals(Object) - Method in class org.apache.avro.file.ZstandardCodec
- equals(Object) - Method in class org.apache.avro.generic.GenericData.AbstractArray
- equals(Object) - Method in class org.apache.avro.generic.GenericData.EnumSymbol
- equals(Object) - Method in class org.apache.avro.generic.GenericData.Fixed
- equals(Object) - Method in class org.apache.avro.generic.GenericData.Record
- equals(Object) - Method in class org.apache.avro.generic.GenericRecordBuilder
- equals(Object) - Method in class org.apache.avro.LogicalTypes.Decimal
- equals(Object) - Method in class org.apache.avro.Protocol
- equals(Object) - Method in class org.apache.avro.Protocol.Message
- equals(Object) - Method in class org.apache.avro.Schema
- equals(Object) - Method in class org.apache.avro.Schema.Field
- equals(Object) - Method in class org.apache.avro.Schema.SeenPair
- equals(Object) - Method in class org.apache.avro.SchemaCompatibility.Incompatibility
- equals(Object) - Method in class org.apache.avro.SchemaCompatibility.SchemaCompatibilityResult
- equals(Object) - Method in class org.apache.avro.SchemaCompatibility.SchemaPairCompatibility
- equals(Object) - Method in exception class org.apache.avro.specific.SpecificExceptionBase
- equals(Object) - Method in class org.apache.avro.specific.SpecificFixed
- equals(Object) - Method in class org.apache.avro.specific.SpecificRecordBase
- equals(Object) - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Entry
- equals(Object) - Method in class org.apache.avro.util.TimePeriod
- equals(Object) - Method in class org.apache.avro.util.Utf8
- equals(Object) - Method in class org.apache.avro.util.WeakIdentityHashMap
- error - Variable in class org.apache.avro.Resolver.ErrorAction
- ERROR - Enum constant in enum org.apache.avro.Resolver.Action.Type
- ERROR_RESERVED_WORDS - Static variable in class org.apache.avro.specific.SpecificData
- ErrorAction(Schema, Schema, GenericData, Resolver.ErrorAction.ErrorType) - Constructor for class org.apache.avro.Resolver.ErrorAction
- ErrorBuilder<T> - Interface in org.apache.avro.data
-
Interface for error builders
- execute(Object, Decoder) - Method in interface org.apache.avro.io.FastReaderBuilder.ExecutionStep
- EXPLICIT_ACTION - Enum constant in enum org.apache.avro.io.parsing.Symbol.Kind
-
non-terminal action symbol which is explicitly consumed
- Explicit Types and Types by Name - Search tag in class org.apache.avro.SchemaBuilder
- Section
F
- FAST_READER_PROP - Static variable in class org.apache.avro.generic.GenericData
- FastReaderBuilder - Class in org.apache.avro.io
- FastReaderBuilder(GenericData) - Constructor for class org.apache.avro.io.FastReaderBuilder
- FastReaderBuilder.ExecutionStep - Interface in org.apache.avro.io
- FastReaderBuilder.FieldReader - Interface in org.apache.avro.io
- FastReaderBuilder.MapReader - Class in org.apache.avro.io
- FastReaderBuilder.RecordReader - Class in org.apache.avro.io
- FastReaderBuilder.RecordReader.Stage - Enum in org.apache.avro.io
- FastReaderBuilder.ReusingFieldReader - Interface in org.apache.avro.io
- Field(String, Schema) - Constructor for class org.apache.avro.Schema.Field
- Field(String, Schema, String) - Constructor for class org.apache.avro.Schema.Field
- Field(String, Schema, String, Object) - Constructor for class org.apache.avro.Schema.Field
- Field(String, Schema, String, Object, Schema.Field.Order) - Constructor for class org.apache.avro.Schema.Field
- Field(Schema.Field, Schema) - Constructor for class org.apache.avro.Schema.Field
-
Constructs a new Field instance with the same
name
,doc
,defaultValue
, andorder
asfield
has with changing the schema to the specified one. - FIELD_ACTION - Static variable in class org.apache.avro.io.parsing.Symbol
- FIELD_END - Static variable in class org.apache.avro.io.parsing.Symbol
- fieldActions - Variable in class org.apache.avro.Resolver.RecordAdjust
-
An action for each field of the writer.
- fieldAdjustAction(int, String, Set<String>) - Static method in class org.apache.avro.io.parsing.Symbol
- FieldAdjustAction(int, String, Set<String>) - Constructor for class org.apache.avro.io.parsing.Symbol.FieldAdjustAction
-
Deprecated.
- fieldOrderAction(Schema.Field[]) - Static method in class org.apache.avro.io.parsing.Symbol
- FieldOrderAction(Schema.Field[]) - Constructor for class org.apache.avro.io.parsing.Symbol.FieldOrderAction
-
Deprecated.
- fields - Variable in class org.apache.avro.io.parsing.Symbol.FieldOrderAction
- fields() - Method in class org.apache.avro.data.RecordBuilderBase
- fields() - Method in class org.apache.avro.SchemaBuilder.RecordBuilder
- Fields - Search tag in class org.apache.avro.SchemaBuilder
- Section
- fieldSetFlags() - Method in class org.apache.avro.data.RecordBuilderBase
- FileReader<D> - Interface in org.apache.avro.file
-
Interface for reading data from a file.
- find(String, String) - Method in class org.apache.avro.ParseContext
-
Find a schema by name and namespace.
- findByFingerprint(long) - Method in class org.apache.avro.message.SchemaStore.Cache
- findByFingerprint(long) - Method in interface org.apache.avro.message.SchemaStore
-
Retrieves a fingerprint by its AVRO-CRC-64 fingerprint.
- findLabel(String) - Method in class org.apache.avro.io.parsing.Symbol.Alternative
- findLabel(String) - Method in class org.apache.avro.io.parsing.Symbol.EnumLabelsAction
- findStringClass(Schema) - Method in class org.apache.avro.generic.GenericDatumReader
-
Determines the class to used to represent a string Schema.
- findStringClass(Schema) - Method in class org.apache.avro.specific.SpecificDatumReader
- fingerprint(String, byte[]) - Static method in class org.apache.avro.SchemaNormalization
-
Returns a fingerprint of a string of bytes.
- fingerprint64(byte[]) - Static method in class org.apache.avro.SchemaNormalization
-
Returns the 64-bit Rabin Fingerprint (as recommended in the Avro spec) of a byte string.
- finishInitialization(FastReaderBuilder.ExecutionStep[], Schema, GenericData.InstanceSupplier) - Method in class org.apache.avro.io.FastReaderBuilder.RecordReader
- firstDefault - Variable in class org.apache.avro.Resolver.RecordAdjust
-
Pointer into
Resolver.RecordAdjust.readerOrder
of the first reader field whose value comes from a default value. - firstMatch - Variable in class org.apache.avro.Resolver.ReaderUnion
- fixed(String) - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build an Avro fixed type.
- fixed(String) - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build an Avro fixed type.
- fixed(String) - Static method in class org.apache.avro.SchemaBuilder
-
Create a builder for an Avro fixed type with the specified name and size.
- fixed(String) - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build an Avro fixed type.
- Fixed() - Constructor for class org.apache.avro.generic.GenericData.Fixed
- Fixed(Schema) - Constructor for class org.apache.avro.generic.GenericData.Fixed
- Fixed(Schema, byte[]) - Constructor for class org.apache.avro.generic.GenericData.Fixed
- FIXED - Enum constant in enum org.apache.avro.Schema.Type
- FIXED - Static variable in class org.apache.avro.io.parsing.Symbol
- FIXED_SIZE_MISMATCH - Enum constant in enum org.apache.avro.SchemaCompatibility.SchemaIncompatibilityType
- fixedDefault(byte[]) - Method in class org.apache.avro.SchemaBuilder.FixedDefault
-
Completes this field with the default value provided, cannot be null
- fixedDefault(String) - Method in class org.apache.avro.SchemaBuilder.FixedDefault
-
Completes this field with the default value provided, cannot be null.
- fixedDefault(ByteBuffer) - Method in class org.apache.avro.SchemaBuilder.FixedDefault
-
Completes this field with the default value provided, cannot be null
- 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() - Method in class org.apache.avro.io.parsing.Symbol.Sequence
- 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.
- FLOAT - Enum constant in enum org.apache.avro.Schema.Type
- FLOAT - Static variable in class org.apache.avro.io.parsing.Symbol
- FloatArray(int, Schema) - Constructor for class org.apache.avro.generic.PrimitivesArrays.FloatArray
- FloatArray(Schema, Collection<Float>) - Constructor for class org.apache.avro.generic.PrimitivesArrays.FloatArray
- floatBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build a float type that can set custom properties.
- floatBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build a float type that can set custom properties.
- floatBuilder() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build a float type that can set custom properties.
- floatDefault(float) - Method in class org.apache.avro.SchemaBuilder.FloatDefault
-
Completes this field with the default value provided
- floatType() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
A plain float type without custom properties.
- floatType() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
A plain float type without custom properties.
- floatType() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
A plain float type without custom properties.
- flush() - Method in class org.apache.avro.file.DataFileWriter
-
Calls DataFileWriter.sync() and then flushes 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
- forEachProperty(BiConsumer<String, Object>) - Method in class org.apache.avro.JsonProperties
- format(String, Schema) - Static method in interface org.apache.avro.SchemaFormatter
-
Format a schema with the specified format.
- format(Schema) - Method in class org.apache.avro.CanonicalSchemaFormatterFactory
- format(Schema) - Method in class org.apache.avro.JsonSchemaFormatter
- format(Schema) - Method in interface org.apache.avro.SchemaFormatter
-
Write the specified schema as a String.
- formatName() - Method in interface org.apache.avro.SchemaFormatterFactory
-
Return the name of the format this formatter factory supports.
- FormattedSchemaParser - Interface in org.apache.avro
-
Schema parser for a specific schema format.
- forName(Class<?>, String) - Static method in class org.apache.avro.util.ClassUtils
-
Loads a class using the class loader. 1.
- forName(ClassLoader, String) - Static method in class org.apache.avro.util.ClassUtils
-
Loads a class using the class loader. 1.
- forName(String) - Static method in class org.apache.avro.util.ClassUtils
-
Loads a class using the class loader. 1.
- from(TemporalAmount) - Static method in class org.apache.avro.util.TimePeriod
- fromArray(Collection<?>, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- fromBoolean(Boolean, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- fromBytes(ByteBuffer, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- fromBytes(ByteBuffer, Schema, LogicalType) - Method in class org.apache.avro.Conversions.BigDecimalConversion
- fromBytes(ByteBuffer, Schema, LogicalType) - Method in class org.apache.avro.Conversions.DecimalConversion
- fromCharSequence(CharSequence, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- fromCharSequence(CharSequence, Schema, LogicalType) - Method in class org.apache.avro.Conversions.UUIDConversion
- fromDouble(Double, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- fromEnumSymbol(GenericEnumSymbol<?>, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- fromFixed(GenericFixed, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- fromFixed(GenericFixed, Schema, LogicalType) - Method in class org.apache.avro.Conversions.DecimalConversion
- fromFixed(GenericFixed, Schema, LogicalType) - Method in class org.apache.avro.Conversions.DurationConversion
- fromFixed(GenericFixed, Schema, LogicalType) - Method in class org.apache.avro.Conversions.UUIDConversion
- fromFloat(Float, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- fromInt(Integer, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- fromInt(Integer, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.DateConversion
- fromInt(Integer, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.TimeMillisConversion
- fromLong(Long, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- fromLong(Long, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.LocalTimestampMicrosConversion
- fromLong(Long, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.LocalTimestampMillisConversion
- fromLong(Long, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.LocalTimestampNanosConversion
- fromLong(Long, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.TimeMicrosConversion
- fromLong(Long, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.TimestampMicrosConversion
- fromLong(Long, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.TimestampMillisConversion
- fromLong(Long, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.TimestampNanosConversion
- fromMap(Map<?, ?>, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- fromRecord(IndexedRecord, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- fromSchema(Schema) - Static method in class org.apache.avro.LogicalTypes
-
Returns the
LogicalType
from the schema, if one is present. - fromSchema(Schema) - Method in interface org.apache.avro.LogicalTypes.LogicalTypeFactory
- fromSchemaIgnoreInvalid(Schema) - Static method in class org.apache.avro.LogicalTypes
- fromString(String) - Static method in class org.apache.avro.file.CodecFactory
-
Maps a codec name into a CodecFactory.
- fSync() - Method in class org.apache.avro.file.DataFileWriter
-
If this writer was instantiated using a File, FileOutputStream or Syncable instance, this method flushes all buffers for this writer to disk.
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) - 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.JsonGrammarGenerator
-
Returns the non-terminal that is the start symbol for grammar of 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.
- 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.
- GenericArray<T> - Interface in org.apache.avro.generic
-
Array that permits reuse of contained elements.
- GenericContainer - Interface in org.apache.avro.generic
-
Contains data of other types.
- GenericData - Class in org.apache.avro.generic
-
Utilities for generic Java data.
- GenericData() - Constructor for class org.apache.avro.generic.GenericData
-
For subclasses.
- GenericData(ClassLoader) - Constructor for class org.apache.avro.generic.GenericData
-
For subclasses.
- GenericData.AbstractArray<T> - Class in org.apache.avro.generic
- GenericData.Array<T> - Class in org.apache.avro.generic
-
Default implementation of an array.
- GenericData.EnumSymbol - Class in org.apache.avro.generic
-
Default implementation of
GenericEnumSymbol
. - GenericData.Fixed - Class in org.apache.avro.generic
-
Default implementation of
GenericFixed
. - GenericData.InstanceSupplier - Interface in org.apache.avro.generic
- GenericData.Record - Class in org.apache.avro.generic
-
Default implementation of
GenericRecord
. - GenericData.StringType - Enum in org.apache.avro.generic
-
Used to specify the Java type for a string schema.
- GenericDatumReader<D> - Class in org.apache.avro.generic
-
DatumReader
for generic Java objects. - GenericDatumReader() - Constructor for class org.apache.avro.generic.GenericDatumReader
- GenericDatumReader(GenericData) - 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<E> - Interface in org.apache.avro.generic
-
An enum symbol.
- GenericFixed - Interface in org.apache.avro.generic
-
Fixed-size data.
- GenericRecord - Interface in org.apache.avro.generic
-
A generic instance of a record schema.
- GenericRecordBuilder - Class in org.apache.avro.generic
-
A RecordBuilder for generic records.
- GenericRecordBuilder(GenericData.Record) - Constructor for class org.apache.avro.generic.GenericRecordBuilder
-
Creates a GenericRecordBuilder by copying an existing record instance.
- GenericRecordBuilder(GenericRecordBuilder) - Constructor for class org.apache.avro.generic.GenericRecordBuilder
-
Creates a GenericRecordBuilder by copying an existing GenericRecordBuilder.
- GenericRecordBuilder(Schema) - Constructor for class org.apache.avro.generic.GenericRecordBuilder
-
Creates a GenericRecordBuilder for building Record instances.
- get() - Static method in class org.apache.avro.generic.GenericData
-
Return the singleton instance.
- 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() - Static method in class org.apache.avro.io.FastReaderBuilder
- 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() - Method in class org.apache.avro.util.SchemaResolver.IsResolvedSchemaVisitor
- get() - Method in class org.apache.avro.util.SchemaResolver.ResolvingVisitor
- get() - Method in interface org.apache.avro.util.SchemaVisitor
-
Invoked when visiting is complete.
- get() - Method in interface org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Reference
-
Return the referenced entry, or
null
if the entry is no longer available. - get(int) - Method in class org.apache.avro.generic.GenericData.Array
- get(int) - Method in class org.apache.avro.generic.GenericData.Record
- get(int) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Gets the value of a field.
- get(int) - Method in interface org.apache.avro.generic.IndexedRecord
-
Return the value of a field given its position in the schema.
- get(int) - Method in class org.apache.avro.generic.PrimitivesArrays.BooleanArray
- get(int) - Method in class org.apache.avro.generic.PrimitivesArrays.DoubleArray
- get(int) - Method in class org.apache.avro.generic.PrimitivesArrays.FloatArray
- get(int) - Method in class org.apache.avro.generic.PrimitivesArrays.IntArray
- get(int) - Method in class org.apache.avro.generic.PrimitivesArrays.LongArray
- get(int) - Method in class org.apache.avro.io.parsing.Symbol.Sequence
- get(int) - Method in exception class org.apache.avro.specific.SpecificExceptionBase
- get(Object) - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
- get(Object) - Method in class org.apache.avro.util.WeakIdentityHashMap
- get(String) - Method in class org.apache.avro.generic.GenericData.Record
- get(String) - Method in interface org.apache.avro.generic.GenericRecord
-
Return the value of a field given its name.
- get(String) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Gets the value of a field.
- get(String) - Method in class org.apache.avro.specific.SpecificRecordBase
- get(TemporalUnit) - Method in class org.apache.avro.util.TimePeriod
- get(Schema.Field) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Gets the value of a field.
- getAliases() - Method in class org.apache.avro.Schema
-
If this is a record, enum or fixed, return its aliases, if any.
- getArrayAsCollection(Object) - Method in class org.apache.avro.generic.GenericData
-
Called to access an array as a collection.
- getArrayAsCollection(Object) - Method in class org.apache.avro.reflect.ReflectData
- 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. - 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. - 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.file.DataFileStream
-
Expert: Return the size in bytes (uncompressed) of the current block.
- getBlockSize() - Method in class org.apache.avro.io.EncoderFactory
-
Returns this factory's configured default block buffer size.
- getBoolean(int) - Method in class org.apache.avro.generic.PrimitivesArrays.BooleanArray
-
Direct primitive int access.
- getBufferList() - Method in class org.apache.avro.util.ByteBufferOutputStream
-
Returns all data written and resets the stream to be empty.
- getBufferSize() - Method in class org.apache.avro.io.EncoderFactory
-
Returns this factory's configured default buffer size.
- getByteLength() - Method in class org.apache.avro.util.Utf8
-
Return length in bytes.
- getBytes() - Method in class org.apache.avro.util.Utf8
-
Return UTF-8 encoded bytes.
- getBytesFor(String) - Static method in class org.apache.avro.util.Utf8
-
Gets the UTF-8 bytes for a String
- getCause() - Method in interface org.apache.avro.data.ErrorBuilder
-
Gets the error cause
- getCause() - Method in exception class org.apache.avro.path.TracingClassCastException
- getCause() - Method in exception class org.apache.avro.path.TracingNullPointException
- getCause() - Method in class org.apache.avro.specific.SpecificErrorBuilderBase
- getClass(Schema) - Method in class org.apache.avro.reflect.ReflectData
- getClass(Schema) - Method in class org.apache.avro.specific.SpecificData
-
Return the class that implements a schema, or null if none exists.
- getClassLoader() - Method in class org.apache.avro.generic.GenericData
-
Return the class loader that's used (by subclasses).
- getClassName(Schema) - Static method in class org.apache.avro.specific.SpecificData
-
Returns the Java class name indicated by a schema's name and namespace.
- getCompatibility() - Method in class org.apache.avro.SchemaCompatibility.SchemaCompatibilityResult
-
Returns the SchemaCompatibilityType, always non-null.
- getConfiguredBufferSize() - Method in class org.apache.avro.io.DecoderFactory
-
Returns this factory's configured preferred buffer size.
- getConstructorAsFunction(Class<V>, Class<R>) - Static method in class org.apache.avro.reflect.ReflectionUtil
- getConversion(int) - Method in class org.apache.avro.specific.SpecificRecordBase
- getConversion(String) - Method in class org.apache.avro.specific.SpecificRecordBase
- getConversionByClass(Class<T>) - Method in class org.apache.avro.generic.GenericData
-
Returns the first conversion found for the given class.
- getConversionByClass(Class<T>, LogicalType) - Method in class org.apache.avro.generic.GenericData
-
Returns the conversion for the given class and logical type.
- getConversionFor(LogicalType) - Method in class org.apache.avro.generic.GenericData
-
Returns the Conversion for the given logical type.
- getConversions() - Method in class org.apache.avro.generic.GenericData
- getConvertedType() - Method in class org.apache.avro.Conversion
-
Return the Java class representing the logical type.
- getConvertedType() - Method in class org.apache.avro.Conversions.BigDecimalConversion
- getConvertedType() - Method in class org.apache.avro.Conversions.DecimalConversion
- getConvertedType() - Method in class org.apache.avro.Conversions.DurationConversion
- getConvertedType() - Method in class org.apache.avro.Conversions.UUIDConversion
- getConvertedType() - Method in class org.apache.avro.data.TimeConversions.DateConversion
- getConvertedType() - Method in class org.apache.avro.data.TimeConversions.LocalTimestampMicrosConversion
- getConvertedType() - Method in class org.apache.avro.data.TimeConversions.LocalTimestampMillisConversion
- getConvertedType() - Method in class org.apache.avro.data.TimeConversions.LocalTimestampNanosConversion
- getConvertedType() - Method in class org.apache.avro.data.TimeConversions.TimeMicrosConversion
- getConvertedType() - Method in class org.apache.avro.data.TimeConversions.TimeMillisConversion
- getConvertedType() - Method in class org.apache.avro.data.TimeConversions.TimestampMicrosConversion
- getConvertedType() - Method in class org.apache.avro.data.TimeConversions.TimestampMillisConversion
- getConvertedType() - Method in class org.apache.avro.data.TimeConversions.TimestampNanosConversion
- getCount() - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Segment
-
Return the total number of references in this segment.
- getCustomRegisteredTypes() - Static method in class org.apache.avro.LogicalTypes
-
Return an unmodifiable map of any registered custom
LogicalType
- 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. - getDays() - Method in class org.apache.avro.util.TimePeriod
- getDecoder(ObjectInput) - Static method in class org.apache.avro.specific.SpecificData
-
Runtime utility used by generated classes.
- getDefaultFormatter() - Method in class org.apache.avro.CanonicalSchemaFormatterFactory
- getDefaultFormatter() - Method in class org.apache.avro.JsonSchemaFormatterFactory
- getDefaultFormatter() - Method in interface org.apache.avro.SchemaFormatterFactory
-
Get the default formatter for this schema format.
- getDefaultValue(Schema.Field) - Method in class org.apache.avro.generic.GenericData
-
Gets the default value of the given field, if any.
- getDescription() - Method in class org.apache.avro.SchemaCompatibility.SchemaPairCompatibility
-
Gets a human readable description of this validation result.
- getDoc() - Method in class org.apache.avro.Protocol
-
Doc string for this protocol.
- getDoc() - Method in class org.apache.avro.Protocol.Message
- getDoc() - Method in class org.apache.avro.Schema
-
If this is a record, enum, or fixed, returns its docstring, if available.
- getDouble(int) - Method in class org.apache.avro.generic.PrimitivesArrays.DoubleArray
-
Direct primitive int access.
- getElementType() - Method in class org.apache.avro.Schema
-
If this is an array, returns its element type.
- getEncoder(ObjectOutput) - Static method in class org.apache.avro.specific.SpecificData
-
Runtime utility used by generated classes.
- getEnumDefault() - Method in class org.apache.avro.Schema
-
If this is an enum, return its default value.
- 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.NameValidator.Result
- getErrors() - Method in class org.apache.avro.Protocol.Message
-
Errors that might be thrown.
- getExpected() - Method in class org.apache.avro.generic.GenericDatumReader
-
Get the reader's schema.
- getFastReaderBuilder() - Method in class org.apache.avro.generic.GenericData
- 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(Object, String, int, Object) - Method in class org.apache.avro.generic.GenericData
-
Version of
GenericData.getField(java.lang.Object, java.lang.String, int)
that has state. - getField(Object, String, int, Object) - Method in class org.apache.avro.reflect.ReflectData
- getField(String) - Method in class org.apache.avro.Schema
-
If this is a record, returns the Field with the given name fieldName.
- getFieldAccess() - Static method in class org.apache.avro.reflect.ReflectionUtil
- 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.
- getFloat(int) - Method in class org.apache.avro.generic.PrimitivesArrays.FloatArray
-
Direct primitive int access.
- getForClass(Class<T>) - Static method in class org.apache.avro.specific.SpecificData
-
If the given class is assignable to
SpecificRecordBase
, this method returns the SpecificData instance from the fieldMODEL$
, in order to get the correctConversion
instances for the class. - getFormatterForVariant(String) - Method in class org.apache.avro.JsonSchemaFormatterFactory
- getFormatterForVariant(String) - Method in interface org.apache.avro.SchemaFormatterFactory
-
Get a formatter for the specified schema format variant, if multiple variants are supported.
- getForSchema(Schema) - Static method in class org.apache.avro.specific.SpecificData
-
For RECORD and UNION type schemas, this method returns the SpecificData instance of the class associated with the schema, in order to get the right conversions for any logical types used.
- 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.
- getHash() - Method in interface org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Reference
-
Return the hash for the reference.
- getHash(Object) - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
-
Get the hash for a given object, apply an additional hash function to reduce collisions.
- getHeader() - Method in class org.apache.avro.file.DataFileStream
-
A handle that can be used to reopen this stream without rereading the head.
- getIncompatibilities() - Method in class org.apache.avro.SchemaCompatibility.SchemaCompatibilityResult
-
If the compatibility is INCOMPATIBLE, returns
Incompatibilities
found, otherwise an empty list. - getIndexNamed(String) - Method in class org.apache.avro.Schema
-
If this is a union, return the branch with the provided full name.
- getInitializationStage() - Method in class org.apache.avro.io.FastReaderBuilder.RecordReader
- getInstance(String) - Static method in interface org.apache.avro.SchemaFormatter
-
Get the schema formatter for the specified format name with optional variant.
- getInt(int) - Method in class org.apache.avro.generic.PrimitivesArrays.IntArray
-
Direct primitive int access.
- getKey() - Method in class org.apache.avro.path.MapKeyPredicate
- getKey() - Method in class org.apache.avro.reflect.MapEntry
-
Deprecated.
- getKey() - Method in class org.apache.avro.util.MapEntry
- getKey() - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Entry
- 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
Utf8.getByteLength()
instead. - getLoadFactor() - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
- getLocation() - Method in class org.apache.avro.SchemaCompatibility.Incompatibility
-
Returns a JSON Pointer describing the node location within the schema's JSON document tree where the incompatibility was encountered.
- getLogicalType() - Method in class org.apache.avro.Schema
- getLogicalTypeName() - Method in class org.apache.avro.Conversion
-
Return the logical type this class converts.
- getLogicalTypeName() - Method in class org.apache.avro.Conversions.BigDecimalConversion
- getLogicalTypeName() - Method in class org.apache.avro.Conversions.DecimalConversion
- getLogicalTypeName() - Method in class org.apache.avro.Conversions.DurationConversion
- getLogicalTypeName() - Method in class org.apache.avro.Conversions.UUIDConversion
- getLogicalTypeName() - Method in class org.apache.avro.data.TimeConversions.DateConversion
- getLogicalTypeName() - Method in class org.apache.avro.data.TimeConversions.LocalTimestampMicrosConversion
- getLogicalTypeName() - Method in class org.apache.avro.data.TimeConversions.LocalTimestampMillisConversion
- getLogicalTypeName() - Method in class org.apache.avro.data.TimeConversions.LocalTimestampNanosConversion
- getLogicalTypeName() - Method in class org.apache.avro.data.TimeConversions.TimeMicrosConversion
- getLogicalTypeName() - Method in class org.apache.avro.data.TimeConversions.TimeMillisConversion
- getLogicalTypeName() - Method in class org.apache.avro.data.TimeConversions.TimestampMicrosConversion
- getLogicalTypeName() - Method in class org.apache.avro.data.TimeConversions.TimestampMillisConversion
- getLogicalTypeName() - Method in class org.apache.avro.data.TimeConversions.TimestampNanosConversion
- getLong(int) - Method in class org.apache.avro.generic.PrimitivesArrays.LongArray
-
Direct primitive int access.
- 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.
- getMessage() - Method in class org.apache.avro.SchemaCompatibility.Incompatibility
-
Returns a human-readable message with more details about what failed.
- 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.
- getMillis() - Method in class org.apache.avro.util.TimePeriod
- getMonths() - Method in class org.apache.avro.util.TimePeriod
- getName() - Method in class org.apache.avro.file.BZip2Codec
- getName() - Method in class org.apache.avro.file.Codec
-
Name of the codec; written to the file's metadata.
- getName() - Method in class org.apache.avro.file.DeflateCodec
- getName() - Method in class org.apache.avro.file.SnappyCodec
- getName() - Method in class org.apache.avro.file.XZCodec
- getName() - Method in class org.apache.avro.file.ZstandardCodec
- getName() - Method in class org.apache.avro.LogicalType
-
Get the name of this logical type.
- getName() - Method in class org.apache.avro.Protocol
-
The name of this protocol.
- getName() - Method in class org.apache.avro.Protocol.Message
-
The name of this message.
- getName() - Method in class org.apache.avro.Schema
-
If this is a record, enum or fixed, returns its name, otherwise the name of the primitive type.
- getName() - Method in enum org.apache.avro.Schema.Type
- getNamedSchema(String) - Method in class org.apache.avro.ParseContext
-
Get a schema by name.
- 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.
- getNameValidator() - Static method in class org.apache.avro.Schema
-
Deprecated.
- getNewRecordSupplier(Schema) - Method in class org.apache.avro.generic.GenericData
-
create a supplier that allows to get new record instances for a given schema in an optimized way
- getNewRecordSupplier(Schema) - Method in class org.apache.avro.specific.SpecificData
- getNext() - Method in interface org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Reference
-
Return the next reference in the chain, or
null
if none. - getObjectProp(String) - Method in class org.apache.avro.JsonProperties
-
Returns the value of the named property in this schema.
- getObjectProp(String, Object) - Method in class org.apache.avro.JsonProperties
- getObjectProps() - Method in class org.apache.avro.JsonProperties
-
Return the defined properties as an unmodifiable Map.
- getOrCreateDefaultValue(Type) - Method in class org.apache.avro.reflect.ReflectData
-
Get or create new value instance for a type.
- getOrCreateDefaultValue(Type, Field) - Method in class org.apache.avro.reflect.ReflectData
-
Get or create new value instance for a field
- getOrDefault(Object, V) - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
- getParsedNamedSchemas() - Method in class org.apache.avro.SchemaParser
-
Get all parsed schemata.
- getPrecision() - Method in class org.apache.avro.LogicalTypes.Decimal
- getPrimitiveTypeCache() - Method in class org.apache.avro.generic.GenericData
-
Called to obtain the primitive type cache.
- getProp(String) - Method in class org.apache.avro.JsonProperties
-
Returns the value of the named, string-valued 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.
- getReader() - Method in class org.apache.avro.SchemaCompatibility.SchemaPairCompatibility
-
Gets the reader schema that was validated.
- getReaderFragment() - Method in class org.apache.avro.SchemaCompatibility.Incompatibility
-
Returns the fragment of the reader schema that failed compatibility check.
- getRecommendedSchema() - Method in class org.apache.avro.Conversion
- getRecommendedSchema() - Method in class org.apache.avro.Conversions.BigDecimalConversion
- getRecommendedSchema() - Method in class org.apache.avro.Conversions.DecimalConversion
- getRecommendedSchema() - Method in class org.apache.avro.Conversions.DurationConversion
- getRecommendedSchema() - Method in class org.apache.avro.Conversions.UUIDConversion
- getRecommendedSchema() - Method in class org.apache.avro.data.TimeConversions.DateConversion
- getRecommendedSchema() - Method in class org.apache.avro.data.TimeConversions.LocalTimestampMicrosConversion
- getRecommendedSchema() - Method in class org.apache.avro.data.TimeConversions.LocalTimestampMillisConversion
- getRecommendedSchema() - Method in class org.apache.avro.data.TimeConversions.LocalTimestampNanosConversion
- getRecommendedSchema() - Method in class org.apache.avro.data.TimeConversions.TimeMicrosConversion
- getRecommendedSchema() - Method in class org.apache.avro.data.TimeConversions.TimeMillisConversion
- getRecommendedSchema() - Method in class org.apache.avro.data.TimeConversions.TimestampMicrosConversion
- getRecommendedSchema() - Method in class org.apache.avro.data.TimeConversions.TimestampMillisConversion
- getRecommendedSchema() - Method in class org.apache.avro.data.TimeConversions.TimestampNanosConversion
- getRecordSchema(Object) - Method in class org.apache.avro.generic.GenericData
-
Called to obtain the schema of a record.
- getRecordSchema(Object) - Method in class org.apache.avro.reflect.ReflectData
- getRecordState(Object, Schema) - Method in class org.apache.avro.generic.GenericData
-
Produce state for repeated calls to
GenericData.getField(Object,String,int,Object)
andGenericData.setField(Object,String,int,Object,Object)
on the same record. - getRecordState(Object, Schema) - Method in class org.apache.avro.reflect.ReflectData
- getReference(Object, int, ConcurrentReferenceHashMap.Restructure) - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Segment
- getReference(Object, ConcurrentReferenceHashMap.Restructure) - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
-
Return a
ConcurrentReferenceHashMap.Reference
to theConcurrentReferenceHashMap.Entry
for the specifiedkey
, ornull
if not found. - getRequest() - Method in class org.apache.avro.Protocol.Message
-
The parameters of this message.
- getResolved(Schema) - Method in class org.apache.avro.util.SchemaResolver.ResolvingVisitor
- 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.
- getResult() - Method in class org.apache.avro.SchemaCompatibility.SchemaPairCompatibility
-
Gets more details about the compatibility, in particular if getType() is INCOMPATIBLE.
- getScale() - Method in class org.apache.avro.LogicalTypes.Decimal
- 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.AbstractArray
- getSchema() - Method in class org.apache.avro.generic.GenericData.EnumSymbol
- getSchema() - Method in class org.apache.avro.generic.GenericData.Fixed
- getSchema() - Method in class org.apache.avro.generic.GenericData.Record
- getSchema() - Method in class org.apache.avro.generic.GenericDatumReader
-
Return the writer's schema.
- getSchema() - Method in class org.apache.avro.reflect.CustomEncoding
- getSchema() - Method in exception class org.apache.avro.specific.SpecificExceptionBase
- getSchema() - Method in class org.apache.avro.specific.SpecificFixed
- getSchema(Type) - Method in class org.apache.avro.specific.SpecificData
-
Find the schema for a Java type.
- getSchemaName(Object) - Method in class org.apache.avro.generic.GenericData
-
Return the schema full name for a datum.
- getSchemaName(Object) - Method in class org.apache.avro.specific.SpecificData
- getSegment(int) - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
- getSegmentsSize() - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
- getSize() - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Segment
-
Return the size of the current references array.
- getSpecific() - Static method in class org.apache.avro.io.FastReaderBuilder
- getSpecificData() - Method in class org.apache.avro.specific.SpecificDatumReader
-
Return the contained
SpecificData
. - getSpecificData() - Method in class org.apache.avro.specific.SpecificDatumWriter
-
Returns the
SpecificData
implementation used by this writer. - getSpecificData() - Method in exception class org.apache.avro.specific.SpecificExceptionBase
- getSpecificData() - Method in class org.apache.avro.specific.SpecificRecordBase
- getSymbol(int) - Method in class org.apache.avro.io.parsing.Symbol.Alternative
- getTrustedPackages() - Method in class org.apache.avro.specific.SpecificDatumReader
- getType() - Method in class org.apache.avro.Schema
-
Return the type of this schema.
- getType() - Method in class org.apache.avro.SchemaCompatibility.Incompatibility
-
Returns the SchemaIncompatibilityType.
- getType() - Method in class org.apache.avro.SchemaCompatibility.SchemaPairCompatibility
-
Gets the type of this result.
- getType(String) - Method in class org.apache.avro.Protocol
-
Returns the named type.
- getTypeName() - Method in interface org.apache.avro.LogicalTypes.LogicalTypeFactory
- 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 class org.apache.avro.UnresolvedUnionException
- getUnits() - Method in class org.apache.avro.util.TimePeriod
- getUnresolvedDatum() - Method in exception class org.apache.avro.UnresolvedUnionException
- getUnresolvedSchemaName(Schema) - Static method in class org.apache.avro.util.SchemaResolver
-
Get the unresolved schema name.
- getUnresolvedTypes() - Method in class org.apache.avro.Protocol
-
Deprecated.can return invalid schemata: do NOT use!
- getValidateDefaults() - Static method in class org.apache.avro.Schema
-
Deprecated.
- getValidateDefaults() - Method in class org.apache.avro.Schema.Parser
-
True iff default values are validated.
- getValue() - Method in exception class org.apache.avro.AvroRemoteException
- getValue() - Method in interface org.apache.avro.data.ErrorBuilder
-
Gets the value
- getValue() - Method in class org.apache.avro.reflect.MapEntry
-
Deprecated.
- getValue() - Method in class org.apache.avro.specific.SpecificErrorBuilderBase
- getValue() - Method in class org.apache.avro.util.MapEntry
- getValue() - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Entry
- getValueType() - Method in class org.apache.avro.Schema
-
If this is a map, returns its value type.
- getWriter() - Method in class org.apache.avro.SchemaCompatibility.SchemaPairCompatibility
-
Gets the writer schema that was validated.
- getWriterFragment() - Method in class org.apache.avro.SchemaCompatibility.Incompatibility
-
Returns the fragment of the writer schema that failed compatibility check.
H
- has(int) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Checks whether a field has been set.
- has(String) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Checks whether a field has been set.
- has(Schema.Field) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Checks whether a field has been set.
- hasCause() - Method in interface org.apache.avro.data.ErrorBuilder
-
Checks whether the cause has been set
- hasCause() - Method in class org.apache.avro.specific.SpecificErrorBuilderBase
- hasCustomCoders() - Method in class org.apache.avro.specific.SpecificRecordBase
-
Returns true iff an instance supports the
MessageEncoder.encode(D)
andMessageDecoder.decode(java.io.InputStream)
operations. - hasDefaultValue() - Method in class org.apache.avro.Schema.Field
- hasEnumSymbol(String) - Method in class org.apache.avro.Schema
-
If this is an enum, returns true if it contains given symbol.
- hasErrors(Symbol) - Static method in class org.apache.avro.io.parsing.Symbol
-
Returns true if the Parser contains any Error symbol, indicating that it may fail for some inputs.
- hasField(String) - Method in interface org.apache.avro.generic.GenericRecord
-
Return true if record has field with name: key
- hasFields() - Method in class org.apache.avro.Schema
-
If this is a record, returns whether the fields have been set.
- hashCode() - Method in class org.apache.avro.data.RecordBuilderBase
- hashCode() - Method in class org.apache.avro.file.BZip2Codec
- hashCode() - Method in class org.apache.avro.file.Codec
-
Codecs must implement a hashCode() method that is consistent with equals().
- hashCode() - Method in class org.apache.avro.file.DeflateCodec
- hashCode() - Method in class org.apache.avro.file.SnappyCodec
- hashCode() - Method in class org.apache.avro.file.XZCodec
- hashCode() - Method in class org.apache.avro.file.ZstandardCodec
- hashCode() - Method in class org.apache.avro.generic.GenericData.AbstractArray
- hashCode() - Method in class org.apache.avro.generic.GenericData.EnumSymbol
- hashCode() - Method in class org.apache.avro.generic.GenericData.Fixed
- hashCode() - Method in class org.apache.avro.generic.GenericData.Record
- hashCode() - Method in class org.apache.avro.generic.GenericRecordBuilder
- hashCode() - Method in class org.apache.avro.LogicalTypes.Decimal
- 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 class org.apache.avro.Schema.SeenPair
- hashCode() - Method in class org.apache.avro.SchemaCompatibility.Incompatibility
- hashCode() - Method in class org.apache.avro.SchemaCompatibility.SchemaCompatibilityResult
- hashCode() - Method in class org.apache.avro.SchemaCompatibility.SchemaPairCompatibility
- hashCode() - Method in exception class org.apache.avro.specific.SpecificExceptionBase
- hashCode() - Method in class org.apache.avro.specific.SpecificFixed
- hashCode() - Method in class org.apache.avro.specific.SpecificRecordBase
- hashCode() - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Entry
- hashCode() - Method in class org.apache.avro.util.TimePeriod
- hashCode() - Method in class org.apache.avro.util.Utf8
- hashCode() - Method in class org.apache.avro.util.WeakIdentityHashMap
- hashCode(byte[], int, int, Schema) - Static method in class org.apache.avro.io.BinaryData
-
Hash binary encoded data.
- 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)
. - hasNewSchemas() - Method in class org.apache.avro.ParseContext
- 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.
- hasProps() - Method in class org.apache.avro.JsonProperties
- hasValue() - Method in interface org.apache.avro.data.ErrorBuilder
-
Checks whether the value has been set
- hasValue() - Method in class org.apache.avro.specific.SpecificErrorBuilderBase
I
- IGNORE - Enum constant in enum org.apache.avro.Schema.Field.Order
- IMPLICIT_ACTION - Enum constant in enum org.apache.avro.io.parsing.Symbol.Kind
-
non-terminal action symbol which are automatically consumed
- in - Variable in class org.apache.avro.io.ValidatingDecoder
- incompatible(SchemaCompatibility.SchemaIncompatibilityType, Schema, Schema, String, List<String>) - Static method in class org.apache.avro.SchemaCompatibility.SchemaCompatibilityResult
-
Returns a details object representing an incompatible schema pair, including error details.
- INCOMPATIBLE - Enum constant in enum org.apache.avro.SchemaCompatibility.SchemaCompatibilityType
- INCOMPATIBLE_SCHEMA_TYPES - Enum constant in enum org.apache.avro.Resolver.ErrorAction.ErrorType
-
Use when Schema types don't match and can't be converted.
- 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.
- Induction rules - Search tag in package org.apache.avro.io.parsing
- Section
- INITIALIZED - Enum constant in enum org.apache.avro.io.FastReaderBuilder.RecordReader.Stage
- INITIALIZING - Enum constant in enum org.apache.avro.io.FastReaderBuilder.RecordReader.Stage
- 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)
. - instanceSupplier - Variable in class org.apache.avro.Resolver.RecordAdjust
-
Supplier that offers an optimized alternative to data.newRecord()
- INT - Enum constant in enum org.apache.avro.Schema.Type
- INT - Static variable in class org.apache.avro.io.parsing.Symbol
- IntArray(int, Schema) - Constructor for class org.apache.avro.generic.PrimitivesArrays.IntArray
- IntArray(Schema, Collection<Integer>) - Constructor for class org.apache.avro.generic.PrimitivesArrays.IntArray
- intBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build an int type that can set custom properties.
- intBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build an int type that can set custom properties.
- intBuilder() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build an int type that can set custom properties.
- intCheckAction(int) - Static method in class org.apache.avro.io.parsing.Symbol
- IntCheckAction(int) - Constructor for class org.apache.avro.io.parsing.Symbol.IntCheckAction
-
Deprecated.
- intDefault(int) - Method in class org.apache.avro.SchemaBuilder.IntDefault
-
Completes this field with the default value provided
- intType() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
A plain int type without custom properties.
- intType() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
A plain int type without custom properties.
- intType() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
A plain int type without custom properties.
- InvalidAvroMagicException - Exception Class in org.apache.avro
- InvalidAvroMagicException(String) - Constructor for exception class org.apache.avro.InvalidAvroMagicException
- InvalidNumberEncodingException - Exception Class in org.apache.avro
- InvalidNumberEncodingException(String) - Constructor for exception class org.apache.avro.InvalidNumberEncodingException
- 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
-
Returns true for arrays and false otherwise, with the following exceptions:
- isBoolean(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.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
- isClassPropEnabled() - Method in class org.apache.avro.io.FastReaderBuilder
- isDateBased() - Method in class org.apache.avro.util.TimePeriod
-
Determines if the TimePeriod is date based (i.e., if its milliseconds component is 0).
- isDouble(Object) - Method in class org.apache.avro.generic.GenericData
-
Called by the default implementation of
GenericData.instanceOf(org.apache.avro.Schema, java.lang.Object)
. - isEmpty - Variable in class org.apache.avro.io.JsonEncoder
-
Has anything been written into the collections?
- isEmpty() - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
- 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.
- isFastReaderEnabled() - Method in class org.apache.avro.generic.GenericData
- 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)
. - isFloat(Object) - Method in class org.apache.avro.generic.GenericData
-
Called by the default implementation of
GenericData.instanceOf(org.apache.avro.Schema, java.lang.Object)
. - isFlushOnEveryBlock() - Method in class org.apache.avro.file.DataFileWriter
- isFullyResolvedSchema(Schema) - Static method in class org.apache.avro.util.SchemaResolver
-
Is this an unresolved schema?
- isIncludeNamespace() - Method in class org.apache.avro.io.JsonEncoder
- isInteger(Object) - Method in class org.apache.avro.generic.GenericData
-
Called by the default implementation of
GenericData.instanceOf(org.apache.avro.Schema, java.lang.Object)
. - isKeyClassEnabled() - Method in class org.apache.avro.io.FastReaderBuilder
- isLong(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)
. - isMap(Object) - Method in class org.apache.avro.reflect.ReflectData
-
It returns false for non-string-maps because Avro writes out such maps as an array of records.
- isNullable() - Method in class org.apache.avro.Schema
-
Returns true if this record is a union type containing null.
- isOK() - Method in class org.apache.avro.NameValidator.Result
- 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)
. - isStringable(Class<?>) - Method in class org.apache.avro.reflect.ReflectData
- isStringable(Class<?>) - Method in class org.apache.avro.specific.SpecificData
-
True if a class should be serialized with toString().
- isStringType(Class<?>) - Method in class org.apache.avro.specific.SpecificData
-
True if a class IS a string type
- isSupportedData(GenericData) - Static method in class org.apache.avro.io.FastReaderBuilder
- isTimeBased() - Method in class org.apache.avro.util.TimePeriod
-
Determines if the TimePeriod is time based (i.e., if its months and days components are 0).
- 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.
- isUnion() - Method in class org.apache.avro.Schema
-
Returns true if this record is a union type.
- isUnresolvedSchema(Schema) - Static method in class org.apache.avro.util.SchemaResolver
-
Is this an unresolved schema.
- isValid(Schema, Schema) - Static method in class org.apache.avro.Resolver.Promote
-
Returns true iff w and r are both primitive types and either they are the same type or w is promotable to r.
- isValidDefault(JsonNode) - Method in class org.apache.avro.Schema
-
Checks if a JSON value matches the schema.
- isValidValue(Schema.Field, Object) - Static method in class org.apache.avro.data.RecordBuilderBase
-
Tests whether a value is valid for a specified field.
- ITEM_END - Static variable in class org.apache.avro.io.parsing.Symbol
- items() - Method in class org.apache.avro.SchemaBuilder.ArrayBuilder
-
Return a type builder for configuring the array's nested items schema.
- items(Schema) - Method in class org.apache.avro.SchemaBuilder.ArrayBuilder
-
Complete configuration of this array, setting the schema of the array items to the schema provided.
- iterator() - Method in class org.apache.avro.file.DataFileReader12
- iterator() - Method in class org.apache.avro.file.DataFileStream
-
Returns an iterator over entries in this file.
- iterator() - Method in class org.apache.avro.generic.GenericData.AbstractArray
- iterator() - Method in class org.apache.avro.io.parsing.Symbol.Sequence
- iterator() - Method in class org.apache.avro.util.RandomData
J
- Json - Class in org.apache.avro.data
-
Utilities for reading and writing arbitrary Json data in Avro format.
- Json.ObjectReader - Class in org.apache.avro.data
-
DatumReader
for arbitrary Json data using the object model described inJsonProperties
. - Json.ObjectWriter - Class in org.apache.avro.data
-
DatumWriter
for arbitrary Json data using the object model described inJsonProperties
. - jsonDecoder(Schema, InputStream) - Method in class org.apache.avro.io.DecoderFactory
-
Creates a
JsonDecoder
using the InputStream 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, OutputStream, boolean) - Method in class org.apache.avro.io.EncoderFactory
-
Creates a
JsonEncoder
using the OutputStream provided for writing data conforming to the Schema provided with optional pretty printing. - jsonEncoder(Schema, OutputStream, boolean, boolean) - Method in class org.apache.avro.io.EncoderFactory
-
Creates a
JsonEncoder
using the OutputStream provided for writing data conforming to the Schema provided with optional pretty printing. - 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
- JsonProperties - Class in org.apache.avro
-
Base class for objects that have JSON-valued properties.
- JsonProperties.Null - Class in org.apache.avro
- JsonSchemaFormatter - Class in org.apache.avro
- JsonSchemaFormatter(boolean) - Constructor for class org.apache.avro.JsonSchemaFormatter
- JsonSchemaFormatterFactory - Class in org.apache.avro
- JsonSchemaFormatterFactory() - Constructor for class org.apache.avro.JsonSchemaFormatterFactory
- JsonSchemaParser - Class in org.apache.avro
-
Schema parser for JSON formatted schemata.
- JsonSchemaParser() - Constructor for class org.apache.avro.JsonSchemaParser
K
- key() - Element in annotation type org.apache.avro.reflect.AvroMeta
- KEY_CLASS_PROP - Static variable in class org.apache.avro.specific.SpecificData
- 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.SeekableByteArrayInput
- 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
- localTimestampMicros() - Static method in class org.apache.avro.LogicalTypes
- LocalTimestampMicrosConversion() - Constructor for class org.apache.avro.data.TimeConversions.LocalTimestampMicrosConversion
- localTimestampMillis() - Static method in class org.apache.avro.LogicalTypes
- LocalTimestampMillisConversion() - Constructor for class org.apache.avro.data.TimeConversions.LocalTimestampMillisConversion
- localTimestampNanos() - Static method in class org.apache.avro.LogicalTypes
- LocalTimestampNanosConversion() - Constructor for class org.apache.avro.data.TimeConversions.LocalTimestampNanosConversion
- LocationStep - Class in org.apache.avro.path
-
Selects items based on their "path" (name of a property under which they are stored) relative to the context.
- LocationStep(String, String) - Constructor for class org.apache.avro.path.LocationStep
- LOGICAL_TYPE_PROP - Static variable in class org.apache.avro.LogicalType
- logicalType - Variable in class org.apache.avro.Resolver.Action
-
If the reader has a logical type, it's stored here for fast access, otherwise this will be null.
- LogicalType - Class in org.apache.avro
-
Logical types provides an opt-in way to extend Avro's types.
- LogicalType(String) - Constructor for class org.apache.avro.LogicalType
- LogicalTypes - Class in org.apache.avro
- LogicalTypes() - Constructor for class org.apache.avro.LogicalTypes
- LogicalTypes.BigDecimal - Class in org.apache.avro
- LogicalTypes.Date - Class in org.apache.avro
-
Date represents a date without a time
- LogicalTypes.Decimal - Class in org.apache.avro
-
Decimal represents arbitrary-precision fixed-scale decimal numbers
- LogicalTypes.Duration - Class in org.apache.avro
-
Duration represents a duration, consisting on months, days and milliseconds
- LogicalTypes.LocalTimestampMicros - Class in org.apache.avro
- LogicalTypes.LocalTimestampMillis - Class in org.apache.avro
- LogicalTypes.LocalTimestampNanos - Class in org.apache.avro
- LogicalTypes.LogicalTypeFactory - Interface in org.apache.avro
-
Factory interface and SPI for logical types.
- LogicalTypes.TimeMicros - Class in org.apache.avro
-
TimeMicros represents a time in microseconds without a date
- LogicalTypes.TimeMillis - Class in org.apache.avro
-
TimeMillis represents a time in milliseconds without a date
- LogicalTypes.TimestampMicros - Class in org.apache.avro
-
TimestampMicros represents a date and time in microseconds
- LogicalTypes.TimestampMillis - Class in org.apache.avro
-
TimestampMillis represents a date and time in milliseconds
- LogicalTypes.TimestampNanos - Class in org.apache.avro
-
TimestampNanos represents a date and time in nanoseconds
- LogicalTypes.Uuid - Class in org.apache.avro
-
Uuid represents a uuid without a time
- LONG - Enum constant in enum org.apache.avro.Schema.Type
- LONG - Static variable in class org.apache.avro.io.parsing.Symbol
- LongArray(int, Schema) - Constructor for class org.apache.avro.generic.PrimitivesArrays.LongArray
- LongArray(Schema, Collection<Long>) - Constructor for class org.apache.avro.generic.PrimitivesArrays.LongArray
- longBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build a long type that can set custom properties.
- longBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build a long type that can set custom properties.
- longBuilder() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build a long type that can set custom properties.
- longDefault(long) - Method in class org.apache.avro.SchemaBuilder.LongDefault
-
Completes this field with the default value provided
- longType() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
A plain long type without custom properties.
- longType() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
A plain long type without custom properties.
- longType() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
A plain long type without custom properties.
- lookupWriterField(Schema, Schema.Field) - Static method in class org.apache.avro.SchemaCompatibility
-
Identifies the writer field that corresponds to the specified reader field.
M
- MAGIC - Static variable in class org.apache.avro.file.DataFileConstants
- main(String[]) - Static method in class org.apache.avro.Protocol
- main(String[]) - Static method in class org.apache.avro.util.RandomData
- mainSchema() - Method in interface org.apache.avro.SchemaParser.ParseResult
-
The main schema parsed from a file.
- makeNullable(Schema) - Static method in class org.apache.avro.reflect.ReflectData
-
Create and return a union of the null schema and the provided schema.
- mangle(String) - Static method in class org.apache.avro.specific.SpecificData
-
Utility for template use.
- mangle(String, boolean) - Static method in class org.apache.avro.specific.SpecificData
-
Utility for template use.
- mangle(String, Set<String>) - Static method in class org.apache.avro.specific.SpecificData
-
Utility for template use.
- mangle(String, Set<String>, boolean) - Static method in class org.apache.avro.specific.SpecificData
-
Utility for template use.
- mangleFullyQualified(String) - Static method in class org.apache.avro.specific.SpecificData
-
Utility to mangle the fully qualified class name into a valid symbol.
- mangleMethod(String, boolean) - Static method in class org.apache.avro.specific.SpecificData
- mangleTypeIdentifier(String) - Static method in class org.apache.avro.specific.SpecificData
-
Utility for template use.
- mangleTypeIdentifier(String, boolean) - Static method in class org.apache.avro.specific.SpecificData
-
Utility for template use.
- map() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build an Avro map type
- map() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build an Avro map type Example usage:
- map() - Static method in class org.apache.avro.SchemaBuilder
-
Create a builder for an Avro map This is equivalent to:
- map() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build an Avro map type
- MAP - Enum constant in enum org.apache.avro.Schema.Type
- 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
- mapDefault(Map<K, V>) - Method in class org.apache.avro.SchemaBuilder.MapDefault
-
Completes this field with the default value provided, cannot be null
- MapEntry<K,
V> - Class in org.apache.avro.reflect -
Deprecated.Use org.apache.avro.util.MapEntry
- MapEntry<K,
V> - Class in org.apache.avro.util -
An implementation of
Map.Entry
with well-defined member names. - MapEntry(K, V) - Constructor for class org.apache.avro.reflect.MapEntry
-
Deprecated.
- MapEntry(K, V) - Constructor for class org.apache.avro.util.MapEntry
- MapKeyPredicate - Class in org.apache.avro.path
-
Returns items by their position (string key under which they are stored) in a map
- MapKeyPredicate(String) - Constructor for class org.apache.avro.path.MapKeyPredicate
- 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
- MapReader(FastReaderBuilder.FieldReader, FastReaderBuilder.FieldReader) - Constructor for class org.apache.avro.io.FastReaderBuilder.MapReader
- MapUtil - Class in org.apache.avro.util
- mark(int) - Method in class org.apache.avro.util.ReusableByteBufferInputStream
- markSupported() - Method in class org.apache.avro.util.ReusableByteBufferInputStream
- MAX_BYTES_LENGTH_PROPERTY - Static variable in exception class org.apache.avro.SystemLimitException
- MAX_COLLECTION_LENGTH_PROPERTY - Static variable in exception class org.apache.avro.SystemLimitException
- MAX_STRING_LENGTH_PROPERTY - Static variable in exception class org.apache.avro.SystemLimitException
- mergedWith(SchemaCompatibility.SchemaCompatibilityResult) - Method in class org.apache.avro.SchemaCompatibility.SchemaCompatibilityResult
-
Merges the current
SchemaCompatibilityResult
with the supplied result into a new instance, combining the list ofIncompatibility Incompatibilities
and regressing to theSchemaCompatibilityType#INCOMPATIBLE INCOMPATIBLE
state if any incompatibilities are encountered. - MessageDecoder<D> - Interface in org.apache.avro.message
-
Deserializes a single datum from a ByteBuffer, byte array, or InputStream.
- MessageDecoder.BaseDecoder<D> - Class in org.apache.avro.message
-
Base class for
MessageEncoder
implementations that provides default implementations for most of theDatumEncoder
API. - MessageEncoder<D> - Interface in org.apache.avro.message
-
Serializes an individual datum as a ByteBuffer or to an OutputStream.
- MISSING_ENUM_SYMBOLS - Enum constant in enum org.apache.avro.SchemaCompatibility.SchemaIncompatibilityType
- MISSING_REQUIRED_FIELD - Enum constant in enum org.apache.avro.Resolver.ErrorAction.ErrorType
-
Use when matching two records and the reader has a field with no default value and that field is missing in the writer..
- MISSING_UNION_BRANCH - Enum constant in enum org.apache.avro.SchemaCompatibility.SchemaIncompatibilityType
- MissingSchemaException - Exception Class in org.apache.avro.message
-
Exception thrown by a
MessageDecoder
when the message is encoded using an unknownSchema
. - MissingSchemaException(String) - Constructor for exception class org.apache.avro.message.MissingSchemaException
- msg - Variable in class org.apache.avro.io.parsing.Symbol.ErrorAction
- mutualReadStrategy() - Method in class org.apache.avro.SchemaValidatorBuilder
-
Use a strategy that validates that a schema can read existing schema(s), and vice-versa, according to the Avro default schema resolution.
N
- name() - Method in class org.apache.avro.Schema.Field
- name(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Add a field with the given name.
- NAME_MISMATCH - Enum constant in enum org.apache.avro.SchemaCompatibility.SchemaIncompatibilityType
- NamedBuilder(SchemaBuilder.NameContext, String) - Constructor for class org.apache.avro.SchemaBuilder.NamedBuilder
- Named Types - Search tag in class org.apache.avro.SchemaBuilder
- Section
- names - Variable in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
- NAMES_DONT_MATCH - Enum constant in enum org.apache.avro.Resolver.ErrorAction.ErrorType
-
Use when Schema types match but, in the case of record, enum, or fixed, the names don't match.
- namespace(String) - Method in class org.apache.avro.SchemaBuilder.NamespacedBuilder
-
Set the namespace of this type.
- NamespacedBuilder(SchemaBuilder.Completion<R>, SchemaBuilder.NameContext, String) - Constructor for class org.apache.avro.SchemaBuilder.NamespacedBuilder
- NameValidator - Interface in org.apache.avro
- NameValidator.Result - Class in org.apache.avro
- Nested Types - Search tag in class org.apache.avro.SchemaBuilder
- Section
- NEVER - Enum constant in enum org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Restructure
- NEW - Enum constant in enum org.apache.avro.io.FastReaderBuilder.RecordReader.Stage
- newArray(Object, int, Schema) - Method in class org.apache.avro.generic.GenericData
- newArray(Object, int, Schema) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to create new array instances.
- newArray(Object, int, Schema) - Method in class org.apache.avro.reflect.ReflectDatumReader
- newInstance(Class, Schema) - Static method in class org.apache.avro.specific.SpecificData
-
Create an instance of a class.
- newInstance(Object, Schema) - Method in interface org.apache.avro.generic.GenericData.InstanceSupplier
- newInstanceFromString(Class, String) - Method in class org.apache.avro.generic.GenericDatumReader
- newMap(Object, int) - Method in class org.apache.avro.generic.GenericData
-
Called to create new array instances.
- newMap(Object, int) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to create new array instances.
- newRecord(Object, Schema) - Method in class org.apache.avro.generic.GenericData
-
Called to create new record instances.
- newRecord(Object, Schema) - Method in class org.apache.avro.generic.GenericDatumReader
-
Deprecated.As of Avro 1.6.0 this method has been moved to
GenericData.newRecord(Object, Schema)
- newRecord(Object, Schema) - Method in class org.apache.avro.reflect.ReflectData
- newRecord(Object, Schema) - Method in class org.apache.avro.specific.SpecificData
- next() - Method in class org.apache.avro.file.DataFileReader12
- 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.DataFileReader12
-
Return 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.
- NO_MATCHING_BRANCH - Enum constant in enum org.apache.avro.Resolver.ErrorAction.ErrorType
-
Use when matching a reader's union against a non-union and can't find a branch that matches.
- NO_VALIDATION - Static variable in interface org.apache.avro.NameValidator
- noAdjustments - Variable in class org.apache.avro.io.parsing.Symbol.EnumAdjustAction
- noAdjustmentsNeeded - Variable in class org.apache.avro.Resolver.EnumAdjust
- noDefault() - Method in class org.apache.avro.SchemaBuilder.FieldDefault
-
Completes this field with no default value
- noDefault() - Method in class org.apache.avro.SchemaBuilder.GenericDefault
-
Do not use a default value for this field.
- NonCopyingByteArrayOutputStream - Class in org.apache.avro.util
-
Utility to make data written to an
ByteArrayOutputStream
directly available as aByteBuffer
. - NonCopyingByteArrayOutputStream(int) - Constructor for class org.apache.avro.util.NonCopyingByteArrayOutputStream
-
Creates a new byte array output stream, with a buffer capacity of the specified size, in bytes.
- noReorder - Variable in class org.apache.avro.io.parsing.Symbol.FieldOrderAction
- noReorder() - Method in class org.apache.avro.Resolver.RecordAdjust
-
Returns true iff
i == readerOrder[i].pos()
for all indicesi
. - Notes for implementers: - Search tag in org.apache.avro.FormattedSchemaParser.parse(ParseContext, URI, CharSequence)
- Section
- Notes for implementers: - Search tag in org.apache.avro.FormattedSchemaParser.parse(ParseContext, URI, CharSequence)
- Section
- notValidatingDefaults() - Method in class org.apache.avro.SchemaBuilder.FieldBuilder
-
Skip field default value validation during
SchemaBuilder.FieldBuilder.completeField(Schema, JsonNode)
} - npe(NullPointerException, String) - Method in class org.apache.avro.generic.GenericDatumWriter
-
Helper method for adding a message to an NPE .
- NULL - Enum constant in enum org.apache.avro.Schema.Type
- NULL - Static variable in class org.apache.avro.io.parsing.Symbol
-
The terminal symbols for the grammar.
- NULL - Static variable in annotation type org.apache.avro.reflect.AvroAlias
- NULL_CODEC - Static variable in class org.apache.avro.file.DataFileConstants
- NULL_DEFAULT_VALUE - Static variable in class org.apache.avro.Schema.Field
-
For Schema unions with a "null" type as the first entry, this can be used to specify that the default for the union is null.
- NULL_VALUE - Static variable in class org.apache.avro.JsonProperties
-
A value representing a JSON
null
. - nullable() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
A shortcut for building a union of a type and null.
- nullable() - Method in class org.apache.avro.SchemaBuilder.FieldTypeBuilder
-
A shortcut for building a union of a type and null, with an optional default value of the non-null type.
- nullable() - Static method in class org.apache.avro.SchemaBuilder
-
Create a builder for a union of a type and null.
- nullable() - Method in class org.apache.avro.SchemaBuilder.TypeBuilder
- Nullable - Annotation Type in org.apache.avro.reflect
-
Declares that null is a valid value for a Java type.
- nullableBoolean(String, boolean) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a nullable boolean field: a union of boolean and null with an boolean default.
- nullableBytes(String, byte[]) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a nullable bytes field: a union of bytes and null with a bytes default.
- nullableDouble(String, double) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a nullable double field: a union of double and null with a double default.
- nullableFloat(String, float) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a nullable float field: a union of float and null with a float default.
- nullableInt(String, int) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a nullable int field: a union of int and null with an int default.
- nullableLong(String, long) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a nullable long field: a union of long and null with a long default.
- nullableString(String, String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a nullable string field: a union of string and null with a string default.
- nullBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build a null type that can set custom properties.
- nullBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build a null type that can set custom properties.
- nullBuilder() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build a null type that can set custom properties.
- nullCodec() - Static method in class org.apache.avro.file.CodecFactory
-
Null codec, for no compression.
- nullDefault() - Method in class org.apache.avro.SchemaBuilder.NullDefault
-
Completes this field with a default value of null
- nullType() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
A plain null type without custom properties.
- nullType() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
A plain null type without custom properties.
- nullType() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
A plain null type without custom properties.
O
- ObjectReader() - Constructor for class org.apache.avro.data.Json.ObjectReader
- ObjectWriter() - Constructor for class org.apache.avro.data.Json.ObjectWriter
- of(long, long, long) - Static method in class org.apache.avro.util.TimePeriod
-
Create a TimePeriod from a number of months, days and milliseconds
- OK - Static variable in interface org.apache.avro.NameValidator
- 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.
- optional() - Method in class org.apache.avro.SchemaBuilder.FieldTypeBuilder
-
A shortcut for building a union of null and a type, with a null default.
- optionalBoolean(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating an optional boolean field: a union of null and boolean with null default.
- optionalBytes(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating an optional bytes field: a union of null and bytes with null default.
- optionalDouble(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating an optional double field: a union of null and double with null default.
- optionalFloat(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating an optional float field: a union of null and float with null default.
- optionalInt(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating an optional int field: a union of null and int with null default.
- optionalLong(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating an optional long field: a union of null and long with null default.
- optionalString(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating an optional string field: a union of null and string with null default.
- order() - Method in class org.apache.avro.Schema.Field
- orderAscending() - Method in class org.apache.avro.SchemaBuilder.FieldBuilder
-
Set this field to have ascending order.
- orderDescending() - Method in class org.apache.avro.SchemaBuilder.FieldBuilder
-
Set this field to have descending order.
- orderIgnore() - Method in class org.apache.avro.SchemaBuilder.FieldBuilder
-
Set this field to ignore order.
- org.apache.avro - package org.apache.avro
-
Avro kernel classes.
- org.apache.avro.data - package org.apache.avro.data
-
Interfaces and base classes shared by generic, specific and reflect.
- 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.message - package org.apache.avro.message
- org.apache.avro.path - package org.apache.avro.path
-
Interfaces and base classes for AvroPath.
- 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.
- org.apache.avro.util.springframework - package org.apache.avro.util.springframework
- out - Variable in class org.apache.avro.io.DirectBinaryEncoder
- 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(File) - Static method in class org.apache.avro.Schema
-
Deprecated.use
SchemaParser
instead. - parse(File) - Method in class org.apache.avro.Schema.Parser
-
Parse a schema from the provided file.
- parse(File) - Method in class org.apache.avro.SchemaParser
-
Parse an Avro schema from a file.
- parse(File, Charset) - Method in class org.apache.avro.SchemaParser
-
Parse an Avro schema from a file written with a specific character set.
- parse(InputStream) - Static method in class org.apache.avro.Protocol
-
Read a protocol from a Json stream.
- parse(InputStream) - Static method in class org.apache.avro.Schema
-
Deprecated.use
SchemaParser
instead. - parse(InputStream) - Method in class org.apache.avro.Schema.Parser
-
Parse a schema from the provided stream.
- parse(InputStream) - Method in class org.apache.avro.SchemaParser
-
Parse an Avro schema from an input stream.
- parse(InputStream, Charset) - Method in class org.apache.avro.SchemaParser
-
Parse an Avro schema from an input stream.
- parse(Reader) - Method in class org.apache.avro.SchemaParser
-
Parse an Avro schema from an input reader.
- parse(CharSequence) - Method in class org.apache.avro.SchemaParser
-
Parse an Avro schema from a string.
- parse(String) - Static method in class org.apache.avro.Protocol
-
Read a protocol from a Json string.
- parse(String) - Static method in class org.apache.avro.Schema
-
Deprecated.use
SchemaParser
instead. - parse(String) - Method in class org.apache.avro.Schema.Parser
-
Parse a schema from the provided string.
- parse(String, boolean) - Static method in class org.apache.avro.Schema
-
Deprecated.use
SchemaParser
instead. - parse(String, String...) - Static method in class org.apache.avro.Protocol
-
Read a protocol from one or more json strings
- parse(String, String...) - Method in class org.apache.avro.Schema.Parser
-
Read a schema from one or more json strings
- parse(URI, Charset) - Method in class org.apache.avro.SchemaParser
-
Parse an Avro schema from a file written with a specific character set.
- parse(Path) - Method in class org.apache.avro.SchemaParser
-
Parse an Avro schema from a file.
- parse(Path, Charset) - Method in class org.apache.avro.SchemaParser
-
Parse an Avro schema from a file written with a specific character set.
- parse(ParseContext, URI, CharSequence) - Method in interface org.apache.avro.FormattedSchemaParser
-
Parse schema definitions from a text based source.
- parse(ParseContext, URI, CharSequence) - Method in class org.apache.avro.JsonSchemaParser
- ParseContext - Class in org.apache.avro
-
Class to define a name context, useful to reference schemata with.
- ParseContext() - Constructor for class org.apache.avro.ParseContext
-
Create a
ParseContext
for the default/null
namespace, using default name validation for new schemata. - ParseContext(NameValidator) - Constructor for class org.apache.avro.ParseContext
-
Create a
ParseContext
using the specified name validation for new schemata. - parsedNamedSchemas() - Method in interface org.apache.avro.SchemaParser.ParseResult
-
The list of named schemata that were parsed.
- parseInternal(String) - Method in class org.apache.avro.Schema.Parser
- parseInternal(String...) - Static method in class org.apache.avro.JsonSchemaParser
-
Parse a schema written in the internal (JSON) format without any validations.
- parseJson(String) - Static method in class org.apache.avro.data.Json
-
Parses a JSON string and converts it to the object model described in
JsonProperties
. - parseJsonToObject(String) - Static method in class org.apache.avro.Schema
-
Parses the specified json string to an object.
- parser - Variable in class org.apache.avro.io.ParsingDecoder
- parser - Variable in class org.apache.avro.io.ValidatingEncoder
- Parser - Class in org.apache.avro.io.parsing
-
Parser is the class that maintains the stack for parsing.
- Parser() - Constructor for class org.apache.avro.Schema.Parser
- Parser(Symbol, Parser.ActionHandler) - Constructor for class org.apache.avro.io.parsing.Parser
- Parser(NameValidator) - Constructor for class org.apache.avro.Schema.Parser
- Parser(ParseContext) - Constructor for class org.apache.avro.Schema.Parser
- Parser.ActionHandler - Interface in org.apache.avro.io.parsing
-
The parser knows how to handle the terminal and non-terminal symbols.
- ParsingDecoder - Class in org.apache.avro.io
- ParsingDecoder(Symbol) - Constructor for class org.apache.avro.io.ParsingDecoder
- ParsingEncoder - Class in org.apache.avro.io
- ParsingEncoder() - Constructor for class org.apache.avro.io.ParsingEncoder
- parsingFingerprint(String, Schema) - Static method in class org.apache.avro.SchemaNormalization
-
Returns
SchemaNormalization.fingerprint(java.lang.String, byte[])
applied to the parsing canonical form of the supplied schema. - parsingFingerprint64(Schema) - Static method in class org.apache.avro.SchemaNormalization
-
Returns
SchemaNormalization.fingerprint64(byte[])
applied to the parsing canonical form of the supplied schema. - Parsing tables for Avro - Search tag in package org.apache.avro.io.parsing
- Section
- 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.
- PathElement - Interface in org.apache.avro.path
-
root interface for all pieces of an AvroPath expression
- PathPredicate - Interface in org.apache.avro.path
-
a predicate is a filter that restricts items selected by a
LocationStep
- PathTracingException<T> - Interface in org.apache.avro.path
-
interface for exceptions that can trace the AvroPath of an error
- 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
- peek() - Method in class org.apache.avro.generic.PrimitivesArrays.BooleanArray
- peek() - Method in class org.apache.avro.generic.PrimitivesArrays.DoubleArray
- peek() - Method in class org.apache.avro.generic.PrimitivesArrays.FloatArray
- peek() - Method in class org.apache.avro.generic.PrimitivesArrays.IntArray
- peek() - Method in class org.apache.avro.generic.PrimitivesArrays.LongArray
- 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
- pollForPurge() - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap.ReferenceManager
-
Return any reference that has been garbage collected and can be purged from the underlying structure or
null
if no references need purging. - 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.
- PositionalPathPredicate - Interface in org.apache.avro.path
-
filters items by their context position
- 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.
- PrimitivesArrays - Class in org.apache.avro.generic
- PrimitivesArrays() - Constructor for class org.apache.avro.generic.PrimitivesArrays
- PrimitivesArrays.BooleanArray - Class in org.apache.avro.generic
- PrimitivesArrays.DoubleArray - Class in org.apache.avro.generic
- PrimitivesArrays.FloatArray - Class in org.apache.avro.generic
- PrimitivesArrays.IntArray - Class in org.apache.avro.generic
- PrimitivesArrays.LongArray - Class in org.apache.avro.generic
- Primitive Types - Search tag in class org.apache.avro.SchemaBuilder
- Section
- 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.
- PROMOTE - Enum constant in enum org.apache.avro.Resolver.Action.Type
- prop(String, Object) - Method in class org.apache.avro.SchemaBuilder.PropBuilder
-
Set name-value pair properties for this type or field.
- prop(String, String) - Method in class org.apache.avro.SchemaBuilder.PropBuilder
-
Set name-value pair properties for this type or field.
- PropBuilder() - Constructor for class org.apache.avro.SchemaBuilder.PropBuilder
- propsContainsKey(String) - Method in class org.apache.avro.JsonProperties
- 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(String, String, String) - Constructor for class org.apache.avro.Protocol
- Protocol(Protocol) - Constructor for class org.apache.avro.Protocol
-
Constructs a similar Protocol instance with the same
name
,doc
, andnamespace
as {code p} has. - Protocol.Message - Class in org.apache.avro
-
A protocol message.
- prune() - Method in interface org.apache.avro.generic.GenericArray
-
clean up reusable objects from array (if reset didn't already)
- prune() - Method in class org.apache.avro.generic.GenericData.Array
- purgeUnreferencedEntries() - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
-
Remove any entries that have been garbage collected and are no longer referenced.
- 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(int, Object) - Method in class org.apache.avro.generic.GenericData.Record
- 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 class org.apache.avro.specific.SpecificExceptionBase
- put(String, 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(String, Object) - Method in class org.apache.avro.specific.SpecificRecordBase
- put(K, V) - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
- put(K, V) - Method in class org.apache.avro.util.WeakIdentityHashMap
- put(Schema) - Method in class org.apache.avro.ParseContext
-
Put the schema into this context.
- putAll(Map) - Method in class org.apache.avro.util.WeakIdentityHashMap
- putAll(JsonProperties) - Method in class org.apache.avro.JsonProperties
- putIfAbsent(K, V) - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
R
- RandomData - Class in org.apache.avro.util
-
Generates schema data as Java objects with random values.
- RandomData(GenericData, Schema, int) - Constructor for class org.apache.avro.util.RandomData
- RandomData(GenericData, Schema, int, boolean) - Constructor for class org.apache.avro.util.RandomData
- RandomData(GenericData, Schema, int, long) - Constructor for class org.apache.avro.util.RandomData
- RandomData(GenericData, Schema, int, long, boolean) - Constructor for class org.apache.avro.util.RandomData
- RandomData(Schema, int) - Constructor for class org.apache.avro.util.RandomData
- RandomData(Schema, int, boolean) - Constructor for class org.apache.avro.util.RandomData
- RandomData(Schema, int, long) - Constructor for class org.apache.avro.util.RandomData
- RandomData(Schema, int, long, boolean) - Constructor for class org.apache.avro.util.RandomData
- RawMessageDecoder<D> - Class in org.apache.avro.message
-
A
MessageDecoder
that deserializes from raw datum bytes. - RawMessageDecoder(GenericData, Schema) - Constructor for class org.apache.avro.message.RawMessageDecoder
-
Creates a new
RawMessageDecoder
that uses the givendata model
to construct datum instances described by theschema
. - RawMessageDecoder(GenericData, Schema, Schema) - Constructor for class org.apache.avro.message.RawMessageDecoder
-
Creates a new
RawMessageDecoder
that uses the givendata model
to construct datum instances described by thereadSchema
. - RawMessageEncoder<D> - Class in org.apache.avro.message
-
A
MessageEncoder
that encodes only a datum's bytes, without additional information (such as a schema fingerprint). - RawMessageEncoder(GenericData, Schema) - Constructor for class org.apache.avro.message.RawMessageEncoder
-
Creates a new
RawMessageEncoder
that uses the givendata model
to deconstruct datum instances described by theschema
. - RawMessageEncoder(GenericData, Schema, boolean) - Constructor for class org.apache.avro.message.RawMessageEncoder
-
Creates a new
RawMessageEncoder
that uses the givendata model
to deconstruct datum instances described by theschema
. - read() - Method in class org.apache.avro.util.ByteBufferInputStream
- read() - Method in class org.apache.avro.util.ReusableByteBufferInputStream
- read(byte[], int, int) - Method in interface org.apache.avro.file.SeekableInput
-
Equivalent to
InputStream.read(byte[],int,int)
. - read(byte[], int, int) - Method in class org.apache.avro.util.ByteBufferInputStream
- read(byte[], int, int) - Method in class org.apache.avro.util.ReusableByteBufferInputStream
- read(D, Decoder) - Method in class org.apache.avro.generic.GenericDatumReader
- read(D, Decoder) - Method in interface org.apache.avro.io.DatumReader
-
Read a datum.
- read(Object, Decoder) - Method in class org.apache.avro.data.Json.ObjectReader
- read(Object, Decoder) - Method in interface org.apache.avro.io.FastReaderBuilder.FieldReader
- read(Object, Decoder) - Method in class org.apache.avro.io.FastReaderBuilder.MapReader
- read(Object, Decoder) - Method in class org.apache.avro.io.FastReaderBuilder.RecordReader
- read(Object, Decoder) - Method in class org.apache.avro.reflect.CustomEncoding
- read(Object, Decoder) - Method in class org.apache.avro.reflect.DateAsLongEncoding
- read(Object, Schema, ResolvingDecoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read data.
- readAllBytes(InputStream, Charset) - Static method in class org.apache.avro.util.UtfTextUtils
-
Reads the specified input stream as text.
- readAllChars(Reader) - Static method in class org.apache.avro.util.UtfTextUtils
- readArray(Object, Schema, ResolvingDecoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read an array instance.
- readArray(Object, Schema, ResolvingDecoder) - Method in class org.apache.avro.reflect.ReflectDatumReader
- readArrayStart() - Method in class org.apache.avro.io.BinaryDecoder
- readArrayStart() - Method in class org.apache.avro.io.Decoder
-
Reads and returns the size of the first block of an array.
- readArrayStart() - Method in class org.apache.avro.io.JsonDecoder
- readArrayStart() - Method in class org.apache.avro.io.ValidatingDecoder
- readBoolean() - Method in class org.apache.avro.io.BinaryDecoder
- readBoolean() - Method in class org.apache.avro.io.Decoder
-
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(Object, Schema, Decoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read byte arrays.
- readBytes(Object, Schema, Decoder) - Method in class org.apache.avro.reflect.ReflectDatumReader
- 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)
. if old is not null and has sufficient capacity to take in the bytes being read, the bytes are returned in old. - readBytes(ByteBuffer) - Method in class org.apache.avro.io.JsonDecoder
- readBytes(ByteBuffer) - Method in class org.apache.avro.io.ResolvingDecoder
- readBytes(ByteBuffer) - Method in class org.apache.avro.io.ValidatingDecoder
- 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() - 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
- readEnum(Schema, Decoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read an enum value.
- reader - Variable in class org.apache.avro.io.parsing.Symbol.ResolvingAction
- reader - Variable in class org.apache.avro.Resolver.Action
- READER_FIELD_MISSING_DEFAULT_VALUE - Enum constant in enum org.apache.avro.SchemaCompatibility.SchemaIncompatibilityType
- READER_UNION - Enum constant in enum org.apache.avro.Resolver.Action.Type
- READER_WRITER_COMPATIBLE_MESSAGE - Static variable in class org.apache.avro.SchemaCompatibility
-
Message to annotate reader/writer schema pairs that are compatible.
- readerOrder - Variable in class org.apache.avro.Resolver.RecordAdjust
-
Contains (all of) the reader's fields.
- ReaderUnion(Schema, Schema, GenericData, int, Resolver.Action) - Constructor for class org.apache.avro.Resolver.ReaderUnion
- readExternal(ObjectInput) - Method in exception class org.apache.avro.specific.SpecificExceptionBase
- readExternal(ObjectInput) - Method in class org.apache.avro.specific.SpecificFixed
- readExternal(ObjectInput) - Method in class org.apache.avro.specific.SpecificRecordBase
- readExternal(ObjectInput) - Method in class org.apache.avro.util.Utf8
- readField(Object, Schema.Field, Object, ResolvingDecoder, Object) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read a single field of a record.
- readField(Object, Schema.Field, Object, ResolvingDecoder, Object) - Method in class org.apache.avro.reflect.ReflectDatumReader
- readField(Object, Schema.Field, Object, ResolvingDecoder, Object) - Method in class org.apache.avro.specific.SpecificDatumReader
- 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.
- readFieldOrderIfDiff() - Method in class org.apache.avro.io.ResolvingDecoder
-
Same as
ResolvingDecoder.readFieldOrder()
except that it returns null if there was no reordering of fields, i.e., if the correct thing for the reader to do is to read (all) of its fields in the order specified by its own schema (useful for optimizations). - 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.BinaryDecoder
- readFixed(byte[], int, int) - Method in class org.apache.avro.io.Decoder
-
Reads fixed sized binary object.
- readFixed(byte[], int, int) - Method in class org.apache.avro.io.JsonDecoder
- readFixed(byte[], int, int) - Method in class org.apache.avro.io.ValidatingDecoder
- readFixed(Object, Schema, Decoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read a fixed value.
- 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() - 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.generic.GenericDatumReader
-
Called to read integers.
- 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.
- readMapKey(Object, Schema, Decoder) - 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 read a key value. - 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.
- readRecord(Object, Schema, ResolvingDecoder) - Method in class org.apache.avro.specific.SpecificDatumReader
- readString() - Method in class org.apache.avro.io.BinaryDecoder
- readString() - Method in class org.apache.avro.io.Decoder
-
Reads a char-string written by
Encoder.writeString(org.apache.avro.util.Utf8)
. - readString() - Method in class org.apache.avro.io.JsonDecoder
- readString() - Method in class org.apache.avro.io.ResolvingDecoder
- readString() - Method in class org.apache.avro.io.ValidatingDecoder
- readString(Object, Decoder) - Method in class org.apache.avro.generic.GenericDatumReader
-
Called to read strings.
- readString(Object, Decoder) - Method in class org.apache.avro.reflect.ReflectDatumReader
- readString(Object, Schema, 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.ResolvingDecoder
- readString(Utf8) - Method in class org.apache.avro.io.ValidatingDecoder
- readWithConversion(Object, Schema, LogicalType, Conversion<?>, ResolvingDecoder) - Method in class org.apache.avro.generic.GenericDatumReader
- readWithoutConversion(Object, Schema, ResolvingDecoder) - Method in class org.apache.avro.generic.GenericDatumReader
- record(String) - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build an Avro record type.
- record(String) - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build an Avro record type.
- record(String) - Static method in class org.apache.avro.SchemaBuilder
-
Create a builder for an Avro record with the specified name.
- record(String) - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build an Avro record type.
- Record(GenericData.Record, boolean) - Constructor for class org.apache.avro.generic.GenericData.Record
- Record(Schema) - Constructor for class org.apache.avro.generic.GenericData.Record
- RECORD - Enum constant in enum org.apache.avro.Resolver.Action.Type
- RECORD - Enum constant in enum org.apache.avro.Schema.Type
- RECORD_END - Static variable in class org.apache.avro.io.parsing.Symbol
- RECORD_START - Static variable in class org.apache.avro.io.parsing.Symbol
- RecordBuilder<T> - Interface in org.apache.avro.data
-
Interface for record builders
- RecordBuilderBase<T> - Class in org.apache.avro.data
-
Abstract base class for RecordBuilder implementations.
- RecordBuilderBase(RecordBuilderBase<T>, GenericData) - Constructor for class org.apache.avro.data.RecordBuilderBase
-
RecordBuilderBase copy constructor.
- RecordBuilderBase(Schema, GenericData) - Constructor for class org.apache.avro.data.RecordBuilderBase
-
Creates a RecordBuilderBase for building records of the given type.
- recordDefault(GenericRecord) - Method in class org.apache.avro.SchemaBuilder.RecordDefault
-
Completes this field with the default value provided, cannot be null
- RecordReader() - Constructor for class org.apache.avro.io.FastReaderBuilder.RecordReader
- RECURSION_IN_PROGRESS - Enum constant in enum org.apache.avro.SchemaCompatibility.SchemaCompatibilityType
-
Used internally to tag a reader/writer schema pair and prevent recursion.
- recursionInProgress() - Static method in class org.apache.avro.SchemaCompatibility.SchemaCompatibilityResult
-
Returns a details object representing a state indicating that recursion is in progress.
- ReferenceManager() - Constructor for class org.apache.avro.util.springframework.ConcurrentReferenceHashMap.ReferenceManager
- ReflectData - Class in org.apache.avro.reflect
-
Utilities to use existing Java classes and interfaces via reflection.
- ReflectData() - Constructor for class org.apache.avro.reflect.ReflectData
-
For subclasses.
- ReflectData(ClassLoader) - Constructor for class org.apache.avro.reflect.ReflectData
-
Construct with a particular classloader.
- ReflectData.AllowNull - Class in org.apache.avro.reflect
-
ReflectData
implementation that permits null field values. - ReflectDatumReader<T> - Class in org.apache.avro.reflect
-
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
-
Construct for reading instances of a class.
- ReflectDatumReader(ReflectData) - Constructor for class org.apache.avro.reflect.ReflectDatumReader
-
Construct given a
ReflectData
. - ReflectDatumReader(Schema) - Constructor for class org.apache.avro.reflect.ReflectDatumReader
-
Construct where the writer's and reader's schemas are the same.
- ReflectDatumReader(Schema, Schema) - Constructor for class org.apache.avro.reflect.ReflectDatumReader
-
Construct given writer's and reader's schema.
- ReflectDatumReader(Schema, Schema, ReflectData) - Constructor for class org.apache.avro.reflect.ReflectDatumReader
-
Construct given writer's and reader's schema and the data model.
- 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(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
- ReflectionUtil - Class in org.apache.avro.reflect
-
A few utility methods for using @link{java.misc.Unsafe}, mostly for private use.
- register(String, LogicalTypes.LogicalTypeFactory) - Static method in class org.apache.avro.LogicalTypes
-
Register a logical type.
- register(LogicalTypes.LogicalTypeFactory) - Static method in class org.apache.avro.LogicalTypes
-
Register a logical type.
- release() - Method in interface org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Reference
-
Release this entry and ensure that it will be returned from
ReferenceManager#pollForPurge()
. - Reminder on LL(1) parsing - Search tag in package org.apache.avro.io.parsing
- Section
- 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(int) - Method in class org.apache.avro.generic.PrimitivesArrays.BooleanArray
- remove(int) - Method in class org.apache.avro.generic.PrimitivesArrays.DoubleArray
- remove(int) - Method in class org.apache.avro.generic.PrimitivesArrays.FloatArray
- remove(int) - Method in class org.apache.avro.generic.PrimitivesArrays.IntArray
- remove(int) - Method in class org.apache.avro.generic.PrimitivesArrays.LongArray
- remove(Object) - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
- remove(Object) - Method in class org.apache.avro.util.WeakIdentityHashMap
- remove(Object, Object) - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
- REPEATER - Enum constant in enum org.apache.avro.io.parsing.Symbol.Kind
-
non-terminal to represent the contents of an array or map
- replace(K, V) - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
- replace(K, V, V) - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
- requiredBoolean(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a boolean field with the given name and no default.
- requiredBytes(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a bytes field with the given name and no default.
- requiredDouble(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a double field with the given name and no default.
- requiredFloat(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a float field with the given name and no default.
- requiredInt(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating an int field with the given name and no default.
- requiredLong(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a long field with the given name and no default.
- requiredString(String) - Method in class org.apache.avro.SchemaBuilder.FieldAssembler
-
Shortcut for creating a string field with the given name and no default.
- RESERVED_WORD_ESCAPE_CHAR - Static variable in class org.apache.avro.specific.SpecificData
- RESERVED_WORDS - Static variable in class org.apache.avro.specific.SpecificData
-
Reserved words from https://docs.oracle.com/javase/specs/jls/se16/html/jls-3.html require mangling in order to be used in generated Java code.
- reset() - Method in interface org.apache.avro.generic.GenericArray
-
reset size counter of array to zero
- reset() - Method in class org.apache.avro.generic.GenericData.AbstractArray
- reset() - Method in class org.apache.avro.io.FastReaderBuilder.RecordReader
- reset() - Method in class org.apache.avro.io.parsing.Parser
- reset() - Method in class org.apache.avro.util.ByteBufferOutputStream
- reset() - Method in class org.apache.avro.util.ReusableByteBufferInputStream
- Resolution using action symbols - Search tag in package org.apache.avro.io.parsing
- Section
- resolve(Schema) - Method in class org.apache.avro.ParseContext
-
Resolve unresolved references in a schema that was parsed for this context using the types known to this context.
- resolve(SchemaParser.ParseResult) - Method in class org.apache.avro.SchemaParser
-
Deprecated.
- 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(Object, Decoder)
. - resolve(Schema, Schema) - Static method in class org.apache.avro.Resolver
-
Uses GenericData.get() for the data param.
- resolve(Schema, Schema, GenericData) - Static method in class org.apache.avro.Resolver.EnumAdjust
-
If writer and reader don't have same name, a
Resolver.ErrorAction.ErrorType.NAMES_DONT_MATCH
is returned, otherwise an appropriateResolver.EnumAdjust
is. - resolve(Schema, Schema, GenericData) - Static method in class org.apache.avro.Resolver.Promote
-
Return a promotion.
- resolve(Schema, Schema, GenericData) - Static method in class org.apache.avro.Resolver
-
Returns a
Resolver.Action
tree for resolving the writer schema writer and the reader schema reader. - resolve(Schema, Schema, GenericData, Map<Schema.SeenPair, Resolver.Action>) - Static method in class org.apache.avro.Resolver.ReaderUnion
-
Returns a
Resolver.ReaderUnion
action for resolving w and r, or anResolver.ErrorAction
if there is no branch in the reader that matches the writer. - resolve(Schema, Schema, GenericData, Map<Schema.SeenPair, Resolver.Action>) - Static method in class org.apache.avro.Resolver.WriterUnion
- resolveAllSchemas() - Method in class org.apache.avro.ParseContext
-
Resolve all (named) schemas that were parsed.
- Resolver - Class in org.apache.avro
-
Encapsulate schema-resolution logic in an easy-to-consume representation.
- Resolver() - Constructor for class org.apache.avro.Resolver
- Resolver.Action - Class in org.apache.avro
-
An abstract class for an action to be taken to resolve a writer's schema (found in public instance variable writer) against a reader's schema (in reader).
- Resolver.Action.Type - Enum in org.apache.avro
-
Helps us traverse faster.
- Resolver.Container - Class in org.apache.avro
-
Used for array and map schemas: the public instance variable elementAction contains the resolving action needed for the element type of an array or value top of a map.
- Resolver.DoNothing - Class in org.apache.avro
-
In this case, there's nothing to be done for resolution: the two schemas are effectively the same.
- Resolver.EnumAdjust - Class in org.apache.avro
-
Contains information needed to resolve enumerations.
- Resolver.ErrorAction - Class in org.apache.avro
-
In this case there is an error.
- Resolver.ErrorAction.ErrorType - Enum in org.apache.avro
- Resolver.Promote - Class in org.apache.avro
-
In this case, the writer's type needs to be promoted to the reader's.
- Resolver.ReaderUnion - Class in org.apache.avro
-
In this case, the reader is a union and the writer is not.
- Resolver.RecordAdjust - Class in org.apache.avro
-
Instructions for resolving two record schemas.
- Resolver.Skip - Class in org.apache.avro
-
This only appears inside
Resolver.RecordAdjust.fieldActions
, i.e., the actions for adjusting the fields of a record. - Resolver.WriterUnion - Class in org.apache.avro
-
In this case, the writer was a union.
- resolveTypeVariables(Class<?>) - Static method in class org.apache.avro.reflect.ReflectionUtil
-
For an interface, get a map of any
TypeVariable
s to their actual types. - resolveUnion(Schema, Object) - Method in class org.apache.avro.generic.GenericData
-
Return the index for a datum within a union.
- resolveUnion(Schema, Object) - Method in class org.apache.avro.generic.GenericDatumWriter
-
Called to find the index for a datum within a union.
- resolvingDecoder(Schema, Schema, Decoder) - Method in class org.apache.avro.io.DecoderFactory
-
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
- Resolving parser - Search tag in package org.apache.avro.io.parsing
- Section
- ResolvingVisitor(Function<String, Schema>) - Constructor for class org.apache.avro.util.SchemaResolver.ResolvingVisitor
- Result(String) - Constructor for class org.apache.avro.NameValidator.Result
- ReusableByteArrayInputStream - Class in org.apache.avro.util
- ReusableByteArrayInputStream() - Constructor for class org.apache.avro.util.ReusableByteArrayInputStream
- ReusableByteBufferInputStream - Class in org.apache.avro.util
- ReusableByteBufferInputStream() - Constructor for class org.apache.avro.util.ReusableByteBufferInputStream
- reusingReader(FastReaderBuilder.ReusingFieldReader) - Static method in class org.apache.avro.io.FastReaderBuilder
- 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.AbstractArray
- rindex - Variable in class org.apache.avro.io.parsing.Symbol.FieldAdjustAction
- rindex - Variable in class org.apache.avro.io.parsing.Symbol.UnionAdjustAction
- rollback() - Method in class org.apache.avro.ParseContext
- ROOT - Enum constant in enum org.apache.avro.io.parsing.Symbol.Kind
-
Start symbol for some grammar
S
- schema - Variable in class org.apache.avro.reflect.CustomEncoding
- schema() - Method in class org.apache.avro.data.RecordBuilderBase
- schema() - Method in class org.apache.avro.Schema.Field
-
This field's
Schema
. - Schema - Class in org.apache.avro
-
An abstract data type.
- SCHEMA - Static variable in class org.apache.avro.data.Json
-
The schema for Json data.
- SCHEMA - Static variable in class org.apache.avro.file.DataFileConstants
- Schema.Field - Class in org.apache.avro
-
A field within a record.
- Schema.Field.Order - Enum in org.apache.avro
-
How values of this field should be ordered when sorting records.
- Schema.Parser - Class in org.apache.avro
-
A parser for JSON-format schemas.
- Schema.SeenPair - Class in org.apache.avro
-
Useful as key of
Map
s when traversing two schemas at the same time and need to watch for recursion. - Schema.Type - Enum in org.apache.avro
-
The type of schema.
- SchemaBuilder - Class in org.apache.avro
-
A fluent interface for building
Schema
instances. - SchemaBuilder.ArrayBuilder<R> - Class in org.apache.avro
-
Builds an Avro Array type with optional properties.
- SchemaBuilder.ArrayDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.BaseFieldTypeBuilder<R> - Class in org.apache.avro
-
A special Builder for Record fields.
- SchemaBuilder.BaseTypeBuilder<R> - Class in org.apache.avro
-
A common API for building types within a context.
- SchemaBuilder.BooleanBuilder<R> - Class in org.apache.avro
-
Builds an Avro boolean type with optional properties.
- SchemaBuilder.BooleanDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.BytesBuilder<R> - Class in org.apache.avro
-
Builds an Avro bytes type with optional properties.
- SchemaBuilder.BytesDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.DoubleBuilder<R> - Class in org.apache.avro
-
Builds an Avro double type with optional properties.
- SchemaBuilder.DoubleDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.EnumBuilder<R> - Class in org.apache.avro
-
Builds an Avro Enum type with optional properties, namespace, doc, and aliases.
- SchemaBuilder.EnumDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.FieldAssembler<R> - Class in org.apache.avro
- SchemaBuilder.FieldBuilder<R> - Class in org.apache.avro
-
Builds a Field in the context of a
SchemaBuilder.FieldAssembler
. - SchemaBuilder.FieldDefault<R,
S> - Class in org.apache.avro -
Abstract base class for field defaults.
- SchemaBuilder.FieldTypeBuilder<R> - Class in org.apache.avro
-
FieldTypeBuilder adds
SchemaBuilder.FieldTypeBuilder.unionOf()
,SchemaBuilder.FieldTypeBuilder.nullable()
, andSchemaBuilder.FieldTypeBuilder.optional()
to BaseFieldTypeBuilder. - SchemaBuilder.FixedBuilder<R> - Class in org.apache.avro
-
Builds an Avro Fixed type with optional properties, namespace, doc, and aliases.
- SchemaBuilder.FixedDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.FloatBuilder<R> - Class in org.apache.avro
-
Builds an Avro float type with optional properties.
- SchemaBuilder.FloatDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.GenericDefault<R> - Class in org.apache.avro
- SchemaBuilder.IntBuilder<R> - Class in org.apache.avro
-
Builds an Avro int type with optional properties.
- SchemaBuilder.IntDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.LongBuilder<R> - Class in org.apache.avro
-
Builds an Avro long type with optional properties.
- SchemaBuilder.LongDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.MapBuilder<R> - Class in org.apache.avro
-
Builds an Avro Map type with optional properties.
- SchemaBuilder.MapDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.NamedBuilder<S> - Class in org.apache.avro
-
An abstract type that provides builder methods for configuring the name, doc, and aliases of all Avro types that have names (fields, Fixed, Record, and Enum).
- SchemaBuilder.NamespacedBuilder<R,
S> - Class in org.apache.avro -
An abstract type that provides builder methods for configuring the namespace for all Avro types that have namespaces (Fixed, Record, and Enum).
- SchemaBuilder.NullBuilder<R> - Class in org.apache.avro
-
Builds an Avro null type with optional properties.
- SchemaBuilder.NullDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.PropBuilder<S> - Class in org.apache.avro
-
An abstract builder for all Avro types.
- SchemaBuilder.RecordBuilder<R> - Class in org.apache.avro
- SchemaBuilder.RecordDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.StringBldr<R> - Class in org.apache.avro
-
Builds an Avro string type with optional properties.
- SchemaBuilder.StringDefault<R> - Class in org.apache.avro
-
Choose whether to use a default value for the field or not.
- SchemaBuilder.TypeBuilder<R> - Class in org.apache.avro
-
A Builder for creating any Avro schema type.
- SchemaBuilder.UnionAccumulator<R> - Class in org.apache.avro
-
Accumulates all of the types in a union.
- SchemaBuilder.UnionFieldTypeBuilder<R> - Class in org.apache.avro
-
Builder for a union field.
- SchemaBuilderException - Exception Class in org.apache.avro
-
Thrown for errors building schemas.
- SchemaBuilderException(String) - Constructor for exception class org.apache.avro.SchemaBuilderException
- SchemaBuilderException(Throwable) - Constructor for exception class org.apache.avro.SchemaBuilderException
- SchemaCompatibility - Class in org.apache.avro
-
Evaluate the compatibility between a reader schema and a writer schema.
- SchemaCompatibility.Incompatibility - Class in org.apache.avro
- SchemaCompatibility.SchemaCompatibilityResult - Class in org.apache.avro
-
Immutable class representing details about a particular schema pair compatibility check.
- SchemaCompatibility.SchemaCompatibilityType - Enum in org.apache.avro
-
Identifies the type of a schema compatibility result.
- SchemaCompatibility.SchemaIncompatibilityType - Enum in org.apache.avro
- SchemaCompatibility.SchemaPairCompatibility - Class in org.apache.avro
-
Provides information about the compatibility of a single reader and writer schema pair.
- SchemaFormatter - Interface in org.apache.avro
-
Interface and factory to format schemas to text.
- SchemaFormatterFactory - Interface in org.apache.avro
-
Service Provider Interface (SPI) for
SchemaFormatter
. - schemaNameEquals(Schema, Schema) - Static method in class org.apache.avro.SchemaCompatibility
-
Tests the equality of two Avro named schemas.
- SchemaNormalization - Class in org.apache.avro
-
Collection of static methods for generating the canonical form of schemas (see
SchemaNormalization.toParsingForm(org.apache.avro.Schema)
) -- and fingerprints of canonical forms (SchemaNormalization.fingerprint(java.lang.String, byte[])
). - SchemaPairCompatibility(SchemaCompatibility.SchemaCompatibilityResult, Schema, Schema, String) - Constructor for class org.apache.avro.SchemaCompatibility.SchemaPairCompatibility
-
Constructs a new instance.
- SchemaParseException - Exception Class in org.apache.avro
-
Thrown for errors parsing schemas and protocols.
- SchemaParseException(String) - Constructor for exception class org.apache.avro.SchemaParseException
- SchemaParseException(Throwable) - Constructor for exception class org.apache.avro.SchemaParseException
- SchemaParser - Class in org.apache.avro
-
Avro schema parser for text-based formats like JSON, IDL, etc.
- SchemaParser() - Constructor for class org.apache.avro.SchemaParser
-
Create a schema parser.
- SchemaParser.ParseResult - Interface in org.apache.avro
- SchemaResolver - Class in org.apache.avro.util
-
Utility class to resolve schemas that are unavailable at the point they are referenced in a schema file.
- SchemaResolver.IsResolvedSchemaVisitor - Class in org.apache.avro.util
-
This visitor checks if the current schema is fully resolved.
- SchemaResolver.ResolvingVisitor - Class in org.apache.avro.util
-
This visitor creates clone of the visited Schemata, minus the specified schema properties, and resolves all unresolved schemas.
- Schemas - Class in org.apache.avro.util
-
Avro Schema utilities, to traverse...
- SchemaStore - Interface in org.apache.avro.message
-
Interface for classes that can provide avro schemas by fingerprint.
- SchemaStore.Cache - Class in org.apache.avro.message
-
A map-based cache of schemas by AVRO-CRC-64 fingerprint.
- SchemaUtil - Class in org.apache.avro.util
- SchemaValidationException - Exception Class in org.apache.avro
-
Thrown when
SchemaValidator
fails to validate a schema. - SchemaValidationException(Schema, Schema) - Constructor for exception class org.apache.avro.SchemaValidationException
- SchemaValidationException(Schema, Schema, Throwable) - Constructor for exception class org.apache.avro.SchemaValidationException
- SchemaValidationStrategy - Interface in org.apache.avro
-
An interface for validating the compatibility of a single schema against another.
- SchemaValidator - Interface in org.apache.avro
-
A SchemaValidator has one method, which validates that a
Schema
is compatible with the other schemas provided. - SchemaValidatorBuilder - Class in org.apache.avro
-
A Builder for creating SchemaValidators.
- SchemaValidatorBuilder() - Constructor for class org.apache.avro.SchemaValidatorBuilder
- SchemaVisitor<T> - Interface in org.apache.avro.util
- SchemaVisitor.SchemaVisitorAction - Enum in org.apache.avro.util
- 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.SeekableByteArrayInput
- seek(long) - Method in class org.apache.avro.file.SeekableFileInput
- seek(long) - Method in interface org.apache.avro.file.SeekableInput
-
Set the position for the next
read()
. - SeekableByteArrayInput - Class in org.apache.avro.file
-
A
SeekableInput
backed with data in a byte array. - SeekableByteArrayInput(byte[]) - Constructor for class org.apache.avro.file.SeekableByteArrayInput
- SeekableFileInput - Class in org.apache.avro.file
-
A
FileInputStream
that implementsSeekableInput
. - 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.
- SeenPair(Object, Object) - Constructor for class org.apache.avro.Schema.SeenPair
- Segment(int, int) - Constructor for class org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Segment
- Selecting and Building an Avro Type - Search tag in class org.apache.avro.SchemaBuilder
- Section
- self() - Method in class org.apache.avro.SchemaBuilder.ArrayBuilder
- self() - Method in class org.apache.avro.SchemaBuilder.BooleanBuilder
- self() - Method in class org.apache.avro.SchemaBuilder.BytesBuilder
- self() - Method in class org.apache.avro.SchemaBuilder.DoubleBuilder
- self() - Method in class org.apache.avro.SchemaBuilder.EnumBuilder
- self() - Method in class org.apache.avro.SchemaBuilder.FieldBuilder
- self() - Method in class org.apache.avro.SchemaBuilder.FixedBuilder
- self() - Method in class org.apache.avro.SchemaBuilder.FloatBuilder
- self() - Method in class org.apache.avro.SchemaBuilder.IntBuilder
- self() - Method in class org.apache.avro.SchemaBuilder.LongBuilder
- self() - Method in class org.apache.avro.SchemaBuilder.MapBuilder
- self() - Method in class org.apache.avro.SchemaBuilder.NullBuilder
- self() - Method in class org.apache.avro.SchemaBuilder.PropBuilder
-
a self-type for chaining builder subclasses.
- self() - Method in class org.apache.avro.SchemaBuilder.RecordBuilder
- self() - Method in class org.apache.avro.SchemaBuilder.StringBldr
- SEQUENCE - Enum constant in enum org.apache.avro.io.parsing.Symbol.Kind
-
non-terminal symbol which is a sequence of one or more other symbols
- SERIALIZABLE_PACKAGES - Static variable in class org.apache.avro.specific.SpecificDatumReader
- set(int, boolean) - Method in class org.apache.avro.generic.PrimitivesArrays.BooleanArray
- set(int, double) - Method in class org.apache.avro.generic.PrimitivesArrays.DoubleArray
- set(int, float) - Method in class org.apache.avro.generic.PrimitivesArrays.FloatArray
- set(int, int) - Method in class org.apache.avro.generic.PrimitivesArrays.IntArray
- set(int, long) - Method in class org.apache.avro.generic.PrimitivesArrays.LongArray
- set(int, Boolean) - Method in class org.apache.avro.generic.PrimitivesArrays.BooleanArray
- set(int, Double) - Method in class org.apache.avro.generic.PrimitivesArrays.DoubleArray
- set(int, Float) - Method in class org.apache.avro.generic.PrimitivesArrays.FloatArray
- set(int, Integer) - Method in class org.apache.avro.generic.PrimitivesArrays.IntArray
- set(int, Long) - Method in class org.apache.avro.generic.PrimitivesArrays.LongArray
- set(int, Object) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Sets the value of a field.
- set(int, T) - Method in class org.apache.avro.generic.GenericData.Array
- set(String) - Method in class org.apache.avro.util.Utf8
-
Set to the contents of a String.
- set(String, Object) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Sets the value of a field.
- set(Schema.Field, Object) - Method in class org.apache.avro.generic.GenericRecordBuilder
-
Sets the value of a field.
- set(Utf8) - Method in class org.apache.avro.util.Utf8
- setByteArray(byte[], int, int) - Method in class org.apache.avro.util.ReusableByteArrayInputStream
- setByteBuffer(ByteBuffer) - Method in class org.apache.avro.util.ReusableByteBufferInputStream
- setByteLength(int) - Method in class org.apache.avro.util.Utf8
-
Set length in bytes.
- setCause(Throwable) - Method in interface org.apache.avro.data.ErrorBuilder
-
Sets the error cause
- setCause(Throwable) - Method in class org.apache.avro.specific.SpecificErrorBuilderBase
- setCodec(CodecFactory) - Method in class org.apache.avro.file.DataFileWriter
-
Configures this writer to use the given codec.
- setCustomCoders(boolean) - Method in class org.apache.avro.specific.SpecificData
-
Dynamically set the value of the custom-coder feature flag.
- setDefaultGeneratedValue(Type, Object) - Method in class org.apache.avro.reflect.ReflectData
-
Set the default value for a type.
- setDefaultsGenerated(boolean) - Method in class org.apache.avro.reflect.ReflectData
-
Enable or disable `default reflection`
- setEncoder(Function<OutputStream, BinaryEncoder>) - Method in class org.apache.avro.file.DataFileWriter
-
Allows setting a different encoder than the default DirectBinaryEncoder.
- setExpected(Schema) - Method in class org.apache.avro.generic.GenericDatumReader
-
Set the reader's schema.
- setFastReaderEnabled(boolean) - Method in class org.apache.avro.generic.GenericData
- 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
- setField(Object, String, int, Object, Object) - Method in class org.apache.avro.generic.GenericData
-
Version of
GenericData.setField(java.lang.Object, java.lang.String, int, java.lang.Object)
that has state. - setField(Object, String, int, Object, Object) - Method in class org.apache.avro.reflect.ReflectData
- setFields(List<Schema.Field>) - Method in class org.apache.avro.Schema
-
If this is a record, set its fields.
- setFlushOnEveryBlock(boolean) - Method in class org.apache.avro.file.DataFileWriter
-
Set whether this writer should flush the block to the stream every time a sync marker is written.
- setIncludeNamespace(boolean) - Method in class org.apache.avro.io.JsonEncoder
- 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.BlockingDirectBinaryEncoder
- 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
Utf8.setByteLength(int)
instead. - setMeta(String, byte[]) - 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.
- setMeta(String, String) - Method in class org.apache.avro.file.DataFileWriter
-
Set a metadata property.
- setNameValidator(NameValidator) - Static method in class org.apache.avro.Schema
-
Deprecated.
- setSchema(Schema) - Method in class org.apache.avro.data.Json.ObjectReader
- setSchema(Schema) - Method in class org.apache.avro.data.Json.ObjectWriter
- setSchema(Schema) - Method in class org.apache.avro.generic.GenericData.Fixed
- setSchema(Schema) - Method in class org.apache.avro.generic.GenericDatumReader
- setSchema(Schema) - Method in class org.apache.avro.generic.GenericDatumWriter
- setSchema(Schema) - Method in interface org.apache.avro.io.DatumReader
-
Set the writer's schema.
- setSchema(Schema) - Method in interface org.apache.avro.io.DatumWriter
-
Set the schema.
- setSchema(Schema) - Method in interface org.apache.avro.io.FastReaderBuilder.FieldReader
- setSchema(Schema) - Method in class org.apache.avro.specific.SpecificDatumReader
- setStringType(Schema, GenericData.StringType) - Static method in class org.apache.avro.generic.GenericData
-
Set the Java type to be used when reading this schema.
- setSyncInterval(int) - Method in class org.apache.avro.file.DataFileWriter
-
Set the synchronization interval for this file, in bytes.
- setTypes(Collection<Schema>) - Method in class org.apache.avro.Protocol
-
Set the types of this protocol.
- setValidateDefaults(boolean) - Method in class org.apache.avro.Schema.Parser
-
Enable or disable default value validation.
- setValidateDefaults(boolean) - Static method in class org.apache.avro.Schema
-
Deprecated.
- setValue(Object) - Method in interface org.apache.avro.data.ErrorBuilder
-
Sets the value
- setValue(Object) - Method in class org.apache.avro.specific.SpecificErrorBuilderBase
- setValue(V) - Method in class org.apache.avro.reflect.MapEntry
-
Deprecated.
- setValue(V) - Method in class org.apache.avro.util.MapEntry
- setValue(V) - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Entry
- size - Variable in class org.apache.avro.generic.GenericData.AbstractArray
- size - Variable in class org.apache.avro.io.parsing.Symbol.IntCheckAction
- size() - Method in class org.apache.avro.generic.GenericData.AbstractArray
- size() - Method in class org.apache.avro.io.parsing.Symbol.Alternative
- size() - Method in class org.apache.avro.io.parsing.Symbol.Sequence
- size() - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap
- size() - Method in class org.apache.avro.util.WeakIdentityHashMap
- size(int) - Method in class org.apache.avro.SchemaBuilder.FixedBuilder
-
Configure this fixed type's size, and end its configuration.
- SIZES_DONT_MATCH - Enum constant in enum org.apache.avro.Resolver.ErrorAction.ErrorType
-
Use when two fixed types match and their names match by their sizes don't.
- skip(long) - Method in class org.apache.avro.util.ReusableByteBufferInputStream
- skip(Schema, Decoder) - Static method in class org.apache.avro.generic.GenericDatumReader
-
Skip an instance of a schema.
- Skip(Schema, GenericData) - Constructor for class org.apache.avro.Resolver.Skip
- SKIP - Enum constant in enum org.apache.avro.Resolver.Action.Type
- SKIP_SIBLINGS - Enum constant in enum org.apache.avro.util.SchemaVisitor.SchemaVisitorAction
-
Skip visiting the siblings of this schema.
- SKIP_SUBTREE - Enum constant in enum org.apache.avro.util.SchemaVisitor.SchemaVisitorAction
-
when returned from pre non terminal visit method the children of the non terminal are skipped. afterVisitNonTerminal for the current schema will not be invoked.
- 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
- skipAction(Symbol) - Static method in class org.apache.avro.io.parsing.Symbol
- SkipAction(Symbol) - Constructor for class org.apache.avro.io.parsing.Symbol.SkipAction
-
Deprecated.
- 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.ResolvingDecoder
- skipBytes() - Method in class org.apache.avro.io.ValidatingDecoder
- skipFixed() - Method in class org.apache.avro.io.JsonDecoder
- skipFixed() - Method in class org.apache.avro.io.ParsingDecoder
- skipFixed() - 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(int) - 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.ResolvingDecoder
- 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
orreadXyz
methods onthis
, 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.
- SnappyCodec - Class in org.apache.avro.file
-
Implements Snappy compression and decompression.
- SOFT - Enum constant in enum org.apache.avro.util.springframework.ConcurrentReferenceHashMap.ReferenceType
-
Use
SoftReferences
. - space() - Element in annotation type org.apache.avro.reflect.AvroAlias
- SpecificData - Class in org.apache.avro.specific
-
Utilities for generated Java classes and interfaces.
- SpecificData() - Constructor for class org.apache.avro.specific.SpecificData
-
For subclasses.
- SpecificData(ClassLoader) - Constructor for class org.apache.avro.specific.SpecificData
-
Construct with a specific classloader.
- SpecificData.SchemaConstructable - Interface in org.apache.avro.specific
-
Tag interface that indicates that a class has a one-argument constructor that accepts a Schema.
- SpecificDatumReader<T> - Class in org.apache.avro.specific
-
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
-
Construct for reading instances of a class.
- SpecificDatumReader(Schema) - Constructor for class org.apache.avro.specific.SpecificDatumReader
-
Construct where the writer's and reader's schemas are the same.
- SpecificDatumReader(Schema, Schema) - Constructor for class org.apache.avro.specific.SpecificDatumReader
-
Construct given writer's and reader's schema.
- SpecificDatumReader(Schema, Schema, SpecificData) - Constructor for class org.apache.avro.specific.SpecificDatumReader
-
Construct given writer's schema, reader's schema, and a
SpecificData
. - SpecificDatumReader(SpecificData) - Constructor for class org.apache.avro.specific.SpecificDatumReader
-
Construct given a
SpecificData
. - 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
- SpecificErrorBuilderBase<T> - Class in org.apache.avro.specific
-
Abstract base class for specific ErrorBuilder implementations.
- SpecificErrorBuilderBase(Schema) - Constructor for class org.apache.avro.specific.SpecificErrorBuilderBase
-
Creates a SpecificErrorBuilderBase for building errors of the given type.
- SpecificErrorBuilderBase(Schema, SpecificData) - Constructor for class org.apache.avro.specific.SpecificErrorBuilderBase
-
Creates a SpecificErrorBuilderBase for building errors of the given type.
- SpecificErrorBuilderBase(SpecificErrorBuilderBase<T>) - Constructor for class org.apache.avro.specific.SpecificErrorBuilderBase
-
SpecificErrorBuilderBase copy constructor.
- SpecificErrorBuilderBase(T) - Constructor for class org.apache.avro.specific.SpecificErrorBuilderBase
-
Creates a SpecificErrorBuilderBase by copying an existing error instance.
- SpecificExceptionBase - Exception Class in org.apache.avro.specific
-
Base class for specific exceptions.
- SpecificExceptionBase() - Constructor for exception class org.apache.avro.specific.SpecificExceptionBase
- SpecificExceptionBase(Object) - Constructor for exception class org.apache.avro.specific.SpecificExceptionBase
- SpecificExceptionBase(Object, Throwable) - Constructor for exception class org.apache.avro.specific.SpecificExceptionBase
- SpecificExceptionBase(Throwable) - Constructor for exception class org.apache.avro.specific.SpecificExceptionBase
- SpecificFixed - Class in org.apache.avro.specific
-
Base class for generated fixed-sized data classes.
- SpecificFixed() - Constructor for class org.apache.avro.specific.SpecificFixed
- SpecificFixed(byte[]) - Constructor for class org.apache.avro.specific.SpecificFixed
- SpecificRecord - Interface in org.apache.avro.specific
-
Implemented by generated record classes.
- SpecificRecordBase - Class in org.apache.avro.specific
-
Base class for generated record classes.
- SpecificRecordBase() - Constructor for class org.apache.avro.specific.SpecificRecordBase
- SpecificRecordBuilderBase<T> - Class in org.apache.avro.specific
-
Abstract base class for specific RecordBuilder implementations.
- SpecificRecordBuilderBase(Schema) - Constructor for class org.apache.avro.specific.SpecificRecordBuilderBase
-
Creates a SpecificRecordBuilderBase for building records of the given type.
- SpecificRecordBuilderBase(Schema, SpecificData) - Constructor for class org.apache.avro.specific.SpecificRecordBuilderBase
-
Creates a SpecificRecordBuilderBase for building records of the given type.
- SpecificRecordBuilderBase(SpecificRecordBuilderBase<T>) - Constructor for class org.apache.avro.specific.SpecificRecordBuilderBase
-
SpecificRecordBuilderBase copy constructor.
- SpecificRecordBuilderBase(T) - Constructor for class org.apache.avro.specific.SpecificRecordBuilderBase
-
Creates a SpecificRecordBuilderBase by copying an existing record instance.
- stack - Variable in class org.apache.avro.io.parsing.Parser
- startInitialization() - Method in class org.apache.avro.io.FastReaderBuilder.RecordReader
- 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
- strategy(SchemaValidationStrategy) - Method in class org.apache.avro.SchemaValidatorBuilder
- STRICT_VALIDATOR - Static variable in interface org.apache.avro.NameValidator
- String - Enum constant in enum org.apache.avro.generic.GenericData.StringType
- STRING - Enum constant in enum org.apache.avro.Schema.Type
- STRING - Static variable in class org.apache.avro.io.parsing.Symbol
- STRING_PROP - Static variable in class org.apache.avro.generic.GenericData
- STRING_TYPE_STRING - Static variable in class org.apache.avro.generic.GenericData
- Stringable - Annotation Type in org.apache.avro.reflect
-
Declares that a class or field should be represented by an Avro string.
- stringableClasses - Variable in class org.apache.avro.specific.SpecificData
-
Read/write some common builtin classes as strings.
- stringBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
Build a string type that can set custom properties.
- stringBuilder() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build a string type that can set custom properties.
- stringBuilder() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
Build a string type that can set custom properties.
- stringDefault(String) - Method in class org.apache.avro.SchemaBuilder.StringDefault
-
Completes this field with the default value provided.
- stringType() - Method in class org.apache.avro.SchemaBuilder.BaseFieldTypeBuilder
-
A plain string type without custom properties.
- stringType() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
A plain string type without custom properties.
- stringType() - Method in class org.apache.avro.SchemaBuilder.UnionFieldTypeBuilder
-
A plain string type without custom properties.
- subSequence(int, int) - Method in class org.apache.avro.util.Utf8
- subtractFrom(Temporal) - Method in class org.apache.avro.util.TimePeriod
- summarize(Schema) - Method in interface org.apache.avro.path.PathTracingException
-
produces a user-facing exception to be thrown back out to user code
- summarize(Schema) - Method in exception class org.apache.avro.path.TracingAvroTypeException
- summarize(Schema) - Method in exception class org.apache.avro.path.TracingClassCastException
- summarize(Schema) - Method in exception class org.apache.avro.path.TracingNullPointException
- swap(int, int) - Method in class org.apache.avro.generic.GenericData.AbstractArray
- swap(int, int) - Method in class org.apache.avro.generic.GenericData.Array
- swap(int, int) - Method in class org.apache.avro.generic.PrimitivesArrays.BooleanArray
- swap(int, int) - Method in class org.apache.avro.generic.PrimitivesArrays.DoubleArray
- swap(int, int) - Method in class org.apache.avro.generic.PrimitivesArrays.FloatArray
- swap(int, int) - Method in class org.apache.avro.generic.PrimitivesArrays.IntArray
- swap(int, int) - Method in class org.apache.avro.generic.PrimitivesArrays.LongArray
- Symbol - Class in org.apache.avro.io.parsing
-
Symbol is the base of all symbols (terminals and non-terminals) of the grammar.
- Symbol(Symbol.Kind) - Constructor for class org.apache.avro.io.parsing.Symbol
-
Constructs a new symbol of the given kind kind.
- Symbol(Symbol.Kind, Symbol[]) - Constructor for class org.apache.avro.io.parsing.Symbol
- Symbol.Alternative - Class in org.apache.avro.io.parsing
- Symbol.DefaultStartAction - Class in org.apache.avro.io.parsing
- Symbol.EnumAdjustAction - Class in org.apache.avro.io.parsing
- Symbol.EnumLabelsAction - Class in org.apache.avro.io.parsing
- Symbol.ErrorAction - Class in org.apache.avro.io.parsing
- Symbol.FieldAdjustAction - Class in org.apache.avro.io.parsing
- Symbol.FieldOrderAction - Class in org.apache.avro.io.parsing
- Symbol.ImplicitAction - Class in org.apache.avro.io.parsing
- Symbol.IntCheckAction - Class in org.apache.avro.io.parsing
- Symbol.Kind - Enum in org.apache.avro.io.parsing
- Symbol.Repeater - Class in org.apache.avro.io.parsing
- Symbol.ResolvingAction - Class in org.apache.avro.io.parsing
- Symbol.Root - Class in org.apache.avro.io.parsing
- Symbol.Sequence - Class in org.apache.avro.io.parsing
- Symbol.SkipAction - Class in org.apache.avro.io.parsing
- Symbol.UnionAdjustAction - Class in org.apache.avro.io.parsing
- Symbol.WriterUnionAction - Class in org.apache.avro.io.parsing
- symbolHandler - Variable in class org.apache.avro.io.parsing.Parser
- symbols - Variable in class org.apache.avro.io.parsing.Symbol.Alternative
- symbols - Variable in class org.apache.avro.io.parsing.Symbol.EnumLabelsAction
- symbols(String...) - Method in class org.apache.avro.SchemaBuilder.EnumBuilder
-
Configure this enum type's symbols, and end its configuration.
- symToParse - Variable in class org.apache.avro.io.parsing.Symbol.UnionAdjustAction
- symToSkip - Variable in class org.apache.avro.io.parsing.Symbol.SkipAction
- sync() - Method in class org.apache.avro.file.DataFileWriter
-
Return the current position as a value that may be passed to
DataFileReader.seek(long)
. - sync() - Method in interface org.apache.avro.file.Syncable
-
Sync the file to disk.
- sync() - Method in class org.apache.avro.file.SyncableFileOutputStream
-
Sync the file to disk.
- sync(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(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
- Syncable - Interface in org.apache.avro.file
- SyncableFileOutputStream - Class in org.apache.avro.file
-
An implementation of Syncable which writes to a file.
- SyncableFileOutputStream(File) - Constructor for class org.apache.avro.file.SyncableFileOutputStream
-
Creates an instance of SyncableFileOutputStream using the given File instance.
- SyncableFileOutputStream(FileDescriptor) - Constructor for class org.apache.avro.file.SyncableFileOutputStream
-
Creates an instance of SyncableFileOutputStream using the given FileDescriptor instance.
- SyncableFileOutputStream(File, boolean) - Constructor for class org.apache.avro.file.SyncableFileOutputStream
-
Creates an instance of SyncableFileOutputStream that writes to the file represented by the given File instance and optionally append to the file if it already exists.
- SyncableFileOutputStream(String) - Constructor for class org.apache.avro.file.SyncableFileOutputStream
-
Creates an instance of SyncableFileOutputStream with the given name.
- SyncableFileOutputStream(String, boolean) - Constructor for class org.apache.avro.file.SyncableFileOutputStream
-
Creates an instance of SyncableFileOutputStream with the given name and optionally append to the file if it already exists.
- 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.
- SystemLimitException - Exception Class in org.apache.avro
-
Thrown to prevent making large allocations when reading potentially pathological input data from an untrusted source.
- SystemLimitException(String) - Constructor for exception class org.apache.avro.SystemLimitException
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.SeekableByteArrayInput
- tell() - Method in class org.apache.avro.file.SeekableFileInput
- tell() - Method in interface org.apache.avro.file.SeekableInput
-
Return the position of the next
read()
. - TERMINAL - Enum constant in enum org.apache.avro.io.parsing.Symbol.Kind
-
terminal symbols which have no productions
- TERMINATE - Enum constant in enum org.apache.avro.util.SchemaVisitor.SchemaVisitorAction
-
terminate visit.
- The interpretation - Search tag in package org.apache.avro.io.parsing
- Section
- TimeConversions - Class in org.apache.avro.data
- TimeConversions() - Constructor for class org.apache.avro.data.TimeConversions
- TimeConversions.DateConversion - Class in org.apache.avro.data
- TimeConversions.LocalTimestampMicrosConversion - Class in org.apache.avro.data
- TimeConversions.LocalTimestampMillisConversion - Class in org.apache.avro.data
- TimeConversions.LocalTimestampNanosConversion - Class in org.apache.avro.data
- TimeConversions.TimeMicrosConversion - Class in org.apache.avro.data
- TimeConversions.TimeMillisConversion - Class in org.apache.avro.data
- TimeConversions.TimestampMicrosConversion - Class in org.apache.avro.data
- TimeConversions.TimestampMillisConversion - Class in org.apache.avro.data
- TimeConversions.TimestampNanosConversion - Class in org.apache.avro.data
- timeMicros() - Static method in class org.apache.avro.LogicalTypes
- TimeMicrosConversion() - Constructor for class org.apache.avro.data.TimeConversions.TimeMicrosConversion
- timeMillis() - Static method in class org.apache.avro.LogicalTypes
- TimeMillisConversion() - Constructor for class org.apache.avro.data.TimeConversions.TimeMillisConversion
- TimePeriod - Class in org.apache.avro.util
-
A temporal amount to model an
Avro duration
(the logical type). - timestampMicros() - Static method in class org.apache.avro.LogicalTypes
- TimestampMicrosConversion() - Constructor for class org.apache.avro.data.TimeConversions.TimestampMicrosConversion
- timestampMillis() - Static method in class org.apache.avro.LogicalTypes
- TimestampMillisConversion() - Constructor for class org.apache.avro.data.TimeConversions.TimestampMillisConversion
- timestampNanos() - Static method in class org.apache.avro.LogicalTypes
- TimestampNanosConversion() - Constructor for class org.apache.avro.data.TimeConversions.TimestampNanosConversion
- toArray(T, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- toBoolean(T, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- toBytes(BigDecimal, Schema, LogicalType) - Method in class org.apache.avro.Conversions.BigDecimalConversion
- toBytes(BigDecimal, Schema, LogicalType) - Method in class org.apache.avro.Conversions.DecimalConversion
- toBytes(T, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- toCharSequence(UUID, Schema, LogicalType) - Method in class org.apache.avro.Conversions.UUIDConversion
- toCharSequence(T, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- toDouble(T, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- toDuration() - Method in class org.apache.avro.util.TimePeriod
- toEnumSymbol(T, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- toFixed(BigDecimal, Schema, LogicalType) - Method in class org.apache.avro.Conversions.DecimalConversion
- toFixed(UUID, Schema, LogicalType) - Method in class org.apache.avro.Conversions.UUIDConversion
- toFixed(TimePeriod, Schema, LogicalType) - Method in class org.apache.avro.Conversions.DurationConversion
- toFixed(T, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- toFloat(T, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- toInt(LocalDate, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.DateConversion
- toInt(LocalTime, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.TimeMillisConversion
- toInt(T, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- toLong(Instant, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.TimestampMicrosConversion
- toLong(Instant, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.TimestampMillisConversion
- toLong(Instant, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.TimestampNanosConversion
- toLong(LocalDateTime, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.LocalTimestampMicrosConversion
- toLong(LocalDateTime, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.LocalTimestampMillisConversion
- toLong(LocalDateTime, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.LocalTimestampNanosConversion
- toLong(LocalTime, Schema, LogicalType) - Method in class org.apache.avro.data.TimeConversions.TimeMicrosConversion
- toLong(T, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- toMap(T, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- toParsingForm(Schema) - Static method in class org.apache.avro.SchemaNormalization
-
Returns "Parsing Canonical Form" of a schema as defined by Avro spec.
- toPeriod() - Method in class org.apache.avro.util.TimePeriod
- topSymbol() - Method in class org.apache.avro.io.parsing.Parser
-
Returns the top symbol from the stack.
- toRecord(T, Schema, LogicalType) - Method in class org.apache.avro.Conversion
- toString() - Method in exception class org.apache.avro.AvroMissingFieldException
- toString() - Method in class org.apache.avro.file.Codec
- toString() - Method in class org.apache.avro.file.CodecFactory
- toString() - Method in class org.apache.avro.file.DeflateCodec
- toString() - Method in class org.apache.avro.file.XZCodec
- toString() - Method in class org.apache.avro.file.ZstandardCodec
- 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() - Method in interface org.apache.avro.generic.GenericEnumSymbol
-
Return the symbol.
- toString() - Method in class org.apache.avro.path.ArrayPositionPredicate
- toString() - Method in class org.apache.avro.path.LocationStep
- toString() - Method in class org.apache.avro.path.MapKeyPredicate
- toString() - Method in class org.apache.avro.path.UnionTypePredicate
- toString() - Method in class org.apache.avro.Protocol.Message
- toString() - Method in class org.apache.avro.Protocol
-
Render this as JSON.
- toString() - Method in class org.apache.avro.Resolver.ErrorAction
- toString() - Method in class org.apache.avro.Schema.Field
- toString() - Method in class org.apache.avro.Schema
-
Render this as JSON.
- toString() - Method in class org.apache.avro.SchemaCompatibility.Incompatibility
- toString() - Method in class org.apache.avro.SchemaCompatibility.SchemaCompatibilityResult
- toString() - Method in class org.apache.avro.SchemaCompatibility.SchemaPairCompatibility
- toString() - Method in class org.apache.avro.specific.SpecificFixed
- toString() - Method in class org.apache.avro.specific.SpecificRecordBase
- toString() - Method in class org.apache.avro.util.SchemaResolver.ResolvingVisitor
- toString() - Method in class org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Entry
- toString() - Method in class org.apache.avro.util.TimePeriod
- toString() - Method in class org.apache.avro.util.Utf8
- toString(boolean) - Method in class org.apache.avro.Protocol
-
Render this as JSON.
- toString(boolean) - Method in class org.apache.avro.Schema
-
Deprecated.
- toString(Object) - Static method in class org.apache.avro.data.Json
-
Converts an instance of the object model described in
JsonProperties
to a JSON string. - toString(Object) - Method in class org.apache.avro.generic.GenericData
-
Renders a Java datum as JSON.
- toString(Object, StringBuilder, IdentityHashMap<Object, Object>) - Method in class org.apache.avro.generic.GenericData
-
Renders a Java datum as JSON.
- toString(Collection<Schema>, boolean) - Method in class org.apache.avro.Schema
-
Deprecated.
- tracePath(PathElement) - Method in interface org.apache.avro.path.PathTracingException
-
appends a path element to the trace. expected to be called in reverse-order as the exception bubbles up the stack
- tracePath(PathElement) - Method in exception class org.apache.avro.path.TracingAvroTypeException
- tracePath(PathElement) - Method in exception class org.apache.avro.path.TracingClassCastException
- tracePath(PathElement) - Method in exception class org.apache.avro.path.TracingNullPointException
- TracingAvroTypeException - Exception Class in org.apache.avro.path
-
an
AvroTypeException
with extra fields used to trace back the path to a bad value through an object graph - TracingAvroTypeException(AvroTypeException) - Constructor for exception class org.apache.avro.path.TracingAvroTypeException
- TracingClassCastException - Exception Class in org.apache.avro.path
-
a
ClassCastException
with extra fields used to trace back the path to a bad value through an object graph - TracingClassCastException(ClassCastException, Object, Schema, boolean) - Constructor for exception class org.apache.avro.path.TracingClassCastException
- TracingNullPointException - Exception Class in org.apache.avro.path
-
a
NullPointerException
with extra fields used to trace back the path to a null value through an object graph - TracingNullPointException(NullPointerException, Schema, boolean) - Constructor for exception class org.apache.avro.path.TracingNullPointException
- type - Variable in class org.apache.avro.Resolver.Action
- type() - Method in class org.apache.avro.SchemaBuilder.FieldBuilder
-
Final step in configuring this field, finalizing name, namespace, alias, and order.
- type(String) - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Look up the type by name.
- type(String) - Method in class org.apache.avro.SchemaBuilder.FieldBuilder
-
Final step in configuring this field, finalizing name, namespace, alias, and order.
- type(String, String) - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Look up the type by name and namespace.
- type(String, String) - Method in class org.apache.avro.SchemaBuilder.FieldBuilder
-
Final step in configuring this field, finalizing name, namespace, alias, and order.
- type(Schema) - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Use the schema provided as the type.
- type(Schema) - Method in class org.apache.avro.SchemaBuilder.FieldBuilder
-
Final step in configuring this field, finalizing name, namespace, alias, and order.
- TYPE_IDENTIFIER_RESERVED_WORDS - Static variable in class org.apache.avro.specific.SpecificData
- TYPE_MISMATCH - Enum constant in enum org.apache.avro.SchemaCompatibility.SchemaIncompatibilityType
- typesByName() - Method in class org.apache.avro.ParseContext
-
Return all known types by their fullname.
U
- Union - Annotation Type in org.apache.avro.reflect
-
Declares that a Java type should be represented by an Avro union schema.
- UNION - Enum constant in enum org.apache.avro.Schema.Type
- UNION - Static variable in class org.apache.avro.io.parsing.Symbol
- UNION_END - Static variable in class org.apache.avro.io.parsing.Symbol
- unionAdjustAction(int, Symbol) - Static method in class org.apache.avro.io.parsing.Symbol
- UnionAdjustAction(int, Symbol) - Constructor for class org.apache.avro.io.parsing.Symbol.UnionAdjustAction
-
Deprecated.
- unionEquiv - Variable in class org.apache.avro.Resolver.WriterUnion
- unionOf() - Method in class org.apache.avro.SchemaBuilder.BaseTypeBuilder
-
Build an Avro union schema type.
- unionOf() - Method in class org.apache.avro.SchemaBuilder.FieldTypeBuilder
-
Build an Avro union schema type.
- unionOf() - Method in class org.apache.avro.SchemaBuilder.TypeBuilder
- unionOf() - Static method in class org.apache.avro.SchemaBuilder
-
Create a builder for an Avro union This is equivalent to:
- Unions - Search tag in class org.apache.avro.SchemaBuilder
- Section
- UnionTypePredicate - Class in org.apache.avro.path
-
Returns items by their position (numeric index of type) in a union schema
- UnionTypePredicate(String) - Constructor for class org.apache.avro.path.UnionTypePredicate
- UnknownAvroCodecException - Exception Class in org.apache.avro
- UnknownAvroCodecException(String) - Constructor for exception class org.apache.avro.UnknownAvroCodecException
- unmangle(String) - Static method in class org.apache.avro.specific.SpecificData
-
Undoes mangling for reserved words.
- unresolvedSchema(String) - Static method in class org.apache.avro.util.SchemaResolver
-
Create a schema to represent an "unresolved" schema.
- UnresolvedUnionException - Exception Class in org.apache.avro
-
Thrown when the expected contents of a union cannot be resolved.
- UnresolvedUnionException(Schema, Object) - Constructor for exception class org.apache.avro.UnresolvedUnionException
- UnresolvedUnionException(Schema, Schema.Field, Object) - Constructor for exception class org.apache.avro.UnresolvedUnionException
- Usage Guide - Search tag in class org.apache.avro.SchemaBuilder
- Section
- USE_DEFAULT - Static variable in class org.apache.avro.util.RandomData
- useCustomCoders() - Method in class org.apache.avro.reflect.ReflectData
-
Always false since custom coders are not available for
ReflectData
. - useCustomCoders() - Method in class org.apache.avro.specific.SpecificData
-
Retrieve the current value of the custom-coders feature flag.
- using() - Element in annotation type org.apache.avro.reflect.AvroEncode
- UTF_VALIDATOR - Static variable in interface org.apache.avro.NameValidator
- Utf8 - Class in org.apache.avro.util
-
A Utf8 string.
- Utf8 - Enum constant in enum org.apache.avro.generic.GenericData.StringType
- Utf8() - Constructor for class org.apache.avro.util.Utf8
- Utf8(byte[]) - Constructor for class org.apache.avro.util.Utf8
- Utf8(String) - Constructor for class org.apache.avro.util.Utf8
- Utf8(Utf8) - Constructor for class org.apache.avro.util.Utf8
- UtfTextUtils - Class in org.apache.avro.util
-
Text utilities especially suited for UTF encoded bytes.
- UtfTextUtils() - Constructor for class org.apache.avro.util.UtfTextUtils
- uuid() - Static method in class org.apache.avro.LogicalTypes
- UUIDConversion() - Constructor for class org.apache.avro.Conversions.UUIDConversion
V
- validate(String) - Method in interface org.apache.avro.NameValidator
- validate(Schema) - Method in class org.apache.avro.LogicalType
-
Validate this logical type for the given Schema.
- validate(Schema) - Method in class org.apache.avro.LogicalTypes.BigDecimal
- validate(Schema) - Method in class org.apache.avro.LogicalTypes.Date
- validate(Schema) - Method in class org.apache.avro.LogicalTypes.Decimal
- validate(Schema) - Method in class org.apache.avro.LogicalTypes.Duration
- validate(Schema) - Method in class org.apache.avro.LogicalTypes.LocalTimestampMicros
- validate(Schema) - Method in class org.apache.avro.LogicalTypes.LocalTimestampMillis
- validate(Schema) - Method in class org.apache.avro.LogicalTypes.LocalTimestampNanos
- validate(Schema) - Method in class org.apache.avro.LogicalTypes.TimeMicros
- validate(Schema) - Method in class org.apache.avro.LogicalTypes.TimeMillis
- validate(Schema) - Method in class org.apache.avro.LogicalTypes.TimestampMicros
- validate(Schema) - Method in class org.apache.avro.LogicalTypes.TimestampMillis
- validate(Schema) - Method in class org.apache.avro.LogicalTypes.TimestampNanos
- validate(Schema) - Method in class org.apache.avro.LogicalTypes.Uuid
- validate(Schema.Field, Object) - Method in class org.apache.avro.data.RecordBuilderBase
-
Validates that a particular value for a given field is valid according to the following algorithm: 1.
- validate(Schema, Iterable<Schema>) - Method in interface org.apache.avro.SchemaValidator
-
Validate one schema against others.
- validate(Schema, Iterable<Schema>) - Method in class org.apache.avro.ValidateAll
- validate(Schema, Iterable<Schema>) - Method in class org.apache.avro.ValidateLatest
- 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
- validate(Schema, Schema) - Method in interface org.apache.avro.SchemaValidationStrategy
-
Validates that one schema is compatible with another.
- validateAll() - Method in class org.apache.avro.SchemaValidatorBuilder
- ValidateAll - Class in org.apache.avro
-
A
SchemaValidator
for validating the provided schema against all schemas in the Iterable inValidateAll.validate(Schema, Iterable)
. - ValidateAll(SchemaValidationStrategy) - Constructor for class org.apache.avro.ValidateAll
- validateLatest() - Method in class org.apache.avro.SchemaValidatorBuilder
- ValidateLatest - Class in org.apache.avro
-
A
SchemaValidator
for validating the provided schema against the firstSchema
in the iterable inValidateLatest.validate(Schema, Iterable)
. - ValidateLatest(SchemaValidationStrategy) - Constructor for class org.apache.avro.ValidateLatest
- 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. - validatingDefaults() - Method in class org.apache.avro.SchemaBuilder.FieldBuilder
-
Validate field default value during
SchemaBuilder.FieldBuilder.completeField(Schema, JsonNode)
. - 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
- value() - Element in annotation type org.apache.avro.reflect.AvroAliases
- value() - Element in annotation type org.apache.avro.reflect.AvroDefault
- value() - Element in annotation type org.apache.avro.reflect.AvroDoc
- value() - Element in annotation type org.apache.avro.reflect.AvroMeta.AvroMetas
- value() - Element in annotation type org.apache.avro.reflect.AvroMeta
- value() - Element in annotation type org.apache.avro.reflect.AvroName
- value() - Element in annotation type org.apache.avro.reflect.AvroSchema
-
The schema to use for this value.
- value() - Element in annotation type org.apache.avro.reflect.Union
-
The instantiable classes that compose this union.
- value() - Element in annotation type org.apache.avro.specific.FixedSize
-
The declared size of instances of classes with this annotation.
- valueOf(String) - Static method in enum org.apache.avro.generic.GenericData.StringType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.avro.io.FastReaderBuilder.RecordReader.Stage
-
Returns the enum constant of this type with the specified name.
- 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.Resolver.Action.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.avro.Resolver.ErrorAction.ErrorType
-
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.
- valueOf(String) - Static method in enum org.apache.avro.SchemaCompatibility.SchemaCompatibilityType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.avro.SchemaCompatibility.SchemaIncompatibilityType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.avro.util.SchemaVisitor.SchemaVisitorAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.avro.util.springframework.ConcurrentReferenceHashMap.ReferenceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Restructure
-
Returns the enum constant of this type with the specified name.
- values - Variable in class org.apache.avro.Resolver.EnumAdjust
- values() - Static method in enum org.apache.avro.generic.GenericData.StringType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.avro.io.FastReaderBuilder.RecordReader.Stage
-
Returns an array containing the constants of this enum type, in the order they are declared.
- 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.Resolver.Action.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.avro.Resolver.ErrorAction.ErrorType
-
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.SchemaBuilder.MapBuilder
-
Return a type builder for configuring the map's nested values schema.
- values() - Static method in enum org.apache.avro.SchemaCompatibility.SchemaCompatibilityType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.avro.SchemaCompatibility.SchemaIncompatibilityType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.avro.util.SchemaVisitor.SchemaVisitorAction
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.avro.util.springframework.ConcurrentReferenceHashMap.ReferenceType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Restructure
-
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
- values(Schema) - Method in class org.apache.avro.SchemaBuilder.MapBuilder
-
Complete configuration of this map, setting the schema of the map values to the schema provided.
- VARIANT_NAME_INLINE - Static variable in class org.apache.avro.JsonSchemaFormatterFactory
- VARIANT_NAME_PRETTY - Static variable in class org.apache.avro.JsonSchemaFormatterFactory
- 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.
- visit(Schema, SchemaVisitor<T>) - Static method in class org.apache.avro.util.Schemas
-
Depth first visit.
- visitNonTerminal(Schema) - Method in class org.apache.avro.util.SchemaResolver.IsResolvedSchemaVisitor
- visitNonTerminal(Schema) - Method in class org.apache.avro.util.SchemaResolver.ResolvingVisitor
- visitNonTerminal(Schema) - Method in interface org.apache.avro.util.SchemaVisitor
-
Invoked for schema with children before proceeding to visit the children.
- visitTerminal(Schema) - Method in class org.apache.avro.util.SchemaResolver.IsResolvedSchemaVisitor
- visitTerminal(Schema) - Method in class org.apache.avro.util.SchemaResolver.ResolvingVisitor
- visitTerminal(Schema) - Method in interface org.apache.avro.util.SchemaVisitor
-
Invoked for schemas that do not have "child" schemas (like string, int …) or for a previously encountered schema with children, which will be treated as a terminal.
W
- WEAK - Enum constant in enum org.apache.avro.util.springframework.ConcurrentReferenceHashMap.ReferenceType
-
Use
WeakReferences
. - 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
- WHEN_NECESSARY - Enum constant in enum org.apache.avro.util.springframework.ConcurrentReferenceHashMap.Restructure
- withClassPropEnabled(boolean) - Method in class org.apache.avro.io.FastReaderBuilder
- withDefault(Object) - Method in class org.apache.avro.SchemaBuilder.GenericDefault
-
Completes this field with the default value provided.
- withKeyClassEnabled(boolean) - Method in class org.apache.avro.io.FastReaderBuilder
- write(byte[], int, int) - Method in class org.apache.avro.util.ByteBufferOutputStream
- write(int) - Method in class org.apache.avro.util.ByteBufferOutputStream
- write(D, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
- write(D, Encoder) - Method in interface org.apache.avro.io.DatumWriter
-
Write a datum.
- write(Object, Encoder) - Method in class org.apache.avro.data.Json.ObjectWriter
- write(Object, Encoder) - Method in class org.apache.avro.reflect.CustomEncoding
- write(Object, Encoder) - Method in class org.apache.avro.reflect.DateAsLongEncoding
- write(ByteBuffer) - Method in class org.apache.avro.util.ByteBufferOutputStream
- write(Schema, Object, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
-
Called to write data.
- write(Schema, Object, Encoder) - Method in class org.apache.avro.reflect.ReflectDatumWriter
- writeArray(Schema, Object, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
-
Called to write a array.
- writeArray(Schema, Object, Encoder) - Method in class org.apache.avro.reflect.ReflectDatumWriter
-
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.BlockingDirectBinaryEncoder
- 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.BlockingDirectBinaryEncoder
- 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(byte[]) - Method in class org.apache.avro.io.Encoder
-
Writes a byte string.
- writeBytes(byte[], int, int) - Method in class org.apache.avro.io.BinaryEncoder
- writeBytes(byte[], int, int) - Method in class org.apache.avro.io.Encoder
-
Write a byte string.
- writeBytes(byte[], int, int) - Method in class org.apache.avro.io.JsonEncoder
- writeBytes(byte[], int, int) - Method in class org.apache.avro.io.ValidatingEncoder
- writeBytes(Object, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
-
Called to write a bytes.
- writeBytes(Object, Encoder) - Method in class org.apache.avro.reflect.ReflectDatumWriter
- writeBytes(ByteBuffer) - Method in class org.apache.avro.io.BinaryEncoder
- writeBytes(ByteBuffer) - Method in class org.apache.avro.io.Encoder
-
Write a byte string.
- writeBytes(ByteBuffer) - Method in class org.apache.avro.io.JsonEncoder
- writeBytes(ByteBuffer) - Method in class org.apache.avro.io.ValidatingEncoder
- 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(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.generic.GenericDatumWriter
-
Called to write an enum value.
- writeEnum(Schema, Object, Encoder) - Method in class org.apache.avro.specific.SpecificDatumWriter
- writeExternal(ObjectOutput) - Method in exception class org.apache.avro.specific.SpecificExceptionBase
- writeExternal(ObjectOutput) - Method in class org.apache.avro.specific.SpecificFixed
- writeExternal(ObjectOutput) - Method in class org.apache.avro.specific.SpecificRecordBase
- writeExternal(ObjectOutput) - Method in class org.apache.avro.util.Utf8
- writeField(Object, Schema.Field, Encoder, Object) - Method in class org.apache.avro.generic.GenericDatumWriter
-
Called to write a single field of a record.
- writeField(Object, Schema.Field, Encoder, Object) - Method in class org.apache.avro.reflect.ReflectDatumWriter
- writeField(Object, Schema.Field, Encoder, Object) - Method in class org.apache.avro.specific.SpecificDatumWriter
- 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.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[], int, int) - Method in class org.apache.avro.io.JsonEncoder
- writeFixed(byte[], int, int) - Method in class org.apache.avro.io.ValidatingEncoder
- writeFixed(ByteBuffer) - Method in class org.apache.avro.io.BlockingBinaryEncoder
- writeFixed(ByteBuffer) - Method in class org.apache.avro.io.BufferedBinaryEncoder
- writeFixed(ByteBuffer) - Method in class org.apache.avro.io.Encoder
-
Writes a fixed from a ByteBuffer.
- writeFixed(Schema, Object, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
-
Called to write a fixed value.
- 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.BlockingDirectBinaryEncoder
- 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.BlockingDirectBinaryEncoder
- 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
- writer - Variable in class org.apache.avro.Resolver.Action
- WRITER_UNION - Enum constant in enum org.apache.avro.Resolver.Action.Type
- WRITER_UNION_ACTION - Static variable in class org.apache.avro.io.parsing.Symbol
- writeRecord(Schema, Object, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
-
Called to write a record.
- writeRecord(Schema, Object, Encoder) - Method in class org.apache.avro.specific.SpecificDatumWriter
- writeReplace() - Method in class org.apache.avro.Schema
- writerUnionAction() - Static method in class org.apache.avro.io.parsing.Symbol
- writeString(CharSequence) - Method in class org.apache.avro.io.Encoder
-
Write a Unicode character string.
- writeString(CharSequence) - Method in class org.apache.avro.io.ValidatingEncoder
- writeString(Object, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
-
Called to write a string.
- writeString(String) - Method in class org.apache.avro.io.BinaryEncoder
- writeString(String) - Method in class org.apache.avro.io.Encoder
-
Write a Unicode character string.
- writeString(String) - Method in class org.apache.avro.io.JsonEncoder
- writeString(String) - Method in class org.apache.avro.io.ValidatingEncoder
- writeString(Schema, Object, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
-
Called to write a string.
- writeString(Schema, Object, Encoder) - Method in class org.apache.avro.specific.SpecificDatumWriter
- writeString(Utf8) - Method in class org.apache.avro.io.BinaryEncoder
- writeString(Utf8) - Method in class org.apache.avro.io.Encoder
-
Write a Unicode character string.
- writeString(Utf8) - Method in class org.apache.avro.io.JsonEncoder
- writeString(Utf8) - Method in class org.apache.avro.io.ValidatingEncoder
- writeWithoutConversion(Schema, Object, Encoder) - Method in class org.apache.avro.generic.GenericDatumWriter
-
Called to write data.
- 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
X
- XZ_CODEC - Static variable in class org.apache.avro.file.DataFileConstants
- xzCodec(int) - Static method in class org.apache.avro.file.CodecFactory
-
XZ codec, with specific compression. compressionLevel should be between 1 and 9, inclusive.
- XZCodec - Class in org.apache.avro.file
-
Implements xz compression and decompression.
- XZCodec(int) - Constructor for class org.apache.avro.file.XZCodec
Z
- ZSTANDARD_CODEC - Static variable in class org.apache.avro.file.DataFileConstants
- zstandardCodec(int) - Static method in class org.apache.avro.file.CodecFactory
-
zstandard codec, with specific compression level.
- zstandardCodec(int, boolean) - Static method in class org.apache.avro.file.CodecFactory
-
zstandard codec, with specific compression level.
- zstandardCodec(int, boolean, boolean) - Static method in class org.apache.avro.file.CodecFactory
-
zstandard codec, with specific compression level, checksum, and bufferPool
- ZstandardCodec - Class in org.apache.avro.file
- ZstandardCodec(int, boolean, boolean) - Constructor for class org.apache.avro.file.ZstandardCodec
-
Create a ZstandardCodec instance with the given compressionLevel, checksum, and bufferPool option
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form