public abstract class UserTypes
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UserTypes.DelayedValue |
static class |
UserTypes.DeleterByField |
static class |
UserTypes.Literal |
static class |
UserTypes.Marker |
static class |
UserTypes.Setter |
static class |
UserTypes.SetterByField |
static class |
UserTypes.Value |
| Modifier and Type | Method and Description |
|---|---|
static ColumnSpecification |
fieldSpecOf(ColumnSpecification column,
int field) |
static <T extends AssignmentTestable> |
testUserTypeAssignment(ColumnSpecification receiver,
java.util.Map<FieldIdentifier,T> entries)
Tests that the map with the specified entries can be assigned to the specified column.
|
static <T> java.lang.String |
userTypeToString(java.util.Map<FieldIdentifier,T> items)
Create a
String representation of the user type from the specified items associated to
the user type entries. |
static <T> java.lang.String |
userTypeToString(java.util.Map<FieldIdentifier,T> items,
java.util.function.Function<T,java.lang.String> mapper)
Create a
String representation of the user type from the specified items associated to
the user type entries. |
static <T extends AssignmentTestable> |
validateUserTypeAssignableTo(ColumnSpecification receiver,
java.util.Map<FieldIdentifier,T> entries) |
public static ColumnSpecification fieldSpecOf(ColumnSpecification column, int field)
public static <T extends AssignmentTestable> void validateUserTypeAssignableTo(ColumnSpecification receiver, java.util.Map<FieldIdentifier,T> entries)
public static <T extends AssignmentTestable> AssignmentTestable.TestResult testUserTypeAssignment(ColumnSpecification receiver, java.util.Map<FieldIdentifier,T> entries)
receiver - the receiving columnentries - the map entriespublic static <T> java.lang.String userTypeToString(java.util.Map<FieldIdentifier,T> items)
String representation of the user type from the specified items associated to
the user type entries.items - items associated to the user type entriesString representation of the user typepublic static <T> java.lang.String userTypeToString(java.util.Map<FieldIdentifier,T> items, java.util.function.Function<T,java.lang.String> mapper)
String representation of the user type from the specified items associated to
the user type entries.items - items associated to the user type entriesString representation of the user typeCopyright © 2009-2022 The Apache Software Foundation