Top Description Interfaces Classes
[default module]

Package org.apache.avro.path


Interfaces and base classes for AvroPath.

This functionality is experimental, meaning these APIs are not expected to be stable any time soon so use at your own risk. Feedback, however, would be very appreciated :-)

Interface Summary

Modifier and TypeInterface and Description
public interface
PathElement

root interface for all pieces of an AvroPath expression

public interface
PathPredicate

a predicate is a filter that restricts items selected by a LocationStep

public interface
PathTracingException<
the regular (user-facing) exception that will be summarize(Schema)ed out of this class
T extends Throwable
>

interface for exceptions that can trace the AvroPath of an error

public interface
PositionalPathPredicate

filters items by their context position

Class Summary

Modifier and TypeClass and Description
public class
ArrayPositionPredicate

Returns items by their position (numeric index) in an array

public class
LocationStep

Selects items based on their "path" (name of a property under which they are stored) relative to the context.

public class
MapKeyPredicate

Returns items by their position (string key under which they are stored) in a map

public class
TracingAvroTypeException

an AvroTypeException with extra fields used to trace back the path to a bad value through an object graph

public class
TracingClassCastException

a ClassCastException with extra fields used to trace back the path to a bad value through an object graph

public class
TracingNullPointException

a NullPointerException with extra fields used to trace back the path to a null value through an object graph

public class
UnionTypePredicate

Returns items by their position (numeric index of type) in a union schema