| Modifier and Type | Method and Description |
|---|---|
static <T> EnhancedType<Collection<T>> |
EnhancedType.collectionOf(Class<T> valueType)
Create a type token for a collection, with the provided value type class.
|
static <T> EnhancedType<Collection<T>> |
EnhancedType.collectionOf(EnhancedType<T> valueType)
Create a type token for a collection, with the provided value type token.
|
static <T,U> EnhancedType<ConcurrentMap<T,U>> |
EnhancedType.concurrentMapOf(Class<T> keyType,
Class<U> valueType)
Create a type token for a concurrent map, with the provided key and value type classes.
|
static <T,U> EnhancedType<ConcurrentMap<T,U>> |
EnhancedType.concurrentMapOf(EnhancedType<T> keyType,
EnhancedType<U> valueType)
Create a type token for a concurrent map, with the provided key and value type classes.
|
static <T> EnhancedType<Deque<T>> |
EnhancedType.dequeOf(Class<T> valueType)
Create a type token for a deque, with the provided value type class.
|
static <T> EnhancedType<Deque<T>> |
EnhancedType.dequeOf(EnhancedType<T> valueType)
Create a type token for a deque, with the provided value type token.
|
static <T> EnhancedType<T> |
EnhancedType.documentOf(Class<T> documentClass,
TableSchema<T> documentTableSchema)
Create a type token that represents a document that is specified by the provided
TableSchema. |
static <T> EnhancedType<T> |
EnhancedType.documentOf(Class<T> documentClass,
TableSchema<T> documentTableSchema,
Consumer<EnhancedTypeDocumentConfiguration.Builder> enhancedTypeConfiguration)
Create a type token that represents a document that is specified by the provided
TableSchema. |
EnhancedType<T> |
TableSchema.itemType()
Returns the
EnhancedType that represents the 'Type' of the Java object this table schema object maps to
and from. |
static <T> EnhancedType<List<T>> |
EnhancedType.listOf(Class<T> valueType)
Create a type token for a list, with the provided value type class.
|
static <T> EnhancedType<List<T>> |
EnhancedType.listOf(EnhancedType<T> valueType)
Create a type token for a list, with the provided value type class.
|
static <T,U> EnhancedType<Map<T,U>> |
EnhancedType.mapOf(Class<T> keyType,
Class<U> valueType)
Create a type token for a map, with the provided key and value type classes.
|
static <T,U> EnhancedType<Map<T,U>> |
EnhancedType.mapOf(EnhancedType<T> keyType,
EnhancedType<U> valueType)
Create a type token for a map, with the provided key and value type classes.
|
static <T,U> EnhancedType<NavigableMap<T,U>> |
EnhancedType.navigableMapOf(Class<T> keyType,
Class<U> valueType)
Create a type token for a navigable map, with the provided key and value type classes.
|
static <T,U> EnhancedType<NavigableMap<T,U>> |
EnhancedType.navigableMapOf(EnhancedType<T> keyType,
EnhancedType<U> valueType)
Create a type token for a navigable map, with the provided key and value type classes.
|
static <T> EnhancedType<NavigableSet<T>> |
EnhancedType.navigableSetOf(Class<T> valueType)
Create a type token for a navigable set, with the provided value type class.
|
static <T> EnhancedType<NavigableSet<T>> |
EnhancedType.navigableSetOf(EnhancedType<T> valueType)
Create a type token for a navigable set, with the provided value type token.
|
static <T> EnhancedType<T> |
EnhancedType.of(Class<T> type)
Create a type token for the provided non-parameterized class.
|
static EnhancedType<?> |
EnhancedType.of(Type type)
Create a type token for the provided non-parameterized class.
|
static <T> EnhancedType<Optional<T>> |
EnhancedType.optionalOf(Class<T> valueType)
Create a type token for a optional, with the provided value type class.
|
static <T> EnhancedType<Set<T>> |
EnhancedType.setOf(Class<T> valueType)
Create a type token for a set, with the provided value type class.
|
static <T> EnhancedType<Set<T>> |
EnhancedType.setOf(EnhancedType<T> valueType)
Create a type token for a set, with the provided value type class.
|
static <T,U> EnhancedType<SortedMap<T,U>> |
EnhancedType.sortedMapOf(Class<T> keyType,
Class<U> valueType)
Create a type token for a sorted map, with the provided key and value type classes.
|
static <T,U> EnhancedType<SortedMap<T,U>> |
EnhancedType.sortedMapOf(EnhancedType<T> keyType,
EnhancedType<U> valueType)
Create a type token for a sorted map, with the provided key and value type classes.
|
static <T> EnhancedType<SortedSet<T>> |
EnhancedType.sortedSetOf(Class<T> valueType)
Create a type token for a sorted set, with the provided value type class.
|
static <T> EnhancedType<SortedSet<T>> |
EnhancedType.sortedSetOf(EnhancedType<T> valueType)
Create a type token for a sorted set, with the provided value type class.
|
EnhancedType<T> |
AttributeConverter.type()
The type supported by this converter.
|
| Modifier and Type | Method and Description |
|---|---|
List<EnhancedType<?>> |
EnhancedType.rawClassParameters()
Retrieve the
Class objects of any type parameters for the class that this type token represents. |
| Modifier and Type | Method and Description |
|---|---|
static <T> EnhancedType<Collection<T>> |
EnhancedType.collectionOf(EnhancedType<T> valueType)
Create a type token for a collection, with the provided value type token.
|
static <T,U> EnhancedType<ConcurrentMap<T,U>> |
EnhancedType.concurrentMapOf(EnhancedType<T> keyType,
EnhancedType<U> valueType)
Create a type token for a concurrent map, with the provided key and value type classes.
|
static <T,U> EnhancedType<ConcurrentMap<T,U>> |
EnhancedType.concurrentMapOf(EnhancedType<T> keyType,
EnhancedType<U> valueType)
Create a type token for a concurrent map, with the provided key and value type classes.
|
<T> AttributeConverter<T> |
DefaultAttributeConverterProvider.converterFor(EnhancedType<T> type)
Find a converter that matches the provided type.
|
<T> AttributeConverter<T> |
AttributeConverterProvider.converterFor(EnhancedType<T> enhancedType)
Finds a
AttributeConverter for converting an object with a type
specified by a EnhancedType to a AttributeValue and back. |
static <T> EnhancedType<Deque<T>> |
EnhancedType.dequeOf(EnhancedType<T> valueType)
Create a type token for a deque, with the provided value type token.
|
static <T> EnhancedType<List<T>> |
EnhancedType.listOf(EnhancedType<T> valueType)
Create a type token for a list, with the provided value type class.
|
static <T,U> EnhancedType<Map<T,U>> |
EnhancedType.mapOf(EnhancedType<T> keyType,
EnhancedType<U> valueType)
Create a type token for a map, with the provided key and value type classes.
|
static <T,U> EnhancedType<Map<T,U>> |
EnhancedType.mapOf(EnhancedType<T> keyType,
EnhancedType<U> valueType)
Create a type token for a map, with the provided key and value type classes.
|
static <T,U> EnhancedType<NavigableMap<T,U>> |
EnhancedType.navigableMapOf(EnhancedType<T> keyType,
EnhancedType<U> valueType)
Create a type token for a navigable map, with the provided key and value type classes.
|
static <T,U> EnhancedType<NavigableMap<T,U>> |
EnhancedType.navigableMapOf(EnhancedType<T> keyType,
EnhancedType<U> valueType)
Create a type token for a navigable map, with the provided key and value type classes.
|
static <T> EnhancedType<NavigableSet<T>> |
EnhancedType.navigableSetOf(EnhancedType<T> valueType)
Create a type token for a navigable set, with the provided value type token.
|
static <T> EnhancedType<Set<T>> |
EnhancedType.setOf(EnhancedType<T> valueType)
Create a type token for a set, with the provided value type class.
|
static <T,U> EnhancedType<SortedMap<T,U>> |
EnhancedType.sortedMapOf(EnhancedType<T> keyType,
EnhancedType<U> valueType)
Create a type token for a sorted map, with the provided key and value type classes.
|
static <T,U> EnhancedType<SortedMap<T,U>> |
EnhancedType.sortedMapOf(EnhancedType<T> keyType,
EnhancedType<U> valueType)
Create a type token for a sorted map, with the provided key and value type classes.
|
static <T> EnhancedType<SortedSet<T>> |
EnhancedType.sortedSetOf(EnhancedType<T> valueType)
Create a type token for a sorted set, with the provided value type class.
|
| Modifier and Type | Method and Description |
|---|---|
EnhancedType<T> |
PrimitiveConverter.primitiveType()
The type supported by this converter.
|
EnhancedType<T> |
StringConverter.type()
The type supported by this converter.
|
| Modifier and Type | Method and Description |
|---|---|
<T> StringConverter<T> |
StringConverterProvider.converterFor(EnhancedType<T> enhancedType) |
<T> AttributeConverter<T> |
ChainConverterProvider.converterFor(EnhancedType<T> enhancedType) |
| Modifier and Type | Method and Description |
|---|---|
EnhancedType<Short> |
ShortAttributeConverter.primitiveType() |
EnhancedType<Long> |
LongAttributeConverter.primitiveType() |
EnhancedType<Integer> |
IntegerAttributeConverter.primitiveType() |
EnhancedType<Float> |
FloatAttributeConverter.primitiveType() |
EnhancedType<Double> |
DoubleAttributeConverter.primitiveType() |
EnhancedType<Character> |
CharacterAttributeConverter.primitiveType() |
EnhancedType<Byte> |
ByteAttributeConverter.primitiveType() |
EnhancedType<Boolean> |
BooleanAttributeConverter.primitiveType() |
EnhancedType<ZonedDateTime> |
ZonedDateTimeAsStringAttributeConverter.type() |
EnhancedType<ZoneOffset> |
ZoneOffsetAttributeConverter.type() |
EnhancedType<ZoneId> |
ZoneIdAttributeConverter.type() |
EnhancedType<UUID> |
UuidAttributeConverter.type() |
EnhancedType<URL> |
UrlAttributeConverter.type() |
EnhancedType<URI> |
UriAttributeConverter.type() |
EnhancedType<StringBuilder> |
StringBuilderAttributeConverter.type() |
EnhancedType<StringBuffer> |
StringBufferAttributeConverter.type() |
EnhancedType<String> |
StringAttributeConverter.type() |
EnhancedType<Short> |
ShortAttributeConverter.type() |
EnhancedType<T> |
SetAttributeConverter.type() |
EnhancedType<SdkBytes> |
SdkBytesAttributeConverter.type() |
EnhancedType<Period> |
PeriodAttributeConverter.type() |
EnhancedType<OptionalLong> |
OptionalLongAttributeConverter.type() |
EnhancedType<OptionalInt> |
OptionalIntAttributeConverter.type() |
EnhancedType<OptionalDouble> |
OptionalDoubleAttributeConverter.type() |
EnhancedType<Optional<T>> |
OptionalAttributeConverter.type() |
EnhancedType<OffsetDateTime> |
OffsetDateTimeAsStringAttributeConverter.type() |
EnhancedType<MonthDay> |
MonthDayAttributeConverter.type() |
EnhancedType<T> |
MapAttributeConverter.type() |
EnhancedType<Long> |
LongAttributeConverter.type() |
EnhancedType<Locale> |
LocaleAttributeConverter.type() |
EnhancedType<LocalTime> |
LocalTimeAttributeConverter.type() |
EnhancedType<LocalDateTime> |
LocalDateTimeAttributeConverter.type() |
EnhancedType<LocalDate> |
LocalDateAttributeConverter.type() |
EnhancedType<T> |
ListAttributeConverter.type() |
EnhancedType<Integer> |
IntegerAttributeConverter.type() |
EnhancedType<Instant> |
InstantAsStringAttributeConverter.type() |
EnhancedType<Float> |
FloatAttributeConverter.type() |
EnhancedType<T> |
EnumAttributeConverter.type() |
EnhancedType<Duration> |
DurationAttributeConverter.type() |
EnhancedType<Double> |
DoubleAttributeConverter.type() |
EnhancedType<T> |
DocumentAttributeConverter.type() |
EnhancedType<Character> |
CharacterAttributeConverter.type() |
EnhancedType<char[]> |
CharacterArrayAttributeConverter.type() |
EnhancedType<CharSequence> |
CharSequenceAttributeConverter.type() |
EnhancedType<ByteBuffer> |
ByteBufferAttributeConverter.type() |
EnhancedType<Byte> |
ByteAttributeConverter.type() |
EnhancedType<byte[]> |
ByteArrayAttributeConverter.type() |
EnhancedType<Boolean> |
BooleanAttributeConverter.type() |
EnhancedType<BigInteger> |
BigIntegerAttributeConverter.type() |
EnhancedType<BigDecimal> |
BigDecimalAttributeConverter.type() |
EnhancedType<AtomicLong> |
AtomicLongAttributeConverter.type() |
EnhancedType<AtomicInteger> |
AtomicIntegerAttributeConverter.type() |
EnhancedType<AtomicBoolean> |
AtomicBooleanAttributeConverter.type() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Collection<U>,U> |
SetAttributeConverter.builder(EnhancedType<T> collectionType) |
static <T extends Collection<U>,U> |
ListAttributeConverter.builder(EnhancedType<T> collectionType) |
static <T extends Map<K,V>,K,V> |
MapAttributeConverter.builder(EnhancedType<T> mapType) |
static <T> DocumentAttributeConverter<T> |
DocumentAttributeConverter.create(TableSchema<T> tableSchema,
EnhancedType<T> enhancedType) |
| Modifier and Type | Method and Description |
|---|---|
EnhancedType<Short> |
ShortStringConverter.primitiveType() |
EnhancedType<Long> |
LongStringConverter.primitiveType() |
EnhancedType<Integer> |
IntegerStringConverter.primitiveType() |
EnhancedType<Float> |
FloatStringConverter.primitiveType() |
EnhancedType<Double> |
DoubleStringConverter.primitiveType() |
EnhancedType<Character> |
CharacterStringConverter.primitiveType() |
EnhancedType<Byte> |
ByteStringConverter.primitiveType() |
EnhancedType<Boolean> |
BooleanStringConverter.primitiveType() |
EnhancedType<ZonedDateTime> |
ZonedDateTimeStringConverter.type() |
EnhancedType<ZoneOffset> |
ZoneOffsetStringConverter.type() |
EnhancedType<ZoneId> |
ZoneIdStringConverter.type() |
EnhancedType<Year> |
YearStringConverter.type() |
EnhancedType<YearMonth> |
YearMonthStringConverter.type() |
EnhancedType<UUID> |
UuidStringConverter.type() |
EnhancedType<URL> |
UrlStringConverter.type() |
EnhancedType<URI> |
UriStringConverter.type() |
EnhancedType<String> |
StringStringConverter.type() |
EnhancedType<StringBuilder> |
StringBuilderStringConverter.type() |
EnhancedType<StringBuffer> |
StringBufferStringConverter.type() |
EnhancedType<Short> |
ShortStringConverter.type() |
EnhancedType<SdkBytes> |
SdkBytesStringConverter.type() |
EnhancedType<Period> |
PeriodStringConverter.type() |
EnhancedType<OptionalLong> |
OptionalLongStringConverter.type() |
EnhancedType<OptionalInt> |
OptionalIntStringConverter.type() |
EnhancedType<OptionalDouble> |
OptionalDoubleStringConverter.type() |
EnhancedType<OffsetTime> |
OffsetTimeStringConverter.type() |
EnhancedType<OffsetDateTime> |
OffsetDateTimeStringConverter.type() |
EnhancedType<MonthDay> |
MonthDayStringConverter.type() |
EnhancedType<Long> |
LongStringConverter.type() |
EnhancedType<Locale> |
LocaleStringConverter.type() |
EnhancedType<LocalTime> |
LocalTimeStringConverter.type() |
EnhancedType<LocalDateTime> |
LocalDateTimeStringConverter.type() |
EnhancedType<LocalDate> |
LocalDateStringConverter.type() |
EnhancedType<Integer> |
IntegerStringConverter.type() |
EnhancedType<Instant> |
InstantStringConverter.type() |
EnhancedType<Float> |
FloatStringConverter.type() |
EnhancedType<Duration> |
DurationStringConverter.type() |
EnhancedType<Double> |
DoubleStringConverter.type() |
EnhancedType<Character> |
CharacterStringConverter.type() |
EnhancedType<char[]> |
CharacterArrayStringConverter.type() |
EnhancedType<CharSequence> |
CharSequenceStringConverter.type() |
EnhancedType<Byte> |
ByteStringConverter.type() |
EnhancedType<byte[]> |
ByteArrayStringConverter.type() |
EnhancedType<Boolean> |
BooleanStringConverter.type() |
EnhancedType<BigInteger> |
BigIntegerStringConverter.type() |
EnhancedType<BigDecimal> |
BigDecimalStringConverter.type() |
EnhancedType<AtomicLong> |
AtomicLongStringConverter.type() |
EnhancedType<AtomicInteger> |
AtomicIntegerStringConverter.type() |
EnhancedType<AtomicBoolean> |
AtomicBooleanStringConverter.type() |
| Modifier and Type | Method and Description |
|---|---|
<T> StringConverter |
DefaultStringConverterProvider.converterFor(EnhancedType<T> enhancedType) |
| Modifier and Type | Method and Description |
|---|---|
EnhancedType<T> |
MetaTableSchema.itemType() |
| Modifier and Type | Method and Description |
|---|---|
EnhancedType<T> |
WrappedTableSchema.itemType() |
EnhancedType<T> |
StaticImmutableTableSchema.itemType() |
EnhancedType<R> |
StaticAttribute.type()
A
EnhancedType that represents the type of the value this attribute stores. |
EnhancedType<R> |
ImmutableAttribute.type()
A
EnhancedType that represents the type of the value this attribute stores. |
| Modifier and Type | Method and Description |
|---|---|
<R> StaticImmutableTableSchema.Builder<T,B> |
StaticImmutableTableSchema.Builder.addAttribute(EnhancedType<R> attributeType,
Consumer<ImmutableAttribute.Builder<T,B,R>> immutableAttribute)
Adds a single attribute to the table schema that can be mapped between the data item object and the database
record.
|
<R> StaticTableSchema.Builder<T> |
StaticTableSchema.Builder.addAttribute(EnhancedType<R> attributeType,
Consumer<StaticAttribute.Builder<T,R>> staticAttribute)
Adds a single attribute to the table schema that can be mapped between the data item object and the database
record.
|
static <T,B,R> ImmutableAttribute.Builder<T,B,R> |
ImmutableAttribute.builder(Class<T> itemClass,
Class<B> builderClass,
EnhancedType<R> attributeType)
Constructs a new builder for this class using supplied types.
|
static <T,R> StaticAttribute.Builder<T,R> |
StaticAttribute.builder(Class<T> itemClass,
EnhancedType<R> attributeType)
Constructs a new builder for this class using supplied types.
|
default <R> void |
StaticAttributeTag.validateType(String attributeName,
EnhancedType<R> enhancedType,
AttributeValueType attributeValueType)
Function that validates the Converted return type is suitable for the extension.
|
Copyright © 2023. All rights reserved.