Package org.apache.spark.sql.types
Class ObjectType
Object
org.apache.spark.sql.types.DataType
org.apache.spark.sql.types.ObjectType
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsType(DataType other) Class<?>cls()intThe default size of a value of this data type, used internally for size estimation.Readable string representation for the type.Methods inherited from class org.apache.spark.sql.types.DataType
catalogString, COLLATIONS_METADATA_KEY, equalsIgnoreCaseAndNullability, equalsIgnoreNullability, equalsStructurally, equalsStructurallyByName, fromDDL, fromJson, json, parseTypeWithFallback, prettyJson, sql, typeNameMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
ObjectType
-
-
Method Details
-
cls
-
defaultSize
public int defaultSize()Description copied from class:DataTypeThe default size of a value of this data type, used internally for size estimation.- Specified by:
defaultSizein classDataType- Returns:
- (undocumented)
-
asNullable
-
simpleString
Description copied from class:DataTypeReadable string representation for the type.- Overrides:
simpleStringin classDataType
-
acceptsType
-