DataFunctionUnion

View as Markdown

Union of data functions of different type.

Fields

FieldTypeNumberDescription
yearDataFunctionUnion.YearData (oneof data)1Gets the year of a date or timestamp value (e.g. 2004).
monthDataFunctionUnion.MonthData (oneof data)2Gets the month of a date or timestamp value (e.g. "02").
year_and_monthDataFunctionUnion.YearAndMonthData (oneof data)3Gets the year and month of a date or timestamp value (e.g. "2004-02").
dateDataFunctionUnion.DateData (oneof data)4Gets the date part of a date or timestamp value (e.g. 2004-02-15).
days_fromDataFunctionUnion.DaysFromData (oneof data)5Gets the difference of the current timestamp and a specified date or timestamp value as the number of days (e.g. 8 or -10).
days_toDataFunctionUnion.DaysToData (oneof data)6Gets the difference of a specified date or timestamp value and the current timestamp as the number of days (e.g. 10 or -8).
integer_segmentDataFunctionUnion.IntegerSegmentData (oneof data)7Gets the integer segment of a value (an integer number or a real number) based on a defined segment size.
left_charactersDataFunctionUnion.LeftCharactersData (oneof data)8Gets a defined amount of left characters from a text or typed value.
initial_character_groupDataFunctionUnion.InitialCharacterGroupData (oneof data)9Gets an initial character group from a text or typed value.

Used in fields

Nested message NoOpData

Returns the data without modifying it.

Full name: MFiles.DataFunctionUnion.NoOpData

No fields.

Nested message YearData

Gets the year of a date or timestamp value (e.g. 2004).

Full name: MFiles.DataFunctionUnion.YearData

No fields.

Nested message MonthData

Gets the month of a date or timestamp value (e.g. "02").

Full name: MFiles.DataFunctionUnion.MonthData

No fields.

Nested message YearAndMonthData

Gets the year and month of a date or timestamp value (e.g. "2004-02").

Full name: MFiles.DataFunctionUnion.YearAndMonthData

No fields.

Nested message DateData

Gets the date part of a date or timestamp value (e.g. 2004-02-15).

Full name: MFiles.DataFunctionUnion.DateData

No fields.

Nested message DaysFromData

Gets the difference of the current timestamp and a specified date or timestamp value as the number of days (e.g. 8 or -10).

Full name: MFiles.DataFunctionUnion.DaysFromData

No fields.

Nested message DaysToData

Gets the difference of a specified date or timestamp value and the current timestamp as the number of days (e.g. 10 or -8).

Full name: MFiles.DataFunctionUnion.DaysToData

No fields.

Nested message IntegerSegmentData

Gets the integer segment of a value (an integer number or a real number) based on a defined segment size.

Full name: MFiles.DataFunctionUnion.IntegerSegmentData

FieldTypeNumberDescription
segment_sizeint321The size of the value range of one segment. Typically 1000.

Nested message LeftCharactersData

Gets a defined amount of left characters from a text or typed value.

Full name: MFiles.DataFunctionUnion.LeftCharactersData

FieldTypeNumberDescription
countuint321The number of characters to extract from the beginning of the value.

Nested message InitialCharacterGroupData

Gets an initial character group from a text or typed value.

Full name: MFiles.DataFunctionUnion.InitialCharacterGroupData

FieldTypeNumberDescription
lciduint321The locale used to form the initial character group of a string. 0 uses the locale of the server.