public class ResolvedDataSource
extends Object
implements scala.Product, scala.Serializable
ResolvedDataSource
for saving the content of the given DataFrame
.Constructor and Description |
---|
ResolvedDataSource(Class<?> provider,
BaseRelation relation) |
Modifier and Type | Method and Description |
---|---|
static ResolvedDataSource |
apply(SQLContext sqlContext,
scala.Option<StructType> userSpecifiedSchema,
String provider,
scala.collection.immutable.Map<String,String> options)
Create a
ResolvedDataSource for reading data in. |
static ResolvedDataSource |
apply(SQLContext sqlContext,
String provider,
SaveMode mode,
scala.collection.immutable.Map<String,String> options,
DataFrame data)
Create a
ResolvedDataSource for saving the content of the given DataFrame . |
static Class<?> |
lookupDataSource(String provider)
Given a provider name, look up the data source class definition.
|
Object |
provider() |
BaseRelation |
relation() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ResolvedDataSource(Class<?> provider, BaseRelation relation)
public static Class<?> lookupDataSource(String provider)
public static ResolvedDataSource apply(SQLContext sqlContext, scala.Option<StructType> userSpecifiedSchema, String provider, scala.collection.immutable.Map<String,String> options)
ResolvedDataSource
for reading data in.public static ResolvedDataSource apply(SQLContext sqlContext, String provider, SaveMode mode, scala.collection.immutable.Map<String,String> options, DataFrame data)
ResolvedDataSource
for saving the content of the given DataFrame
.public Object provider()
public BaseRelation relation()