object BuiltInFunctions
The SQL functions that are available as standard in addition to ones included in Apache Spark.
- Alphabetic
- By Inheritance
- BuiltInFunctions
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def all: List[String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bucket: String
Rounds a double to given bucket size.
Rounds a double to given bucket size.
ds_bucket(7.0, 2.5) = 5.0
Example: - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val danishMunicipality: String
Gets an array of weighted pairs of municipalities for a Danish postal code.
Gets an array of weighted pairs of municipalities for a Danish postal code.
ds_danish_municipality('2600') = [('Glostrup', 0.5), ('Albertslund', 0.5)].
, ds_danish_municipality('2605') = [('Brøndby', 1.0)].
Examples: - val danishPostalCodeId: String
Gets a group identifier for a Danish postal code given a postal code text.
Gets a group identifier for a Danish postal code given a postal code text.
ds_danish_postal_code_id('1620') = '1500-1799'.
, ds_danish_postal_code_id('2200') = '2200'.
Examples: - val danishRegion: String
Gets the region for a Danish municipality.
Gets the region for a Danish municipality.
ds_danish_region('Albertslund') = 'Hovedstaden'.
Example: - val dayOfWeekSorted: String
For internal use only.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val monthOfYearSorted: String
For internal use only.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val quarterOfYear: String
Gets the quarter of the year for a given date.
Gets the quarter of the year for a given date.
ds_quarter_of_year(2021-07-02) = 'Q3'.
Example: - val roundToMonth: String
Gets the year and month part of a the given date.
Gets the year and month part of a the given date.
ds_round_to_month(2021-07-02) = '2021-07'.
Example: - val roundToQuarter: String
Gets the year and quarter part of a the given date.
Gets the year and quarter part of a the given date.
ds_round_to_month(2021-07-02) = '2021-Q3'.
Example: - val roundToWeek: String
Gets the date of the monday in the same week a the given date.
Gets the date of the monday in the same week a the given date.
ds_round_to_week(2021-07-02) = 2021-06-28.
Example: - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val textToWords: String
Gets the array of words in a given text removing Danish and English stop words.
Gets the array of words in a given text removing Danish and English stop words.
ds_text_to_words('This is an amazing sentence') = [amazing, sentence].
Example: - val timelineDate: String
Gets the date and time used when loading data sets.
Gets the date and time used when loading data sets.
ds_get_timeline_date() = 2021-07-02 00:00:00 when used in a pipeline run with this date and time.
Example: - def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)