public class Qdrant extends Object implements org.apache.spark.sql.connector.catalog.TableProvider, org.apache.spark.sql.sources.DataSourceRegister
| Constructor and Description |
|---|
Qdrant() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.spark.sql.connector.catalog.Table |
getTable(org.apache.spark.sql.types.StructType schema,
org.apache.spark.sql.connector.expressions.Transform[] partitioning,
Map<String,String> properties)
Returns a table for the data source based on the provided schema, partitioning, and properties.
|
org.apache.spark.sql.types.StructType |
inferSchema(org.apache.spark.sql.util.CaseInsensitiveStringMap options)
Infers the schema of the data source based on the provided options.
|
String |
shortName()
Returns the short name of the data source.
|
public String shortName()
shortName in interface org.apache.spark.sql.sources.DataSourceRegisterpublic org.apache.spark.sql.types.StructType inferSchema(org.apache.spark.sql.util.CaseInsensitiveStringMap options)
inferSchema in interface org.apache.spark.sql.connector.catalog.TableProvideroptions - The options used to infer the schema.public org.apache.spark.sql.connector.catalog.Table getTable(org.apache.spark.sql.types.StructType schema,
org.apache.spark.sql.connector.expressions.Transform[] partitioning,
Map<String,String> properties)
getTable in interface org.apache.spark.sql.connector.catalog.TableProviderschema - The schema of the table.partitioning - The partitioning of the table.properties - The properties of the table.Copyright © 2024. All rights reserved.