object_readers.ObjectPartition
vector_search.object_readers.ObjectPartition()
Abstract class for capturing object partitions
Methods
Name | Description |
---|---|
id | Returns the id of the ObjectPartition. |
init_kwargs | Returns a dictionary containing kwargs that can be used to re-initialize the ObjectPartition. |
id
vector_search.object_readers.ObjectPartition.id()
Returns the id of the ObjectPartition.
init_kwargs
vector_search.object_readers.ObjectPartition.init_kwargs()
Returns a dictionary containing kwargs that can be used to re-initialize the ObjectPartition.
This is used to serialize the ObjectPartition and pass it as argument to UDF tasks.