All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.mlsql.indexer.MLSQLIndexer.scala Maven / Gradle / Ivy

The newest version!
package tech.mlsql.indexer

import org.apache.spark.sql.DataFrame
import org.apache.spark.sql.catalyst.plans.logical.LogicalPlan

/**
 * 18/12/2020 WilliamZhu([email protected])
 */
trait MLSQLIndexer {
  def rewrite(sql: LogicalPlan, options: Map[String, String]): LogicalPlan

  def read(sql:LogicalPlan,options: Map[String, String]): Option[DataFrame]

  def write(df: DataFrame, options: Map[String, String]): Option[DataFrame]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy