Object

com.mongodb.spark.sql.helpers

StructFields

Related Doc: package helpers

Permalink

object StructFields

The types package provides StructFields representing unsupported Bson Types in Spark.

These types follow the MongoDB Extended Json format.

Since

1.1.0

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StructFields
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def binary(fieldName: String, nullable: Boolean): StructField

    Permalink

    Represents the Bson Binary type

    Represents the Bson Binary type

    fieldName

    the name of the field

    nullable

    if the field is nullable

    returns

    the StructField containing a Bson Binary value.

    See also

    UDF.binary and UDF.binaryWithSubType for easy filtering of these types.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def dbPointer(fieldName: String, nullable: Boolean): StructField

    Permalink

    Represents the Bson DBPointer type

    Represents the Bson DBPointer type

    fieldName

    the name of the field

    nullable

    if the field is nullable

    returns

    the StructField containing a Bson DBPointer value.

    See also

    UDF.dbPointer for easy filtering of these types.

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def javaScript(fieldName: String, nullable: Boolean): StructField

    Permalink

    Represents the Bson JavaScript type

    Represents the Bson JavaScript type

    fieldName

    the name of the field

    nullable

    if the field is nullable

    returns

    the StructField containing a Bson JavaScript value.

    See also

    UDF.javaScript for easy filtering of these types.

  15. def javaScriptWithScope(fieldName: String, nullable: Boolean): StructField

    Permalink

    Represents the Bson JavaScript with Scope type

    Represents the Bson JavaScript with Scope type

    fieldName

    the name of the field

    nullable

    if the field is nullable

    returns

    the StructField containing a Bson JavaScript with Scope value.

    See also

    UDF.javaScriptWithScope for easy filtering of these types.

  16. def maxKey(fieldName: String, nullable: Boolean): StructField

    Permalink

    Represents the Bson MaxKey type

    Represents the Bson MaxKey type

    fieldName

    the name of the field

    nullable

    if the field is nullable

    returns

    the StructField containing a Bson MaxKey value.

    See also

    UDF.maxKey for easy filtering of these types.

  17. def minKey(fieldName: String, nullable: Boolean): StructField

    Permalink

    Represents the Bson MinKey type

    Represents the Bson MinKey type

    returns

    the StructField containing a Bson MinKey value.

    See also

    UDF.minKey for easy filtering of these types.

  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def objectId(fieldName: String, nullable: Boolean): StructField

    Permalink

    Represents the Bson ObjectId type

    Represents the Bson ObjectId type

    fieldName

    the name of the field

    nullable

    if the field is nullable

    returns

    the StructField containing a Bson ObjectId value.

    See also

    UDF.objectId for easy filtering of these types.

  22. def regularExpression(fieldName: String, nullable: Boolean): StructField

    Permalink

    Represents the Bson RegularExpression type

    Represents the Bson RegularExpression type

    fieldName

    the name of the field

    nullable

    if the field is nullable

    returns

    the StructField containing a Bson RegularExpression value.

    See also

    UDF.regularExpression for easy filtering of these types.

  23. def symbol(fieldName: String, nullable: Boolean): StructField

    Permalink

    Represents the Bson Symbol type

    Represents the Bson Symbol type

    fieldName

    the name of the field

    nullable

    if the field is nullable

    returns

    the StructField containing a Bson Symbol value.

    See also

    UDF.symbol for easy filtering of these types.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def timestamp(fieldName: String, nullable: Boolean): StructField

    Permalink

    Represents the Bson Timestamp type

    Represents the Bson Timestamp type

    fieldName

    the name of the field

    nullable

    if the field is nullable

    returns

    the StructField containing a Bson Timestamp value.

    See also

    UDF.timestamp for easy filtering of these types.

  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped