public interface MetadataCache extends Invalidable
| Modifier and Type | Method and Description |
|---|---|
Optional<ColumnMetadataDto> |
get(String profileCode,
String tableName)
get column metadata from cache if present
|
void |
put(String profileCode,
BundleTableMetadataDto tableMetadataDto)
saves given table metadata with profile code in cache
|
clearvoid put(String profileCode, BundleTableMetadataDto tableMetadataDto)
profileCode - that table metadata corresponds totableMetadataDto - hyperon persistence's table metadata to saveOptional<ColumnMetadataDto> get(String profileCode, String tableName)
profileCode - that table metadata corresponds totableName - to get its column metadataOptional.empty() otherwiseCopyright © 2021. All rights reserved.