| Package | Description |
|---|---|
| com.datastax.oss.dsbulk.codecs.api | |
| com.datastax.oss.dsbulk.codecs.text |
| Modifier and Type | Method and Description |
|---|---|
CommonConversionContext |
CommonConversionContext.setAllowExtraFields(boolean allowExtraFields) |
CommonConversionContext |
CommonConversionContext.setAllowMissingFields(boolean allowMissingFields) |
CommonConversionContext |
CommonConversionContext.setBinaryFormat(BinaryFormat binaryFormat)
The
BinaryFormat to use for conversions between String and CQL blob. |
CommonConversionContext |
CommonConversionContext.setBooleanInputWords(Map<String,Boolean> inputWords)
Specify how strings map to
true and false. |
CommonConversionContext |
CommonConversionContext.setBooleanNumbers(BigDecimal trueNumber,
BigDecimal falseNumber)
Sets how numbers are mapped to boolean values.
|
CommonConversionContext |
CommonConversionContext.setBooleanOutputWords(Map<Boolean,String> outputWords)
Specify how
true and false map to strings. |
CommonConversionContext |
CommonConversionContext.setDateFormat(String dateFormat)
The temporal pattern to use for
String to CQL date conversion. |
CommonConversionContext |
CommonConversionContext.setEpoch(ZonedDateTime epoch)
This setting applies only to CQL
timestamp columns, and USING TIMESTAMP clauses
in queries. |
CommonConversionContext |
CommonConversionContext.setFormatNumbers(boolean formatNumbers)
Whether or not to use the numeric pattern to format
numeric output.
|
CommonConversionContext |
CommonConversionContext.setGeoFormat(GeoFormat binaryFormat)
The
GeoFormat to use for conversions between String and CQL blob. |
CommonConversionContext |
CommonConversionContext.setLocale(Locale locale)
Sets the locale to use for locale-sensitive conversions.
|
CommonConversionContext |
CommonConversionContext.setNullStrings(List<String> nullStrings)
Comma-separated list of case-sensitive strings that should be mapped to
null. |
CommonConversionContext |
CommonConversionContext.setNullStrings(String... nullStrings)
Comma-separated list of case-sensitive strings that should be mapped to
null. |
CommonConversionContext |
CommonConversionContext.setNumberFormat(String numberFormat)
The numeric pattern to use for conversions between
String and CQL numeric types. |
CommonConversionContext |
CommonConversionContext.setOverflowStrategy(OverflowStrategy overflowStrategy)
The overflow strategy to apply.
|
CommonConversionContext |
CommonConversionContext.setRoundingMode(RoundingMode roundingMode)
The rounding strategy to use for conversions from CQL numeric types to
String. |
CommonConversionContext |
CommonConversionContext.setTimeFormat(String timeFormat)
The temporal pattern to use for
String to CQL time conversion.The default is
HH:mm:ss. |
CommonConversionContext |
CommonConversionContext.setTimestampFormat(String timestampFormat)
The temporal pattern to use for
String to CQL timestamp conversion. |
CommonConversionContext |
CommonConversionContext.setTimeUnit(TimeUnit unit)
This setting applies only to CQL
timestamp columns, and USING TIMESTAMP clauses
in queries. |
CommonConversionContext |
CommonConversionContext.setTimeUUIDGenerator(TimeUUIDGenerator uuidGenerator)
Strategy to use when generating time-based (version 1) UUIDs from timestamps.
|
CommonConversionContext |
CommonConversionContext.setTimeZone(ZoneId timeZone)
Sets the time zone to use for temporal conversions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TextConversionContext |
Copyright © 2017–2021 DataStax. All rights reserved.