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

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

  2. class ColumnName extends Column

    :: Experimental :: A convenient class used for constructing schema.

  3. class DataFrame extends Queryable with Serializable

    :: Experimental :: A distributed collection of data organized into named columns.

  4. case class DataFrameHolder extends Product with Serializable

    A container for a DataFrame, used for implicit conversions.

  5. final class DataFrameNaFunctions extends AnyRef

    :: Experimental :: Functionality for working with missing data in DataFrames.

  6. class DataFrameReader extends Logging

    :: Experimental :: Interface used to load a DataFrame from external storage systems (e.

  7. final class DataFrameStatFunctions extends AnyRef

    :: Experimental :: Statistic functions for DataFrames.

  8. final class DataFrameWriter extends AnyRef

    :: Experimental :: Interface used to write a DataFrame to external storage systems (e.

  9. class Dataset[T] extends Queryable with Serializable with Logging

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

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

    A container for a Dataset, used for implicit conversions.

  11. class ExperimentalMethods extends AnyRef

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

  12. class GroupedData extends AnyRef

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

  13. class GroupedDataset[K, V] extends Serializable

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

  14. class SQLContext extends Logging with Serializable

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

  15. abstract class SQLImplicits extends AnyRef

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

  16. class SaveMode extends Enum[SaveMode]

  17. type Strategy = GenericStrategy[SparkPlan]

    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()
  18. class TypedColumn[-T, U] extends Column

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

  19. class UDFRegistration extends Logging

    Functions for registering user-defined functions.

  20. case class UserDefinedFunction(f: AnyRef, dataType: DataType, inputTypes: Seq[DataType] = immutable.this.Nil) extends Product with Serializable

    A user-defined function.

  21. type SchemaRDD = DataFrame

    Type alias for DataFrame.

    Type alias for DataFrame. Kept here for backward source compatibility for Scala.

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0) use DataFrame

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. package api

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

  3. package execution

    The physical execution component of Spark SQL.

  4. package expressions

  5. object functions extends LegacyFunctions

    :: Experimental :: Functions available for DataFrame.

  6. package jdbc

  7. package sources

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

  8. package util

Inherited from AnyRef

Inherited from Any

Ungrouped