public final class UdtUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UdtUtil.WithFormattedContentsDefaultUdtValue
Extended implementation of
DefaultUdtValue overriding Object.toString() method to
include the representation of the UDT contents. |
| Modifier and Type | Method and Description |
|---|---|
static List<com.datastax.oss.driver.api.core.data.UdtValue> |
udtValuesUsingFormattedContents(List<?> list)
Returns a list of UDT values using an implementation of
UdtValue using the result of the method
UdtValue.getFormattedContents() as string representation of the UDT object. |
static Map<?,?> |
udtValuesUsingFormattedContents(Map<?,?> map)
Returns a map where the keys and/or values of type
UdtValue are replaced by an implementation of
UdtValue using the result of the method UdtValue.getFormattedContents() as string representation
of the UDT object. |
static Set<com.datastax.oss.driver.api.core.data.UdtValue> |
udtValuesUsingFormattedContents(Set<?> set)
Returns a set of UDT values using an implementation of
UdtValue using the result of the method
UdtValue.getFormattedContents() as string representation of the UDT object. |
static com.datastax.oss.driver.api.core.data.UdtValue |
udtValueUsingFormattedContents(com.datastax.oss.driver.api.core.data.UdtValue udtValue)
Returns an implementation of
UdtValue using the result of the method
UdtValue.getFormattedContents() as string representation of the UDT object. |
public static List<com.datastax.oss.driver.api.core.data.UdtValue> udtValuesUsingFormattedContents(List<?> list)
UdtValue using the result of the method
UdtValue.getFormattedContents() as string representation of the UDT object.list - The original list of UDT values.List using UdtUtil.WithFormattedContentsDefaultUdtValue for the items of the given
list, or null if the original list was null.public static Set<com.datastax.oss.driver.api.core.data.UdtValue> udtValuesUsingFormattedContents(Set<?> set)
UdtValue using the result of the method
UdtValue.getFormattedContents() as string representation of the UDT object.set - The original set of UDT values.Set using UdtUtil.WithFormattedContentsDefaultUdtValue for the items of the given
set, or null if the original set was null.public static Map<?,?> udtValuesUsingFormattedContents(Map<?,?> map)
UdtValue are replaced by an implementation of
UdtValue using the result of the method UdtValue.getFormattedContents() as string representation
of the UDT object.map - The original map containing some UDT values as keys and/or values.Map using UdtUtil.WithFormattedContentsDefaultUdtValue for the keys and/or values
of the given map which were UDT values, or null if the original map was null.public static com.datastax.oss.driver.api.core.data.UdtValue udtValueUsingFormattedContents(com.datastax.oss.driver.api.core.data.UdtValue udtValue)
UdtValue using the result of the method
UdtValue.getFormattedContents() as string representation of the UDT object.udtValue - The original UDT value.UdtUtil.WithFormattedContentsDefaultUdtValue for the given UDT value or null if
the original value was null.Copyright © 2020–2026 ING Bank. All rights reserved.