Interface VeniceStoreClientFactory

    • Method Detail

      • getAndStartAvroGenericStoreClient

        <K,​V> AvroGenericStoreClient<K,​V> getAndStartAvroGenericStoreClient​(java.lang.String storeName)
      • getAndStartAvroGenericStoreClient

        default <K,​V> AvroGenericStoreClient<K,​V> getAndStartAvroGenericStoreClient​(java.lang.String storeName,
                                                                                                VeniceStoreClientFactory.ClientConfigUpdater configUpdater)
        create a generic client along with customized client configs. This is only for sophisticated use cases. Do not use it if you are not familiar with these configs. e.g. client = veniceStoreClientFactory.getAndStartAvroGenericStoreClient(storeName, (config) -> config.setVsonClient(true));
        Returns:
      • getAndStartAvroSpecificStoreClient

        <K,​V extends org.apache.avro.specific.SpecificRecord> AvroSpecificStoreClient<K,​V> getAndStartAvroSpecificStoreClient​(java.lang.String storeName,
                                                                                                                                          java.lang.Class<V> specificRecordClass)
      • close

        void close()