Interface PartitionFetcher<P>
- Type Parameters:
P- The type to describe a partition.
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ContinuousPartitionFetcher<P,T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Fetcher to fetch the suitable partitions of a filesystem table.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceContext for fetch partitions, partition information is stored in hive meta store. -
Method Summary
Modifier and TypeMethodDescriptionfetch(PartitionFetcher.Context<P> context) Fetch the suitable partitions, call this method should guarantee the fetcher has opened.
-
Method Details
-
fetch
Fetch the suitable partitions, call this method should guarantee the fetcher has opened.- Throws:
Exception
-