The data type representing calendar intervals. The calendar interval is stored internally in three components: an integer value representing the number of
months
in this interval, an integer value representing the number of
days
in this interval, a long value representing the number of
microseconds
in this interval.
Please use the singleton DataTypes.CalendarIntervalType
to refer the type.
Constructors
abstract static boolean
int
The default size of a value of this data type, used internally for size estimation.
abstract static boolean
abstract static int
static scala.collection.Iterator<String>
static scala.collection.Iterator<Object>
Name of the type used in JSON serialization.
Methods inherited from class org.apache.spark.sql.types.DataTypecatalogString, COLLATIONS_METADATA_KEY, equalsIgnoreCaseAndNullability, equalsIgnoreNullability, equalsStructurally, equalsStructurallyByName, fromDDL, fromJson, json, parseTypeWithFallback, prettyJson, simpleString, sql
public CalendarIntervalType()
()
()
()
public abstract static int productArity()
()
()
()
public int defaultSize()
The default size of a value of this data type, used internally for size estimation.
defaultSize
in class DataType
Name of the type used in JSON serialization.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4