class DefaultSource extends RelationProvider with SchemaRelationProvider with CreatableRelationProvider with StreamSinkProvider with StreamSourceProvider with DataSourceRegister
The default couchbase source for Spark SQL.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DefaultSource
- DataSourceRegister
- StreamSourceProvider
- StreamSinkProvider
- CreatableRelationProvider
- SchemaRelationProvider
- RelationProvider
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new DefaultSource()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
createRelation(sqlContext: SQLContext, mode: SaveMode, parameters: Map[String, String], data: DataFrame): BaseRelation
Creates a N1QLRelation based on the input data and saves it to couchbase.
Creates a N1QLRelation based on the input data and saves it to couchbase.
- sqlContext
the parent sql context.
- mode
the save mode.
- parameters
custom parameters that are applied.
- data
the input data frame to store.
- Definition Classes
- DefaultSource → CreatableRelationProvider
-
def
createRelation(sqlContext: SQLContext, parameters: Map[String, String], schema: StructType): BaseRelation
Creates a new N1QLRelation with a custom schema provided.
Creates a new N1QLRelation with a custom schema provided.
- sqlContext
the parent sql context.
- parameters
custom parameters that are applied.
- schema
the custom schema provided by the caller.
- Definition Classes
- DefaultSource → SchemaRelationProvider
-
def
createRelation(sqlContext: SQLContext, parameters: Map[String, String]): BaseRelation
Creates a new N1QLRelation with automatic schema inference.
Creates a new N1QLRelation with automatic schema inference.
- sqlContext
the parent sql context.
- parameters
custom parameters that are applied.
- Definition Classes
- DefaultSource → RelationProvider
-
def
createSink(sqlContext: SQLContext, parameters: Map[String, String], partitionColumns: Seq[String], outputMode: OutputMode): Sink
- Definition Classes
- DefaultSource → StreamSinkProvider
-
def
createSource(sqlContext: SQLContext, metadataPath: String, schema: Option[StructType], providerName: String, parameters: Map[String, String]): Source
- Definition Classes
- DefaultSource → StreamSourceProvider
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
- Definition Classes
- DefaultSource → DataSourceRegister
-
def
sourceSchema(sqlContext: SQLContext, schema: Option[StructType], providerName: String, parameters: Map[String, String]): (String, StructType)
- Definition Classes
- DefaultSource → StreamSourceProvider
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- 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
- @native() @throws( ... )