Class: NumericType

eclairjs/sql/types. NumericType

The base type of all Spark SQL Numeric data types.

Constructor

new NumericType()

Source:

Extends

Methods

(abstract) defaultSize() → {integer}

The default size of a value of this data type, used internally for size estimation.
Overrides:
Source:
Returns:
Type
integer

json() → {string}

The compact JSON representation of this data type.
Inherited From:
Source:
Returns:
Type
string

prettyJson() → {string}

The pretty (i.e. indented) JSON representation of this data type.
Inherited From:
Source:
Returns:
Type
string

simpleString() → {string}

Inherited From:
Source:
Returns:
Type
string

typeName() → {string}

Name of the type used in JSON serialization.
Inherited From:
Source:
Returns:
Type
string