- All Implemented Interfaces:
- Closeable, Serializable, AutoCloseable, org.apache.spark.sql.connector.write.DataWriter<org.apache.spark.sql.catalyst.InternalRow>
public class QdrantDataWriter
extends Object
implements org.apache.spark.sql.connector.write.DataWriter<org.apache.spark.sql.catalyst.InternalRow>, Serializable
A DataWriter implementation that writes data to Qdrant, a vector search engine. This class takes
QdrantOptions and StructType as input and writes data to QdrantGRPC. It implements the DataWriter
interface and overrides its methods write, commit, abort and close. It also has a private method
write that is used to upload a batch of points to Qdrant. The class uses a Point class to
represent a data point and an ArrayList to store the points.
- See Also:
- Serialized Form