class DefaultSource extends RelationProvider with SchemaRelationProvider with CreatableRelationProvider with DataSourceRegister with Logging
Provides access to remote file data sources.
- Since
0.1.0
- Alphabetic
- By Inheritance
- DefaultSource
- Logging
- DataSourceRegister
- CreatableRelationProvider
- SchemaRelationProvider
- RelationProvider
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new DefaultSource()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from DefaultSource to any2stringadd[DefaultSource] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (DefaultSource, B)
- Implicit
- This member is added by an implicit conversion from DefaultSource to ArrowAssoc[DefaultSource] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
createRelation(sqlContext: SQLContext, mode: SaveMode, parameters: Map[String, String], data: DataFrame): BaseRelation
Saves a DataFrame to a destination (using data source-specific parameters)
Saves a DataFrame to a destination (using data source-specific parameters)
- sqlContext
SQLContext
- mode
specifies what happens when the destination already exists
- parameters
data source-specific parameters
- data
DataFrame to save (i.e. the rows after executing the query)
- returns
Relation with a known schema
- Definition Classes
- DefaultSource → CreatableRelationProvider
- Since
0.1.0
-
def
createRelation(sqlContext: SQLContext, parameters: Map[String, String], schema: StructType): BaseRelation
Returns a new base relation with the given parameters and user defined schema.
Returns a new base relation with the given parameters and user defined schema.
- Definition Classes
- DefaultSource → SchemaRelationProvider
- Since
0.1.0
- Note
The parameters' keywords are case insensitive and this insensitivity is enforced by the Map that is passed to the function.
-
def
createRelation(sqlContext: SQLContext, parameters: Map[String, String]): BaseRelation
Returns a new base relation with the given parameters.
Returns a new base relation with the given parameters.
- Definition Classes
- DefaultSource → RelationProvider
- Since
0.1.0
- Note
The parameters' keywords are case insensitive and this insensitivity is enforced by the Map that is passed to the function.
-
def
ensuring(cond: (DefaultSource) ⇒ Boolean, msg: ⇒ Any): DefaultSource
- Implicit
- This member is added by an implicit conversion from DefaultSource to Ensuring[DefaultSource] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (DefaultSource) ⇒ Boolean): DefaultSource
- Implicit
- This member is added by an implicit conversion from DefaultSource to Ensuring[DefaultSource] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): DefaultSource
- Implicit
- This member is added by an implicit conversion from DefaultSource to Ensuring[DefaultSource] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): DefaultSource
- Implicit
- This member is added by an implicit conversion from DefaultSource to Ensuring[DefaultSource] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- DefaultSource → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from DefaultSource to StringFormat[DefaultSource] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- DefaultSource → AnyRef → Any
-
def
initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
initializeLogIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logName: String
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
shortName(): String
The string that represents the alias for the datasource.
The string that represents the alias for the datasource. The defined value is filetransfer.
- Definition Classes
- DefaultSource → DataSourceRegister
- Since
0.1.0
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- DefaultSource → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
→[B](y: B): (DefaultSource, B)
- Implicit
- This member is added by an implicit conversion from DefaultSource to ArrowAssoc[DefaultSource] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Documentation for Spark File Transfer
Notable classes include: