Preparing search index...
The search index is not available
spark.js API Documentation - v0.1.0
spark.js API Documentation
sql/types/DecimalType
DecimalType
Class DecimalType
Hierarchy (
View Summary
)
FractionalType
DecimalType
Index
Constructors
constructor
Properties
precision
scale
MAX_
PRECISION
MAX_
SCALE
DEFAULT_
SCALE
USER_
DEFAULT
SYSTEM_
DEFAULT
Methods
default
Size
type
Name
simple
String
catalog
String
sql
to
String
exists
Recursively
is
Byte
is
Short
is
Int32
is
Int64
is
Float
Constructors
constructor
new
DecimalType
(
precision
?:
number
,
scale
?:
number
)
:
DecimalType
Parameters
precision
:
number
= 10
scale
:
number
= 0
Returns
DecimalType
Properties
precision
precision
:
number
scale
scale
:
number
Static
Readonly
MAX_
PRECISION
MAX_PRECISION
:
number
= 38
Static
Readonly
MAX_
SCALE
MAX_SCALE
:
number
= 38
Static
Readonly
DEFAULT_
SCALE
DEFAULT_SCALE
:
number
= 18
Static
Readonly
USER_
DEFAULT
USER_DEFAULT
:
DecimalType
= ...
Static
Readonly
SYSTEM_
DEFAULT
SYSTEM_DEFAULT
:
DecimalType
= ...
Methods
default
Size
defaultSize
()
:
number
Returns
number
type
Name
typeName
()
:
string
Returns
string
simple
String
simpleString
()
:
string
Returns
string
catalog
String
catalogString
()
:
string
Returns
string
sql
sql
()
:
string
Returns
string
to
String
toString
()
:
string
Returns
string
exists
Recursively
existsRecursively
(
f
:
(
dt
:
DataType
)
=>
boolean
)
:
boolean
Parameters
f
:
(
dt
:
DataType
)
=>
boolean
Returns
boolean
Static
is
Byte
isByte
(
v
:
number
)
:
boolean
Parameters
v
:
number
Returns
boolean
Static
is
Short
isShort
(
v
:
number
)
:
boolean
Parameters
v
:
number
Returns
boolean
Static
is
Int32
isInt32
(
v
:
number
)
:
boolean
Parameters
v
:
number
Returns
boolean
Static
is
Int64
isInt64
(
v
:
number
)
:
boolean
Parameters
v
:
number
Returns
boolean
Static
is
Float
isFloat
(
v
:
number
)
:
boolean
Parameters
v
:
number
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
precision
scale
MAX_
PRECISION
MAX_
SCALE
DEFAULT_
SCALE
USER_
DEFAULT
SYSTEM_
DEFAULT
Methods
default
Size
type
Name
simple
String
catalog
String
sql
to
String
exists
Recursively
is
Byte
is
Short
is
Int32
is
Int64
is
Float
spark.js API Documentation - v0.1.0
Loading...