# Uses of Interface
org.apache.avro.path.PathElement

Packages that use PathElement
Package
Description
org.apache.avro.path
Interfaces and base classes for AvroPath.

## Uses of PathElement in org.apache.avro.path

Subinterfaces of PathElement in org.apache.avro.path
Modifier and Type
Interface
Description
`interface`
`PathPredicate`
a predicate is a filter that restricts items selected by a `LocationStep`
`interface`
`PositionalPathPredicate`
filters items by their context position
Classes in org.apache.avro.path that implement PathElement
Modifier and Type
Class
Description
`class`
`ArrayPositionPredicate`
Returns items by their position (numeric index) in an array
`class`
`LocationStep`
Selects items based on their "path" (name of a property under which they are stored) relative to the context.
`class`
`MapKeyPredicate`
Returns items by their position (string key under which they are stored) in a map
`class`
`UnionTypePredicate`
Returns items by their position (numeric index of type) in a union schema
Methods in org.apache.avro.path with parameters of type PathElement
Modifier and Type
Method
Description
`void`
PathTracingException.`tracePath(PathElement step)`
appends a path element to the trace. expected to be called in reverse-order as the exception bubbles up the stack
`void`
TracingAvroTypeException.`tracePath(PathElement step)`
`void`
TracingClassCastException.`tracePath(PathElement step)`
`void`
TracingNullPointException.`tracePath(PathElement step)`