class VectorUDT extends UserDefinedType[Vector]
:: AlphaComponent ::
User-defined type for Vector which allows easy interaction with SQL via org.apache.spark.sql.Dataset.
- Annotations
- @AlphaComponent()
- Source
- Vectors.scala
- Alphabetic
- By Inheritance
- VectorUDT
- UserDefinedType
- Serializable
- DataType
- AbstractDataType
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
-  new VectorUDT()
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 catalogString: StringString representation for the type saved in external catalogs. String representation for the type saved in external catalogs. - Definition Classes
- UserDefinedType → DataType
 
-    def clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
 
-    def defaultSize: IntThe default size of a value of this data type, used internally for size estimation. The default size of a value of this data type, used internally for size estimation. - Definition Classes
- UserDefinedType → DataType
 
-    def deserialize(datum: Any): VectorConvert a SQL datum to the user type Convert a SQL datum to the user type - Definition Classes
- VectorUDT → UserDefinedType
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(o: Any): Boolean- Definition Classes
- VectorUDT → UserDefinedType → AnyRef → Any
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
 
-    def hashCode(): Int- Definition Classes
- VectorUDT → UserDefinedType → AnyRef → Any
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-    def json: StringThe compact JSON representation of this data type. The compact JSON representation of this data type. - Definition Classes
- DataType
 
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
 
-    def prettyJson: StringThe pretty (i.e. The pretty (i.e. indented) JSON representation of this data type. - Definition Classes
- DataType
 
-    def pyUDT: StringPaired Python UDT class, if exists. Paired Python UDT class, if exists. - Definition Classes
- VectorUDT → UserDefinedType
 
-    def serialize(obj: Vector): InternalRowConvert the user type to a SQL datum Convert the user type to a SQL datum - Definition Classes
- VectorUDT → UserDefinedType
 
-    def serializedPyClass: StringSerialized Python UDT class, if exists. Serialized Python UDT class, if exists. - Definition Classes
- UserDefinedType
 
-    def simpleString: StringReadable string representation for the type. Readable string representation for the type. - Definition Classes
- DataType → AbstractDataType
 
-    def sql: String- Definition Classes
- UserDefinedType → DataType
 
-    def sqlType: StructTypeUnderlying storage type for this UDT Underlying storage type for this UDT - Definition Classes
- VectorUDT → UserDefinedType
 
-    def stringifyValue(obj: Any): StringThis method is used to convert the value of a UDT to a string representation. This method is used to convert the value of a UDT to a string representation. By default, it simply calls toStringon the object.- obj
- The object to convert to a string. 
- returns
- A string representation of the object. 
 - Definition Classes
- UserDefinedType
- Annotations
- @Since("4.1.0")
- Since
- 4.1.0 
 
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    def toString(): String- Definition Classes
- AnyRef → Any
 
-    def typeName: StringName of the type used in JSON serialization. 
-    def userClass: Class[Vector]Class object for the UserType Class object for the UserType - Definition Classes
- VectorUDT → UserDefinedType
 
-   final  def wait(arg0: Long, arg1: Int): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
 
-   final  def wait(): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
Deprecated Value Members
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- (Since version 9)