org.apache.spark

sql

package sql

Allows the execution of relational queries, including those expressed in SQL using Spark.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. sql
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class Column extends Logging

    A column that will be computed based on the data in a DataFrame.

  2. class ColumnName extends Column

    A convenient class used for constructing schema.

  3. type DataFrame = Dataset[Row]

  4. final class DataFrameNaFunctions extends AnyRef

    Functionality for working with missing data in DataFrames.

  5. class DataFrameReader extends Logging

    Interface used to load a Dataset from external storage systems (e.

  6. final class DataFrameStatFunctions extends AnyRef

    Statistic functions for DataFrames.

  7. final class DataFrameWriter[T] extends AnyRef

    Interface used to write a Dataset to external storage systems (e.

  8. class Dataset[T] extends Serializable

    A Dataset is a strongly typed collection of domain-specific objects that can be transformed in parallel using functional or relational operations.

  9. case class DatasetHolder[T] extends Product with Serializable

    A container for a Dataset, used for implicit conversions in Scala.

  10. class ExperimentalMethods extends AnyRef

    :: Experimental :: Holder for experimental methods for the bravest.

  11. abstract class ForeachWriter[T] extends Serializable

    A class to consume data generated by a StreamingQuery.

  12. class KeyValueGroupedDataset[K, V] extends Serializable

    :: Experimental :: A Dataset has been logically grouped by a user specified grouping key.

  13. trait LowPrioritySQLImplicits extends AnyRef

    Lower priority implicit methods for converting Scala objects into Datasets.

  14. class RelationalGroupedDataset extends AnyRef

    A set of methods for aggregations on a DataFrame, created by Dataset.groupBy.

  15. class RuntimeConfig extends AnyRef

    Runtime configuration interface for Spark.

  16. class SQLContext extends Logging with Serializable

    The entry point for working with structured data (rows and columns) in Spark 1.

  17. abstract class SQLImplicits extends LowPrioritySQLImplicits

    A collection of implicit methods for converting common Scala objects into Datasets.

  18. class SaveMode extends Enum[SaveMode]

  19. class SparkSession extends Serializable with Closeable with Logging

    The entry point to programming Spark with the Dataset and DataFrame API.

  20. class SparkSessionExtensions extends AnyRef

    :: Experimental :: Holder for injection points to the SparkSession.

  21. type Strategy = SparkStrategy

    Converts a logical plan into zero or more SparkPlans.

    Converts a logical plan into zero or more SparkPlans. This API is exposed for experimenting with the query planner and is not designed to be stable across spark releases. Developers writing libraries should instead consider using the stable APIs provided in org.apache.spark.sql.sources

    Annotations
    @DeveloperApi() @Unstable()
  22. class TypedColumn[-T, U] extends Column

    A Column where an Encoder has been given for the expected input and return type.

  23. class UDFRegistration extends Logging

    Functions for registering user-defined functions.

Value Members

  1. object SQLContext extends Serializable

    This SQLContext object contains utility functions to create a singleton SQLContext instance, or to get the created SQLContext instance.

  2. object SparkSession extends Serializable

    Annotations
    @Stable()
  3. package api

    Contains API classes that are specific to a single language (i.

  4. package catalog

  5. package execution

    The physical execution component of Spark SQL.

  6. package expressions

  7. object functions

    Functions available for DataFrame operations.

  8. package internal

    All classes in this package are considered an internal API to Spark and are subject to change between minor releases.

  9. package jdbc

  10. package sources

    A set of APIs for adding data sources to Spark SQL.

  11. package streaming

  12. package util

Inherited from AnyRef

Inherited from Any

Ungrouped