ObjectType (Spark 4.2.0 JavaDoc)
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
- See Also:
-
Constructor Summary
Constructors
-
Method Summary
booleancls()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 interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
ObjectType
public ObjectType
(Class<?> cls)
-
-
Method Details
-
cls
public Class<?> 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
public String simpleString()
Description copied from class:
DataTypeReadable string representation for the type.
- Overrides:
simpleStringin classDataType
-
acceptsType
public boolean acceptsType
(DataType other)
-