Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package apache
    Definition Classes
    org
  • package spark

    Core Spark functionality.

    Core Spark functionality. org.apache.spark.SparkContext serves as the main entry point to Spark, while org.apache.spark.rdd.RDD is the data type representing a distributed collection, and provides most parallel operations.

    In addition, org.apache.spark.rdd.PairRDDFunctions contains operations available only on RDDs of key-value pairs, such as groupByKey and join; org.apache.spark.rdd.DoubleRDDFunctions contains operations available only on RDDs of Doubles; and org.apache.spark.rdd.SequenceFileRDDFunctions contains operations available on RDDs that can be saved as SequenceFiles. These operations are automatically available on any RDD of the right type (e.g. RDD[(Int, Int)] through implicit conversions.

    Java programmers should reference the org.apache.spark.api.java package for Spark programming APIs in Java.

    Classes and methods marked with Experimental are user-facing features which have not been officially adopted by the Spark project. These are subject to change or removal in minor releases.

    Classes and methods marked with Developer API are intended for advanced users want to extend Spark through lower level interfaces. These are subject to changes or removal in minor releases.

    Definition Classes
    apache
  • package internal
    Definition Classes
    spark
  • package io
    Definition Classes
    internal
  • Logging

trait Logging extends AnyRef

Utility trait for classes that want to log data. Creates a SLF4J logger for the class and allows logging messages at different levels using methods that only evaluate parameters lazily if the log level is enabled.

Linear Supertypes
AnyRef, Any
Known Subclasses
BarrierTaskContext, SparkConf, SparkContext, SparkContext, SparkEnv, SparkEnv, Broadcast, EdgeRDD, GraphLoader, Pregel, VertexRDD, EdgeRDDImpl, VertexRDDImpl, PageRank, GraphGenerators, FileCommitProtocol, HadoopMapRedCommitProtocol, HadoopMapReduceCommitProtocol, SparkHadoopMapRedUtil, Estimator, Model, Pipeline, PipelineModel, PipelineStage, PredictionModel, Predictor, Transformer, UnaryTransformer, ClassificationModel, Classifier, DecisionTreeClassificationModel, DecisionTreeClassifier, GBTClassificationModel, GBTClassifier, LinearSVC, LinearSVCModel, LogisticRegression, LogisticRegressionModel, MultilayerPerceptronClassificationModel, MultilayerPerceptronClassifier, NaiveBayes, NaiveBayesModel, OneVsRest, OneVsRestModel, ProbabilisticClassificationModel, ProbabilisticClassifier, RandomForestClassificationModel, RandomForestClassifier, BisectingKMeans, BisectingKMeansModel, DistributedLDAModel, GaussianMixture, GaussianMixtureModel, KMeans, KMeansModel, LDA, LDAModel, LocalLDAModel, Binarizer, Bucketizer, ChiSqSelector, ChiSqSelectorModel, CountVectorizer, CountVectorizerModel, DCT, ElementwiseProduct, FeatureHasher, HashingTF, IDF, IDFModel, Imputer, ImputerModel, IndexToString, Interaction, MaxAbsScaler, MaxAbsScalerModel, MinMaxScaler, MinMaxScalerModel, NGram, Normalizer, OneHotEncoder, OneHotEncoderModel, PCA, PCAModel, PolynomialExpansion, QuantileDiscretizer, QuantileDiscretizer, RFormula, RFormulaModel, RegexTokenizer, SQLTransformer, StandardScaler, StandardScalerModel, StopWordsRemover, StringIndexer, StringIndexerModel, Tokenizer, VectorAssembler, VectorIndexer, VectorIndexerModel, VectorSizeHint, VectorSlicer, Word2Vec, Word2VecModel, FPGrowth, FPGrowthModel, ALS, ALS, ALSModel, AFTSurvivalRegression, AFTSurvivalRegressionModel, DecisionTreeRegressionModel, DecisionTreeRegressor, GBTRegressionModel, GBTRegressor, GeneralizedLinearRegression, GeneralizedLinearRegressionModel, IsotonicRegression, IsotonicRegressionModel, LinearRegression, LinearRegressionModel, RandomForestRegressionModel, RandomForestRegressor, RegressionModel, Summarizer, CrossValidator, CrossValidatorModel, CrossValidatorModelWriter, TrainValidationSplit, TrainValidationSplitModel, TrainValidationSplitModelWriter, GeneralMLWriter, MLWriter, LogisticRegressionWithLBFGS, LogisticRegressionWithSGD, NaiveBayes, SVMWithSGD, StreamingLogisticRegressionWithSGD, BisectingKMeans, BisectingKMeansModel, KMeans, LDA, OnlineLDAOptimizer, PowerIterationClustering, StreamingKMeans, StreamingKMeansModel, BinaryClassificationMetrics, RankingMetrics, RegressionMetrics, StandardScaler, Word2Vec, AssociationRules, FPGrowth, PrefixSpan, PrefixSpan, BlockMatrix, RowMatrix, GradientDescent, GradientDescent, LBFGS, LBFGS, ALS, MatrixFactorizationModel, GeneralizedLinearAlgorithm, LassoWithSGD, LinearRegressionWithSGD, RidgeRegressionWithSGD, StreamingLinearAlgorithm, StreamingLinearRegressionWithSGD, StreamingTest, DecisionTree, DecisionTree, GradientBoostedTrees, GradientBoostedTrees, RandomForest, DecisionTreeModel, Node, DataValidators, MLUtils, AsyncRDDActions, CoGroupedRDD, DoubleRDDFunctions, HadoopRDD, JdbcRDD, NewHadoopRDD, OrderedRDDFunctions, PairRDDFunctions, PartitionPruningRDD, RDD, SequenceFileRDDFunctions, ShuffledRDD, UnionRDD, InputFormatInfo, StatsReportListener, KryoSerializer, Column, ColumnName, DataFrameReader, SQLContext, SparkSession, SparkSession, Builder, TypedColumn, UDFRegistration, HiveFileFormat, DataStreamReader, StreamingQueryManager, ExecutionListenerManager, BasicBlockReplicationPolicy, DefaultTopologyMapper, FileBasedTopologyMapper, RandomBlockReplicationPolicy, StreamingContext, StreamingContext, ConstantInputDStream, DStream, InputDStream, MapWithStateDStream, ReceiverInputDStream, SizeEstimator, HiveContext
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Logging
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean = false): Boolean
    Attributes
    protected
  12. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def isTraceEnabled(): Boolean
    Attributes
    protected
  15. def log: Logger
    Attributes
    protected
  16. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
  17. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
  18. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
  19. def logError(msg: ⇒ String): Unit
    Attributes
    protected
  20. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
  21. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
  22. def logName: String
    Attributes
    protected
  23. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
  24. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
  25. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
  26. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped