Package com.linkedin.davinci.repository
Class RequestBasedMetaRepository
java.lang.Object
com.linkedin.davinci.repository.NativeMetadataRepository
com.linkedin.davinci.repository.RequestBasedMetaRepository
- All Implemented Interfaces:
ClusterInfoProvider,ReadOnlySchemaRepository,ReadOnlyStoreRepository,SubscriptionBasedReadOnlyStoreRepository,VeniceResource
-
Field Summary
Fields inherited from class com.linkedin.davinci.repository.NativeMetadataRepository
clientConfig, schemaMap, subscribedStoreMap -
Constructor Summary
ConstructorsConstructorDescriptionRequestBasedMetaRepository(ClientConfig clientConfig, VeniceProperties backendConfig, ICProvider icProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcacheStoreSchema(String storeName, StoreMetaValue storeMetaValue) voidclear()TODO: we may need to rename this function to be 'close' since this resource should not used any more after calling this function.protected StoreMetaValuefetchAndCacheStorePropertiesWithICProvider(String storeName) protected StoreConfigfetchStoreConfigFromRemote(String storeName) protected StorefetchStoreFromRemote(String storeName, String clusterName) protected TransportClientResponsefetchStoreProperties(String storeName) protected intgetMaxValueSchemaId(String storeName) protected SchemaDatagetSchemaData(String storeName) Methods inherited from class com.linkedin.davinci.repository.NativeMetadataRepository
cacheStoreConfigFromRemote, getAllStores, getAndCacheSchemaData, getBatchGetLimit, getDerivedSchema, getDerivedSchemaId, getDerivedSchemas, getInstance, getInstance, getKeySchema, getLatestDerivedSchema, getReplicationMetadataSchema, getReplicationMetadataSchemas, getStore, getStoreOrThrow, getSupersetOrLatestValueSchema, getSupersetSchema, getTotalStoreReadQuota, getValueSchema, getValueSchemaId, getValueSchemaInternally, getValueSchemas, getVeniceCluster, hasStore, hasValueSchema, isReadComputationEnabled, notifyStoreChanged, notifyStoreCreated, notifyStoreDeleted, putStore, refresh, refreshOneStore, registerStoreDataChangedListener, removeStore, removeStoreSchema, start, subscribe, unregisterStoreDataChangedListener, unsubscribeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.linkedin.venice.meta.ReadOnlySchemaRepository
getLatestDerivedSchemaMethods inherited from interface com.linkedin.venice.meta.ReadOnlyStoreRepository
waitVersion, waitVersion
-
Constructor Details
-
RequestBasedMetaRepository
public RequestBasedMetaRepository(ClientConfig clientConfig, VeniceProperties backendConfig, ICProvider icProvider)
-
-
Method Details
-
clear
public void clear()Description copied from class:NativeMetadataRepositoryTODO: we may need to rename this function to be 'close' since this resource should not used any more after calling this function.- Specified by:
clearin interfaceVeniceResource- Overrides:
clearin classNativeMetadataRepository
-
fetchStoreConfigFromRemote
- Specified by:
fetchStoreConfigFromRemotein classNativeMetadataRepository
-
fetchStoreFromRemote
- Specified by:
fetchStoreFromRemotein classNativeMetadataRepository
-
getSchemaData
- Specified by:
getSchemaDatain classNativeMetadataRepository
-
fetchAndCacheStorePropertiesWithICProvider
-
fetchStoreProperties
-
getMaxValueSchemaId
-
cacheStoreSchema
-