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
- Serializable
- DataType
- AbstractDataType
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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: String
String 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( ... ) @native() @IntrinsicCandidate()
-
def
defaultSize: Int
The 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): Vector
Convert 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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- VectorUDT → UserDefinedType → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
json: String
The 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
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
prettyJson: String
The pretty (i.e.
The pretty (i.e. indented) JSON representation of this data type.
- Definition Classes
- DataType
-
def
pyUDT: String
Paired Python UDT class, if exists.
Paired Python UDT class, if exists.
- Definition Classes
- VectorUDT → UserDefinedType
-
def
serialize(obj: Vector): InternalRow
Convert the user type to a SQL datum
Convert the user type to a SQL datum
- Definition Classes
- VectorUDT → UserDefinedType
-
def
serializedPyClass: String
Serialized Python UDT class, if exists.
Serialized Python UDT class, if exists.
- Definition Classes
- UserDefinedType
-
def
simpleString: String
Readable string representation for the type.
Readable string representation for the type.
- Definition Classes
- DataType → AbstractDataType
-
def
sql: String
- Definition Classes
- UserDefinedType → DataType
-
def
sqlType: StructType
Underlying storage type for this UDT
Underlying storage type for this UDT
- Definition Classes
- VectorUDT → UserDefinedType
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
typeName: String
Name 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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated