Class MetaTableSchemaCache
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.internal.mapper.MetaTableSchemaCache
-
public class MetaTableSchemaCache extends Object
A cache that can store lazily initialized MetaTableSchema objects used by the TableSchema creation classes to facilitate self-referencing recursive builds.
-
-
Constructor Summary
Constructors Constructor Description MetaTableSchemaCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Optional<MetaTableSchema<T>>
get(Class<T> mappedClass)
<T> MetaTableSchema<T>
getOrCreate(Class<T> mappedClass)
-
-
-
Method Detail
-
getOrCreate
public <T> MetaTableSchema<T> getOrCreate(Class<T> mappedClass)
-
get
public <T> Optional<MetaTableSchema<T>> get(Class<T> mappedClass)
-
-