java.lang.Object
com.pervasive.datarush.schema.TextTypes
Common external text data type definitions.
Unless otherwise noted, all defined types exhibit the following
behaviors:
- leading and trailing whitespace is trimmed before parsing
- the empty string is parsed as a null value
- a null value is formatted as the empty string
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumerates the possible conversions for string-valued text types. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TextDataTypeBinary token values represented as strings of hexadecimal digits.static final TextDataTypeDate token values represented using ISO-8601 date format.static final TextDataTypeTimestamp token values represented as a time-of-day using ISO-8601 format.static final TextDataTypeTimestamp token values represented using ISO-8601 timestamp format.static final TextDataTypeDouble token values represented using default Javadoubleformatting.static final TextDataTypeDuration token values represented using default Java Duration formatting.static final TextDataTypeFloat token values represented using default Javafloatformatting.static final TextDataTypeInt token values represented using default Javaintformatting.static final TextDataTypeLong token values represented using default Javalongformatting.static final TextDataTypeMoney token values represented using default Java Currency formatting.static final TextDataTypeNumeric token values represented using default JavaBigDecimalformatting.static final TextDataTypePeriod token values represented using default Java Period formatting.static final TextDataTypeCharacter token value represented as single-character strings.static final TextDataTypeText type for string token values.static final TextDataTypeIp4Address token values represented as strings in standard form.static final TextDataTypeIp6Address token values represented as strings in standard form.static final TextDataTypeBoolean token values represented case-insensitively as true and false. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final TextDataTypeEXACT_BOOLEAN(String trueValue, String falseValue) Defines an external boolean valued type which maps the specified truth values in a case-sensitive fashion.static final TextDataTypeEXACT_BOOLEAN(String trueValue, String falseValue, String nullIndicator) Defines an external boolean valued type which maps the specified truth values in a case-sensitive fashion.static TextDataTypeFORMATTED_DATE(DateTimeFormatting format) Defines an external date valued type using an arbitraryDateFormat.static TextDataTypeFORMATTED_DATE(DateTimeFormatting format, String nullIndicator) Defines an external date valued type using an arbitraryDateFormat.static TextDataTypeFORMATTED_DATE(String format) Defines an external date valued type using an arbitrary format.static TextDataTypeFORMATTED_DATE(String format, String nullIndicator) Defines an external date valued type using an arbitrary format.static TextDataTypeFORMATTED_DOUBLE(NumberFormat format) Defines an external double valued type using an arbitraryNumberFormat.static TextDataTypeFORMATTED_DOUBLE(NumberFormat format, String nullIndicator) Defines an external double valued type using an arbitraryNumberFormat.static TextDataTypeFORMATTED_DURATION(IntervalFormatting format) Defines an external duration valued type using an arbitrary format.static TextDataTypeFORMATTED_DURATION(IntervalFormatting format, String nullIndicator) Defines an external duration valued type using an arbitrary format.static TextDataTypeFORMATTED_DURATION(String format) Defines an external duration valued type using an arbitrary format.static TextDataTypeFORMATTED_DURATION(String format, String nullIndicator) Defines an external duration valued type using an arbitrary format.static TextDataTypeFORMATTED_FLOAT(NumberFormat format) Defines an external float valued type using an arbitraryNumberFormat.static TextDataTypeFORMATTED_FLOAT(NumberFormat format, String nullIndicator) Defines an external float valued type using an arbitraryNumberFormat.static TextDataTypeFORMATTED_INT(NumberFormat format) Defines an external int valued type using an arbitraryNumberFormat.static TextDataTypeFORMATTED_INT(NumberFormat format, String nullIndicator) Defines an external int valued type using an arbitraryNumberFormat.static TextDataTypeFORMATTED_LONG(NumberFormat format) Defines an external long valued type using an arbitraryNumberFormat.static TextDataTypeFORMATTED_LONG(NumberFormat format, String nullIndicator) Defines an external long valued type using an arbitraryNumberFormat.static TextDataTypeFORMATTED_MONEY(NumberFormat format) Defines an external money valued type using an arbitraryNumberFormat.static TextDataTypeFORMATTED_MONEY(NumberFormat format, String nullIndicator) Defines an external money valued type using an arbitraryNumberFormat.static TextDataTypeFORMATTED_NUMERIC(NumberFormat format) Defines an external numeric valued type using an arbitraryNumberFormat.static TextDataTypeFORMATTED_NUMERIC(NumberFormat format, String nullIndicator) Defines an external numeric valued type using an arbitraryNumberFormat.static TextDataTypeFORMATTED_PERIOD(IntervalFormatting format) Defines an external period valued type using an arbitrary format.static TextDataTypeFORMATTED_PERIOD(IntervalFormatting format, String nullIndicator) Defines an external period valued type using an arbitrary format.static TextDataTypeFORMATTED_PERIOD(String format) Defines an external period valued type using an arbitrary format.static TextDataTypeFORMATTED_PERIOD(String format, String nullIndicator) Defines an external period valued type using an arbitrary format.static TextDataTypeDefines an external time valued type using an arbitrary format.static TextDataTypeFORMATTED_TIMEOFDAY(DateTimeFormatting format, String nullIndicator) Defines an external time valued type using an arbitrary format.static TextDataTypeFORMATTED_TIMEOFDAY(String format) Defines an external time valued type using an arbitrary format.static TextDataTypeFORMATTED_TIMEOFDAY(String format, String nullIndicator) Defines an external time valued type using an arbitrary format.static TextDataTypeDefines an external timestamp valued type using an arbitrary format.static TextDataTypeFORMATTED_TIMESTAMP(DateTimeFormatting format, String nullIndicator) Defines an external timestamp valued type using an arbitrary format.static TextDataTypeFORMATTED_TIMESTAMP(String format) Defines an external timestamp valued type using an arbitrary format.static TextDataTypeFORMATTED_TIMESTAMP(String format, String nullIndicator) Defines an external timestamp valued type using an arbitrary format.static final TextDataTypeGENERIC_OBJECT(ObjectTokenType<?> type) Object token values representing a generic object.static final TextDataTypeGENERIC_OBJECT(ObjectTokenType<?> type, String nullIndicator) Object token values representing a generic object.static TextDataTypeGENERIC_OBJECT(Class<?> tokenClass) Object token values representing a generic object.static final TextDataTypeGENERIC_OBJECT(Class<?> tokenClass, String nullIndicator) Object token values representing a generic object.static TextDataTypeGets the default external type for the given token type.static final TextDataTypeHEXADECIMAL_BINARY(String nullIndicator) Binary token values represented as strings of hexadecimal digits with null values indicated as specified.static final TextDataTypeINSENSITIVE_BOOLEAN(String trueValue, String falseValue) Defines an external boolean valued type which maps the specified truth values in a case-insensitive fashion.static final TextDataTypeINSENSITIVE_BOOLEAN(String trueValue, String falseValue, String nullIndicator) Defines an external boolean valued type which maps the specified truth values in a case-insensitive fashion.static final TextDataTypeDate token values represented using ISO-8601 date format.static final TextDataTypeISO_TIMEOFDAY(String nullIndicator) Timestamp token values represented as a time-of-day using ISO-8601 format.static final TextDataTypeISO_TIMESTAMP(String nullIndicator) Timestamp token values represented using ISO-8601 timestamp format.static TextDataTypeJAVA_DOUBLE(String nullIndicator) Double token values represented using default Javadoubleformatting.static TextDataTypeJAVA_DURATION(String nullIndicator) Duration token values represented using default Java Duration formatting.static TextDataTypeJAVA_FLOAT(String nullIndicator) Float token values represented using default Javafloatformatting.static TextDataTypeInt token values represented using default Javaintformatting.static TextDataTypeLong token values represented using default Javalongformatting.static TextDataTypeJAVA_MONEY(String nullIndicator) Money token values represented using default Java Currency formatting.static TextDataTypeJAVA_NUMERIC(String nullIndicator) Numeric token values represented using default JavaBigDecimalformatting.static TextDataTypeJAVA_PERIOD(String nullIndicator) Period token values represented using default Java Period formatting.static final TextDataTypeMAPPED_BOOLEAN(TruthValues mapping) Defines an external boolean valued type using the specified mapping.static final TextDataTypeMAPPED_BOOLEAN(TruthValues mapping, String nullIndicator) Defines an external boolean valued type using the specified mapping.static final TextDataTypeRAW_CHARACTER(String nullIndicator) Character token value represented as single-character strings.static final TextDataTypeSTRING(TextTypes.StringConversion behavior) String token values with the specified conversion behavior.static final TextDataTypeSTRING(TextTypes.StringConversion behavior, String nullIndicator) String token values with the specified conversion behavior and null indicator.static final TextDataTypeTEXT_IPV4ADDRESS(String nullIndicator) Ip4Address token values represented as strings in standard form with null values indicated as specified.static final TextDataTypeTEXT_IPV6ADDRESS(String nullIndicator) Ip6Address token values represented as strings in standard form with null values indicated as specified.
-
Field Details
-
HEXADECIMAL_BINARY
Binary token values represented as strings of hexadecimal digits. Null values are indicated by the value set in the containing schema. -
TEXT_IPV4ADDRESS
Ip4Address token values represented as strings in standard form. Null values are indicated by the value set in the containing schema. -
TEXT_IPV6ADDRESS
Ip6Address token values represented as strings in standard form. Null values are indicated by the value set in the containing schema. -
TRUE_FALSE
Boolean token values represented case-insensitively as true and false. Null values are indicated by the value set in the containing schema. -
RAW_CHARACTER
Character token value represented as single-character strings. Whitespace is not stripped and it is a parsing error if the text is longer than one character. Null values are indicated as specified by the containing schema. -
ISO_DATE
Date token values represented using ISO-8601 date format. Null values are indicated by the value set in the containing schema. -
JAVA_DOUBLE
Double token values represented using default Javadoubleformatting. That is, usingDouble.parseDouble(String)andDouble.toString(double). Null values are indicated by the value set in the containing schema. -
JAVA_FLOAT
Float token values represented using default Javafloatformatting. That is, usingFloat.parseFloat(String)andFloat.toString(float). Null values are indicated by the value set in the containing schema. -
JAVA_INT
Int token values represented using default Javaintformatting. That is, usingInteger.parseInt(String)andInteger.toString(int). Null values are indicated by the value set in the containing schema. -
JAVA_LONG
Long token values represented using default Javalongformatting. That is, usingLong.parseLong(String)andLong.toString(long). Null values are indicated by the value set in the containing schema. -
JAVA_NUMERIC
Numeric token values represented using default JavaBigDecimalformatting. That is, usingBigDecimal(String)andBigDecimal.toString(long). Null values are indicated by the value set in the containing schema. -
JAVA_MONEY
Money token values represented using default Java Currency formatting. That is, usingNumberFormat.getCurrecyInstance()as the format. Null values are indicated by the value set in the containing schema. -
JAVA_DURATION
Duration token values represented using default Java Duration formatting. That is, usingjava.time.Durationas the format. Null values are indicated by the value set in the containing schema. -
JAVA_PERIOD
Period token values represented using default Java Period formatting. That is, usingjava.time.Periodas the format. Null values are indicated by the value set in the containing schema. -
STRING
Text type for string token values. Text is converted with the behavior specified in the containing schema.This is the default type used for external strings.
-
ISO_TIMEOFDAY
Timestamp token values represented as a time-of-day using ISO-8601 format. The date portion defaults to today's date; ignoring the date yields the time portion represented by the text type. Null values are indicated by the value set in the containing schema. -
ISO_TIMESTAMP
Timestamp token values represented using ISO-8601 timestamp format. Null values are indicated by the value set in the containing schema.
-
-
Constructor Details
-
TextTypes
public TextTypes()
-
-
Method Details
-
HEXADECIMAL_BINARY
Binary token values represented as strings of hexadecimal digits with null values indicated as specified.- Parameters:
nullIndicator- the string used to represent a null value- Returns:
- a external binary valued type with the specified format
-
TEXT_IPV4ADDRESS
Ip4Address token values represented as strings in standard form with null values indicated as specified.- Parameters:
nullIndicator- the string used to represent a null value- Returns:
- a external ip4address valued type with the specified format
-
TEXT_IPV6ADDRESS
Ip6Address token values represented as strings in standard form with null values indicated as specified.- Parameters:
nullIndicator- the string used to represent a null value- Returns:
- a external ip4address valued type with the specified format
-
INSENSITIVE_BOOLEAN
Defines an external boolean valued type which maps the specified truth values in a case-insensitive fashion. Null values are indicated by the value set in the containing schema.- Parameters:
trueValue- the string value representingtruefalseValue- the string value representingfalse- Returns:
- an external boolean type using the given mapping
-
INSENSITIVE_BOOLEAN
public static final TextDataType INSENSITIVE_BOOLEAN(String trueValue, String falseValue, String nullIndicator) Defines an external boolean valued type which maps the specified truth values in a case-insensitive fashion. Null values are indicated as specified.- Parameters:
trueValue- the string value representingtruefalseValue- the string value representingfalsenullIndicator- the string used to represent a null value- Returns:
- an external boolean type using the given mapping
-
EXACT_BOOLEAN
Defines an external boolean valued type which maps the specified truth values in a case-sensitive fashion. Null values are indicated by the value set in the containing schema.- Parameters:
trueValue- the string value representingtruefalseValue- the string value representingfalse- Returns:
- an external boolean type using the given mapping
-
EXACT_BOOLEAN
public static final TextDataType EXACT_BOOLEAN(String trueValue, String falseValue, String nullIndicator) Defines an external boolean valued type which maps the specified truth values in a case-sensitive fashion. Null values are indicated as specified.- Parameters:
trueValue- the string value representingtruefalseValue- the string value representingfalsenullIndicator- the string used to represent a null value- Returns:
- an external boolean type using the given mapping
-
MAPPED_BOOLEAN
Defines an external boolean valued type using the specified mapping. Null values are indicated by the value set in the containing schema.- Parameters:
mapping- the mapping to use between text and boolean values- Returns:
- the specified external boolean type
-
MAPPED_BOOLEAN
Defines an external boolean valued type using the specified mapping. Null values are indicated as specified.- Parameters:
mapping- the mapping to use between text and boolean valuesnullIndicator- the string used to represent a null value- Returns:
- the specified external boolean type
-
RAW_CHARACTER
Character token value represented as single-character strings. Whitespace is not stripped and it is a parsing error if the text is longer than one character. Null values are indicated by the value set in the containing schema.- Parameters:
nullIndicator- the string used to represent a null value- Returns:
- a external character valued type with the specified format
-
ISO_DATE
Date token values represented using ISO-8601 date format. Null values are indicated as specified.- Parameters:
nullIndicator- the string used to represent a null value- Returns:
- a external date valued type with the specified format
-
FORMATTED_DATE
Defines an external date valued type using an arbitrary format. The format may contain time elements, though those element values will be truncated. Null values are indicated by the value set in the containing schema.- Parameters:
format- the format of the external date representation- Returns:
- a external date valued type with the specified format
- See Also:
-
FORMATTED_DATE
Defines an external date valued type using an arbitrary format. The format may contain time elements, though those element values will be truncated. Null values are indicated as specified.- Parameters:
format- the format of the external date representationnullIndicator- the string used to represent a null value- Returns:
- a external date valued type with the specified format
- See Also:
-
FORMATTED_DATE
Defines an external date valued type using an arbitraryDateFormat. The format may contain time elements, though those element values will be truncated. Null values are indicated by the value set in the containing schema.- Parameters:
format- the format of the external date representation- Returns:
- a external date valued type with the specified format
-
FORMATTED_DATE
Defines an external date valued type using an arbitraryDateFormat. The format may contain time elements, though those element values will be truncated. Null values are indicated as specified.- Parameters:
format- the format of the external date representationnullIndicator- the string used to represent a null value- Returns:
- a external date valued type with the specified format
-
JAVA_DOUBLE
Double token values represented using default Javadoubleformatting. That is, usingDouble.parseDouble(String)andDouble.toString(double). Null values are indicated as specified.- Parameters:
nullIndicator- the string used to represent a null value- Returns:
- a external double valued type with the specified format
-
FORMATTED_DOUBLE
Defines an external double valued type using an arbitraryNumberFormat. Null values are indicated by the value set in the containing schema.- Parameters:
format- the format of the external double representation- Returns:
- a external double valued type with the specified format
-
FORMATTED_DOUBLE
Defines an external double valued type using an arbitraryNumberFormat. Null values are indicated as specified.- Parameters:
format- the format of the external double representationnullIndicator- the string used to represent a null value- Returns:
- a external double valued type with the specified format
-
GENERIC_OBJECT
Object token values representing a generic object. Null values are indicated by the value set in the containing schema. This is the default type for objects without custom handling. -
GENERIC_OBJECT
Object token values representing a generic object. Null values are indicated as specified.- Parameters:
nullIndicator- the string used to represent a null value- Returns:
- a object type
-
GENERIC_OBJECT
Object token values representing a generic object. Null values are indicated by the value set in the containing schema.- Returns:
- a object type
-
GENERIC_OBJECT
Object token values representing a generic object. Null values are indicated as specified.- Parameters:
nullIndicator- the string used to represent a null value- Returns:
- a object type
-
JAVA_FLOAT
Float token values represented using default Javafloatformatting. That is, usingFloat.parseFloat(String)andFloat.toString(float). Null values are indicated as specified.- Parameters:
nullIndicator- the string used to represent a null value- Returns:
- a external float valued type with the specified format
-
FORMATTED_FLOAT
Defines an external float valued type using an arbitraryNumberFormat. Null values are indicated by the value set in the containing schema.- Parameters:
format- the format of the external float representation- Returns:
- a external float valued type with the specified format
-
FORMATTED_FLOAT
Defines an external float valued type using an arbitraryNumberFormat. Null values are indicated as specified.- Parameters:
format- the format of the external float representationnullIndicator- the string used to represent a null value- Returns:
- a external float valued type with the specified format
-
JAVA_INT
Int token values represented using default Javaintformatting. That is, usingInteger.parseInt(String)andInteger.toString(int). Null values are indicated as specified.- Parameters:
nullIndicator- the string used to represent a null value- Returns:
- a external int valued type with the specified format
-
FORMATTED_INT
Defines an external int valued type using an arbitraryNumberFormat. Null values are indicated by the value set in the containing schema.- Parameters:
format- the format of the external int representation- Returns:
- a external int valued type with the specified format
-
FORMATTED_INT
Defines an external int valued type using an arbitraryNumberFormat. Null values are indicated as specified.- Parameters:
format- the format of the external int representationnullIndicator- the string used to represent a null value- Returns:
- a external int valued type with the specified format
-
JAVA_LONG
Long token values represented using default Javalongformatting. That is, usingLong.parseLong(String)andLong.toString(long). Null values are indicated as specified.- Parameters:
nullIndicator- the string used to represent a null value- Returns:
- a external long valued type with the specified format
-
FORMATTED_LONG
Defines an external long valued type using an arbitraryNumberFormat. Null values are indicated by the value set in the containing schema.- Parameters:
format- the format of the external long representation- Returns:
- a external long valued type with the specified format
-
FORMATTED_LONG
Defines an external long valued type using an arbitraryNumberFormat. Null values are indicated as specified.- Parameters:
format- the format of the external long representationnullIndicator- the string used to represent a null value- Returns:
- a external long valued type with the specified format
-
JAVA_NUMERIC
Numeric token values represented using default JavaBigDecimalformatting. That is, usingBigDecimal(String)andBigDecimal.toString(long). Null values are indicated as specified.- Parameters:
nullIndicator- the string used to represent a null value- Returns:
- a external numeric valued type with the specified format
-
FORMATTED_NUMERIC
Defines an external numeric valued type using an arbitraryNumberFormat. Null values are indicated by the value set in the containing schema.- Parameters:
format- the format of the external numeric representation- Returns:
- a external numeric valued type with the specified format
-
FORMATTED_NUMERIC
Defines an external numeric valued type using an arbitraryNumberFormat. Null values are indicated as specified.- Parameters:
format- the format of the external numeric representationnullIndicator- the string used to represent a null value- Returns:
- a external numeric valued type with the specified format
-
JAVA_MONEY
Money token values represented using default Java Currency formatting. That is, usingNumberFormat.getCurrecyInstance()as the format. Null values are indicated as specified.- Parameters:
nullIndicator- the string used to represent a null value- Returns:
- a external money valued type with the specified format
-
FORMATTED_MONEY
Defines an external money valued type using an arbitraryNumberFormat. Null values are indicated by the value set in the containing schema.- Parameters:
format- the format of the external numeric representation- Returns:
- a external money valued type with the specified format
-
FORMATTED_MONEY
Defines an external money valued type using an arbitraryNumberFormat. Null values are indicated as specified.- Parameters:
format- the format of the external money representationnullIndicator- the string used to represent a null value- Returns:
- a external money valued type with the specified format
-
JAVA_DURATION
Duration token values represented using default Java Duration formatting. That is, usingjava.time.Durationas the format. Null values are indicated as specified.- Parameters:
nullIndicator- the string used to represent a null value- Returns:
- a external duration valued type with the specified format
-
FORMATTED_DURATION
Defines an external duration valued type using an arbitrary format. Null values are indicated by the value set in the containing schema.- Parameters:
format- the format of the external duration representation- Returns:
- a duration type with the specified format
- See Also:
-
FORMATTED_DURATION
Defines an external duration valued type using an arbitrary format. Null values are indicated as specified.- Parameters:
format- the format of the external duration representationnullIndicator- the string used to represent a null value- Returns:
- a duration type with the specified format
- See Also:
-
FORMATTED_DURATION
Defines an external duration valued type using an arbitrary format. Null values are indicated by the value set in the containing schema.- Parameters:
format- the format of the external duration representation- Returns:
- a duration type with the specified format
-
FORMATTED_DURATION
Defines an external duration valued type using an arbitrary format. Null values are indicated as specified.- Parameters:
format- the format of the external duration representationnullIndicator- the string used to represent a null value- Returns:
- a duration type with the specified format
-
JAVA_PERIOD
Period token values represented using default Java Period formatting. That is, usingjava.time.Periodas the format. Null values are indicated as specified.- Parameters:
nullIndicator- the string used to represent a null value- Returns:
- a external period valued type with the specified format
-
FORMATTED_PERIOD
Defines an external period valued type using an arbitrary format. Null values are indicated by the value set in the containing schema.- Parameters:
format- the format of the external period representation- Returns:
- a period type with the specified format
- See Also:
-
FORMATTED_PERIOD
Defines an external period valued type using an arbitrary format. Null values are indicated as specified.- Parameters:
format- the format of the external period representationnullIndicator- the string used to represent a null value- Returns:
- a period type with the specified format
- See Also:
-
FORMATTED_PERIOD
Defines an external period valued type using an arbitrary format. Null values are indicated by the value set in the containing schema.- Parameters:
format- the format of the external period representation- Returns:
- a period type with the specified format
-
FORMATTED_PERIOD
Defines an external period valued type using an arbitrary format. Null values are indicated as specified.- Parameters:
format- the format of the external period representationnullIndicator- the string used to represent a null value- Returns:
- a period type with the specified format
-
STRING
String token values with the specified conversion behavior. Null values are indicated by the value set in the containing schema.- Parameters:
behavior- indicates how text is to be converted to string values- Returns:
- a external string type with the specified format
-
STRING
String token values with the specified conversion behavior and null indicator.- Parameters:
behavior- indicates how text is to be converted to string valuesnullIndicator- the string used to represent a null value- Returns:
- a external string type with the specified format
-
ISO_TIMEOFDAY
Timestamp token values represented as a time-of-day using ISO-8601 format. The date portion defaults to today's date; ignoring the date yields the time portion represented by the text type.- Parameters:
nullIndicator- the string used to represent a null value- Returns:
- a external timestamp type with the specified format
-
FORMATTED_TIMEOFDAY
Defines an external time valued type using an arbitrary format. The format may contain date elements, though those element values will be truncated. Null values are indicated by the value set in the containing schema.- Parameters:
format- the format of the external time representation- Returns:
- a external time valued type with the specified format
- See Also:
-
FORMATTED_TIMEOFDAY
Defines an external time valued type using an arbitrary format. The format may contain date elements, though those element values will be truncated. Null values are indicated as specified.- Parameters:
format- the format of the external time representationnullIndicator- the string used to represent a null value- Returns:
- a external time valued type with the specified format
- See Also:
-
FORMATTED_TIMEOFDAY
Defines an external time valued type using an arbitrary format. The format may contain date elements, though those element values will be truncated. Null values are indicated by the value set in the containing schema.- Parameters:
format- the format of the external time representation- Returns:
- a external time valued type with the specified format
-
FORMATTED_TIMEOFDAY
Defines an external time valued type using an arbitrary format. The format may contain date elements, though those element values will be truncated. Null values are indicated as specified.- Parameters:
format- the format of the external time representationnullIndicator- the string used to represent a null value- Returns:
- a external time valued type with the specified format
-
ISO_TIMESTAMP
Timestamp token values represented using ISO-8601 timestamp format. Null values are indicated as specified.- Parameters:
nullIndicator- the string used to represent a null value- Returns:
- a external timestamp type with the specified format
-
FORMATTED_TIMESTAMP
Defines an external timestamp valued type using an arbitrary format. Null values are indicated by the value set in the containing schema.- Parameters:
format- the format of the external timestamp representation- Returns:
- a external timestamp type with the specified format
- See Also:
-
FORMATTED_TIMESTAMP
Defines an external timestamp valued type using an arbitrary format. Null values are indicated as specified.- Parameters:
format- the format of the external timestamp representationnullIndicator- the string used to represent a null value- Returns:
- a external timestamp type with the specified format
- See Also:
-
FORMATTED_TIMESTAMP
Defines an external timestamp valued type using an arbitrary format. Null values are indicated by the value set in the containing schema.- Parameters:
format- the format of the external timestamp representation- Returns:
- a external timestamp type with the specified format
-
FORMATTED_TIMESTAMP
Defines an external timestamp valued type using an arbitrary format. Null values are indicated as specified.- Parameters:
format- the format of the external timestamp representationnullIndicator- the string used to represent a null value- Returns:
- a external timestamp type with the specified format
-
getDefaultExternalType
Gets the default external type for the given token type.- Parameters:
type- the type for which to get the default- Returns:
- the external type associated with the specified internal type
-